49 G4String caloname=
"ExGflashCollection";
63 fCaloHitsCollection=
new
78 if(e<=0.)
return false;
90 fCaloHitsCollection->
insert(caloHit);
94 for(
int i=0;i<100;i++)
96 if(physVol == fDetector->
GetCristal(i)) crystalnum= i;
109 if(e<=0.)
return false;
116 fCaloHitsCollection->
insert(caloHit);
120 for(
int i=0;i<100;i++)
122 if(pCurrentVolume == fDetector->
GetCristal(i)) crystalnum= i;
const G4VPhysicalVolume * GetCristal(int num__crystal)
G4String SensitiveDetectorName
G4TouchableHandle GetTouchableHandle() const
ExGflashSensitiveDetector(G4String, ExGflashDetectorConstruction *det)
virtual void Initialize(G4HCofThisEvent *)
G4VPhysicalVolume * GetVolume(G4int depth=0) const
const GFlashEnergySpot * GetEnergySpot() const
const G4VTouchable * GetTouchable() const
virtual G4bool ProcessHits(G4Step *, G4TouchableHistory *)
G4double GetEnergy() const
void SetCrystalNum(G4int num)
virtual G4int GetCollectionID(G4int i)
G4StepPoint * GetPreStepPoint() const
~ExGflashSensitiveDetector()
void insert(G4String str)
virtual void EndOfEvent(G4HCofThisEvent *)
const G4ThreeVector & GetPosition() const
G4double GetTotalEnergyDeposit() const
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
Definition of the ExGflashHit class.
G4THitsCollection< ExGflashHit > ExGflashHitsCollection
Definition of the ExGflashSensitiveDetector class.
virtual G4VPhysicalVolume * GetVolume(G4int depth=0) const
G4CollectionNameVector collectionName
Definition of the ExGflashDetectorConstruction class.
void SetEdep(G4double de)
G4ThreeVector GetPosition() const
void SetPos(G4ThreeVector xyz)