102 if ((edep/
keV == 0.))
return false;
116 if (ACDTileName ==
"ACT" )
133 (*AnticoincidenceCollection)
134 [
HitTopID[ACDTileNumber]]->AddEnergy(edep);
138 if (ACDTileName ==
"ACL1")
155 (*AnticoincidenceCollection)
160 if (ACDTileName ==
"ACL2")
177 (*AnticoincidenceCollection)
188 static G4int HCID = -1;
G4int GetCollectionID(G4String colName)
static G4RunManager * GetRunManager()
~GammaRayTelAnticoincidenceSD()
const G4VTouchable * GetTouchable() const
G4THitsCollection< GammaRayTelAnticoincidenceHit > GammaRayTelAnticoincidenceHitsCollection
G4StepPoint * GetPreStepPoint() const
static constexpr double keV
G4int NbOfACDLateralTiles
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
void AddEnergy(G4double de)
G4String SensitiveDetectorName
void Initialize(G4HCofThisEvent *)
G4bool ProcessHits(G4Step *astep, G4TouchableHistory *)
void SetPos(G4ThreeVector xyz)
GammaRayTelAnticoincidenceSD(G4String)
void insert(G4String str)
G4VPhysicalVolume * GetVolume(G4int depth=0) const
const G4ThreeVector & GetPosition() const
G4int GetNbOfACDLateralTiles() const
G4double GetTotalEnergyDeposit() const
virtual G4int GetCopyNo() const =0
GammaRayTelDetectorConstruction * Detector
void EndOfEvent(G4HCofThisEvent *)
static G4SDManager * GetSDMpointer()
G4CollectionNameVector collectionName
G4int GetNbOfACDTopTiles() const
G4GLOB_DLL std::ostream G4cout
void SetACDTileNumber(G4int i)
GammaRayTelAnticoincidenceHitsCollection * AnticoincidenceCollection
const G4VUserDetectorConstruction * GetUserDetectorConstruction() const
const G4String & GetName() const