37#include "G4GFlashSpot.hh"
39#include "G4TouchableHistory.hh"
40#include "G4VPhysicalVolume.hh"
41#include "G4VTouchable.hh"
50 G4String caloname =
"ExGflashCollection";
51 collectionName.insert(caloname);
63 fHCID = GetCollectionID(0);
78 G4double e = aStep->GetTotalEnergyDeposit();
79 if (e <= 0.)
return false;
89 caloHit->SetPos(aStep->GetPreStepPoint()->GetPosition());
96 for (
int i = 0; i < 100; i++)
100 caloHit->SetCrystalNum(crystalnum);
110 G4double e = aSpot->GetEnergySpot()->GetEnergy();
111 if (e <= 0.)
return false;
117 caloHit->SetPos(aSpot->GetEnergySpot()->GetPosition());
123 G4int crystalnum = 0;
124 for (
int i = 0; i < 100; i++)
128 caloHit->SetCrystalNum(crystalnum);
Definition of the ExGflash3DetectorConstruction class.
Definition of the ExGflash3ParallelWorld class.
Definition of the ExGflash3SensitiveDetector class.
Definition of the ExGflashHit class.
const G4VPhysicalVolume * GetCristal(int aNumCrystal)
ExGflash3ParallelWorld * fDetector
~ExGflash3SensitiveDetector() override
G4bool ProcessHits(G4Step *, G4TouchableHistory *) override
void EndOfEvent(G4HCofThisEvent *) override
void Initialize(G4HCofThisEvent *) override
ExGflashHitsCollection * fCaloHitsCollection
ExGflash3SensitiveDetector(G4String, ExGflash3ParallelWorld *det)