72 static int HCID1 = -1;
97 if (thisVolume !=
"PMT1" && thisVolume !=
"PMT2")
121 G4cout <<
" POSITION (mm) : "
122 << HitPosition.
x()/
mm <<
" " << HitPosition.
y()/
mm <<
" " << HitPosition.
z()/
mm <<
G4endl;
135 static G4int HCID = -1;
virtual G4int GetCollectionID(G4int i)
G4int GetCollectionID(G4String colName)
G4double GetKineticEnergy() const
void EndOfEvent(G4HCofThisEvent *)
G4StepPoint * GetPreStepPoint() const
static constexpr double mm
void SetEnergy(G4double fEn)
void AddHitsCollection(G4int HCID, G4VHitsCollection *aHC)
G4THitsCollection< UltraOpticalHit > UltraOpticalHitsCollection
UltraOpticalHitsCollection * OpticalHitsCollection
G4String SensitiveDetectorName
G4ParticleDefinition * GetDefinition() const
void insert(G4String str)
const G4ThreeVector & GetPosition() const
static G4OpticalPhoton * Definition()
G4Track * GetTrack() const
static constexpr double eV
void SetPosition(G4ThreeVector xyz)
static G4SDManager * GetSDMpointer()
G4CollectionNameVector collectionName
G4GLOB_DLL std::ostream G4cout
void Initialize(G4HCofThisEvent *)
void SetTrackStatus(const G4TrackStatus aTrackStatus)
G4bool ProcessHits(G4Step *astep, G4TouchableHistory *ROHist)
const G4String & GetName() const
G4VPhysicalVolume * GetVolume() const