Message: Re: Time characteristics of the scintillation pulse Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Time characteristics of the scintillation pulse 

Forum: Processes Involving Optical Photons
Re: Question Time characteristics of the scintillation pulse (Clarisse)
Re: Feedback Re: Time characteristics of the scintillation pulse (Gumplinger Peter)
Re: Question Re: Time characteristics of the scintillation pulse (Chibueze Zimuzo)
Re: Feedback Re: Time characteristics of the scintillation pulse (Gumplinger Peter)
Date: 10 Sep, 2010
From: Chibueze Zimuzo <Chibueze Zimuzo>

Hi Peter,

I am able to extract the time of interaction in the scintillator, but I'm having problems getting the propagation time of the photon to the detector (PMT). I added the following lines in the PMTHit class:

G4double pmtTime = aStep->GetPreStepPoint()->GetGlobalTime(); <--

  if(hit==NULL){//this pmt wasnt previously hit in this event
    hit = new CCPMTHit(); //so create new hit
    hit->SetPMTNumber(pmtNumber);
    hit->SetPMTPhysVol(physVol);
    hit->SetPMTTime(pmtTime);  <--
    pmtHitCollection->insert(hit);
    hit->SetPMTPos((*pmtPositionsX)[pmtNumber],(*pmtPositionsY)[pmtNumber],
		   (*pmtPositionsZ)[pmtNumber]);
  }

But has been getting NAN in my output file.

I modified the Stepping Action class and my eventUserInformation and still got NAN.I presume that these assumptions are wrong. Any help from you will be appreaciated.

Chibueze.

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

1 Feedback: Re: Time characteristics of the scintillation pulse   (Gumplinger Peter - 15 Sep, 2010)
 Add Message Add Message
to: "Re: Time characteristics of the scintillation pulse"

 Subscribe Subscribe

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