Message: How to apply time cut? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question How to apply time cut? 

Forum: Event and Track Management
Date: 11 Nov, 2008
From: Angela Lucaci-Timoce <Angela Lucaci-Timoce>

Hello, I wonder what is the best method to reject particles which come later than a certain time t (this is to take into account time window of the electronics, since signals coming later may not be all detected, hence decreasing the efficiency).

I'm aware of 2 possibilities:

a) set uTimeMax in G4UserLimits

b) reject later particle in the sensitive detector's ProcesHits, something like:

 G4double hitTime = aStep->GetPostStepPoint()->GetGlobalTime();
 if (hitTime > myTimeLimit) return true...

Could you please tell me which is the best way to implement this?

Thank you in advance for your time, Angela

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

1 Feedback: Re: How to apply time cut?   (Gumplinger Peter - 11 Nov, 2008)
(_ More: Re: How to apply time cut?   (Chibueze Zimuzo - 12 May, 2010)
(_ Feedback: Re: How to apply time cut?   (Gumplinger Peter - 12 May, 2010)
 Add Message Add Message
to: "How to apply time cut?"

 Subscribe Subscribe

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


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]