Message: G4Timer, dead-time of detector Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question G4Timer, dead-time of detector 

Forum: Event and Track Management
Date: 19 May, 2017
From: <Synthex>

Dear all,

Since Geant4 can deal with radioactive decay and time, I wanted to simulate a common set-up: 
-An amount of uranium is left to decay
-A sensitive detector (aluminium tube filled with some gas) detects alphas if they satisfied an LET threshold

How to implement a simple dead-time function (eg, no track is accepted during 3ms after a valid triggering)?

the «skeleton» could be the following:

if ( edep > eThreshold ){ // condition for the detector to pulse

if ( myTimer isValid){  //if the timer is activated
G4double elapsedTimeSinceLastParticle = myTimer->GetRealElapsed  //we retrieve the time since last valid event
}
if (elapsedTimeSinceLastParticle > deadTimeDetector){  //if the event happens after the dead time
newHit->SetEnergyDeposited;  //fill an histogram or anything
myTimer->Stop(); //stops the timer
myTimer->Start();  //reinitialize it, to start counting from this new event
}
else
newHit->SetMissedEnergyDeposited  //fill an histogram with the event missed
}

This is of course not working, i am looking for advices or former codes implementing this, if possible via SensitiveDetector and Hits method.

It would be interesting in the future to propose such basic setup in the novice example, since any detector faces dead time.

Thank you 

Maxime

 Add Message Add Message
to: "G4Timer, dead-time of detector"

 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 ]