1 #ifndef SimG4CMS_ShowerLibraryProducer_HFShowerG4Hit_h 2 #define SimG4CMS_ShowerLibraryProducer_HFShowerG4Hit_h 8 #include "G4THitsCollection.hh" 9 #include "G4Allocator.hh" 10 #include "G4ThreeVector.hh" 11 #include "G4LogicalVolume.hh" 24 inline void*
operator new(size_t);
25 inline void operator delete(
void* aHit);
42 inline void setLocalPos(
const G4ThreeVector& xyz) { localPos = xyz; }
43 inline void setGlobalPos(
const G4ThreeVector& xyz) { globalPos = xyz; }
G4ThreeVector primaryMomDir() const
const HFShowerG4Hit & operator=(const HFShowerG4Hit &right)
void setLocalPos(const G4ThreeVector &xyz)
~HFShowerG4Hit() override
G4ThreadLocal G4Allocator< HFShowerG4Hit > * fHFShowerG4HitAllocator
G4int operator==(const HFShowerG4Hit &right) const
G4ThreeVector localPosition() const
void setEnergy(G4double edep)
void setTrackId(G4int trackId)
void setHitId(G4int hitId)
void setPrimMomDir(const G4ThreeVector &xyz)
void setGlobalPos(const G4ThreeVector &xyz)
G4ThreeVector globalPosition() const
void updateEnergy(G4double edep)
G4THitsCollection< HFShowerG4Hit > HFShowerG4HitsCollection