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