Sensitive detector. More...
#include <Par04ParallelFastSensitiveDetector.hh>
Public Member Functions | |
Par04ParallelFastSensitiveDetector (G4String aName) | |
Par04ParallelFastSensitiveDetector (G4String aName, G4int aNbOfLayers, G4int aNbOfSlices) | |
virtual | ~Par04ParallelFastSensitiveDetector () |
virtual void | Initialize (G4HCofThisEvent *HCE) final |
Create hit collection. | |
virtual G4bool | ProcessHits (G4Step *aStep, G4TouchableHistory *aROhist) final |
Process energy deposit from the full simulation. | |
virtual G4bool | ProcessHits (const G4FastHit *aHit, const G4FastTrack *aTrack, G4TouchableHistory *aROhist) final |
virtual void | EndOfEvent (G4HCofThisEvent *aHC) final |
Public Member Functions inherited from G4VFastSimSensitiveDetector | |
G4bool | Hit (const G4FastHit *aHit, const G4FastTrack *aTrack, G4TouchableHandle *aTouchable) |
Private Attributes | |
Par04HitsCollection * | fHitsCollection = nullptr |
Collection of hits. | |
std::unordered_map< G4int, std::unique_ptr< Par04Hit > > | fHitsMap |
G4int | fHitCollectionID = -1 |
ID of collection of hits. | |
G4int | fNbOfLayers = 1 |
Number of readout cells. | |
G4int | fNbOfSlices = 1 |
Sensitive detector.
Definition at line 50 of file Par04ParallelFastSensitiveDetector.hh.
Par04ParallelFastSensitiveDetector::Par04ParallelFastSensitiveDetector | ( | G4String | aName | ) |
Definition at line 52 of file Par04ParallelFastSensitiveDetector.cc.
Par04ParallelFastSensitiveDetector::Par04ParallelFastSensitiveDetector | ( | G4String | aName, |
G4int | aNbOfLayers, | ||
G4int | aNbOfSlices | ||
) |
Definition at line 59 of file Par04ParallelFastSensitiveDetector.cc.
|
virtualdefault |
|
finalvirtual |
Create hit collection.
Definition at line 75 of file Par04ParallelFastSensitiveDetector.cc.
|
finalvirtual |
Process energy deposit from the full simulation.
Definition at line 86 of file Par04ParallelFastSensitiveDetector.cc.
|
finalvirtual |
Implements G4VFastSimSensitiveDetector.
Definition at line 92 of file Par04ParallelFastSensitiveDetector.cc.
|
finalvirtual |
Definition at line 138 of file Par04ParallelFastSensitiveDetector.cc.
|
private |
Collection of hits.
Definition at line 70 of file Par04ParallelFastSensitiveDetector.hh.
|
private |
Definition at line 71 of file Par04ParallelFastSensitiveDetector.hh.
|
private |
ID of collection of hits.
Definition at line 73 of file Par04ParallelFastSensitiveDetector.hh.
|
private |
Number of readout cells.
Definition at line 75 of file Par04ParallelFastSensitiveDetector.hh.
|
private |
Definition at line 76 of file Par04ParallelFastSensitiveDetector.hh.