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