1 #ifndef SimG4CMSForward_BHMSD_h 2 #define SimG4CMSForward_BHMSD_h 17 #include "G4StepPoint.hh" 19 #include "G4VPhysicalVolume.hh" 37 public Observer<const BeginOfEvent*>,
48 bool ProcessHits(G4Step *,G4TouchableHistory *)
override;
51 void Initialize(G4HCofThisEvent * HCE)
override;
52 void EndOfEvent(G4HCofThisEvent * eventHC)
override;
53 void clear()
override;
65 void update(const ::EndOfEvent *)
override;
67 G4ThreeVector
SetToLocal(
const G4ThreeVector& global);
G4ThreeVector hitPointExit
void ResetForNewPrimary()
BHMSD(const std::string &, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
void Initialize(G4HCofThisEvent *HCE) override
G4ThreeVector theEntryPoint
BHMNumberingScheme * numberingScheme
G4StepPoint * preStepPoint
G4ThreeVector hitPointLocal
type of data representation of DDCompactView
void EndOfEvent(G4HCofThisEvent *eventHC) override
G4ThreeVector SetToLocalExit(const G4ThreeVector &globalPoint)
void update(const BeginOfRun *) override
This routine will be called when the appropriate signal arrives.
G4ThreeVector theExitPoint
G4ThreeVector entrancePoint
const SimTrackManager * theManager
void clearHits() override
G4StepPoint * postStepPoint
BscG4HitCollection * theHC
void fillHits(edm::PSimHitContainer &, const std::string &) override
G4ThreeVector SetToLocal(const G4ThreeVector &global)
void GetStepInfo(G4Step *aStep)
uint32_t setDetUnitId(const G4Step *) override
double getEnergyDeposit(const G4Step *step)
G4ThreeVector hitPointLocalExit
std::vector< PSimHit > PSimHitContainer
G4VPhysicalVolume * currentPV
G4THitsCollection< BscG4Hit > BscG4HitCollection
void StoreHit(BscG4Hit *)
bool ProcessHits(G4Step *, G4TouchableHistory *) override