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