Message: Optical Photon spectrum in two scintillators Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Sad Optical Photon spectrum in two scintillators 

Forum: Processes Involving Optical Photons
Date: 20 Jun, 2014
From: Amit Kumar <Amit Kumar>

Helo everyone

I have modified OpNovice example to see spectrum of optical photons in two scintillators GOS and CsI which centres are at (0,0,0) and (-4.0mm,0,0). I have wriiten following lines in "Classify New Track" method of G4StackingAction class

if(aTrack->GetDefinition() == G4OpticalPhoton::OpticalPhotonDefinition())
     if(aTrack->GetCreatorProcess()->GetProcessName() == "Scintillation")
	     G4double ge1 = (aTrack->GetKineticEnergy())/MeV;

	      G4double ge2 = (aTrack->GetKineticEnergy())/MeV;

Means if vertex position of optical photon is at x < -2.0mm then it will count in spectrum of CsI and if x> 0.0 then it will count in spectrum of GOS. Is it true?? But after simulation I get the same spectrum with same value of Counter1 and Counter2.

Can any one tell me what is going to be wrong here so that I am not geting different spectrum of the two scintillators which all optical properties are defined in G4Detector construction class differently??

Any kind of assistance will be appreciable. Thanks

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Feedback: Re: Optical Photon spectrum in two scintillators   (Gumplinger Peter - 24 Jun, 2014)
 Add Message Add Message
to: "Optical Photon spectrum in two scintillators"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews