Message: Re: Readout optical photons Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

More Re: Readout optical photons 

Forum: Hits, Digitization and Pileup
Re: Question Readout optical photons (Lafont Fabien)
Re: None Re: Readout optical photons (Tsukasa Aso)
Date: 07 Jul, 2013
From: Lafont Fabien <Lafont Fabien>


I tried to follow the Optical/Lxe example where sensitive detector is called specifically from a UserSteppingAction class.

Nevertheless, I found another way to pass through this difficulty but I am still wondering about the reason which could explain that my readout geometry did not work. The sensitive detector is called at the right time (I check the volume each time) but the touchable seems to return 0 in any case which I cannot understand.

Do you think I should call the touchable only in the sensitive detector by implementing a method : ProcessHits_constStep(G4double edep, const G4Step* aStep,G4VPhysicalVolume volume) { ... G4TouchableHistory* TH volume->GetTouchable(); G4int CopyX = TH->GetReplicaNumber(0); G4int CopyY = TH->GetReplicaNumber(1); ...

 Add Message Add Message
to: "Re: Readout optical photons"

 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 ]