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;
60 std::vector<std::string>
getNames()
override;
65 void update(const ::EndOfEvent *)
override;
70 G4ThreeVector
SetToLocal(
const G4ThreeVector& global);
G4ThreeVector hitPointExit
void ResetForNewPrimary()
void Initialize(G4HCofThisEvent *HCE) override
G4ThreeVector theEntryPoint
BHMNumberingScheme * numberingScheme
G4StepPoint * preStepPoint
BHMSD(std::string, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
G4ThreeVector hitPointLocal
type of data representation of DDCompactView
virtual double getEnergyDeposit(G4Step *step)
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 &, std::string use) override
G4ThreeVector SetToLocal(const G4ThreeVector &global)
void GetStepInfo(G4Step *aStep)
std::vector< std::string > getNames() override
G4ThreeVector hitPointLocalExit
std::vector< PSimHit > PSimHitContainer
G4VPhysicalVolume * currentPV
uint32_t setDetUnitId(G4Step *) override
G4THitsCollection< BscG4Hit > BscG4HitCollection
void StoreHit(BscG4Hit *)
bool ProcessHits(G4Step *, G4TouchableHistory *) override