1 #ifndef SimG4CMSForward_FastTimerSD_h 2 #define SimG4CMSForward_FastTimerSD_h 18 #include "G4StepPoint.hh" 20 #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;
66 void update(const ::EndOfEvent *)
override;
71 G4ThreeVector
SetToLocal(
const G4ThreeVector& global);
G4ThreeVector hitPointExit
G4ThreeVector SetToLocalExit(const G4ThreeVector &globalPoint)
G4ThreeVector theEntryPoint
virtual double getEnergyDeposit(G4Step *step)
uint32_t setDetUnitId(G4Step *) override
type of data representation of DDCompactView
void update(const BeginOfJob *) override
This routine will be called when the appropriate signal arrives.
const FastTimeDDDConstants * ftcons
G4ThreeVector SetToLocal(const G4ThreeVector &global)
FastTimerSD(std::string, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
void clearHits() override
G4StepPoint * postStepPoint
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
std::maps an index to a DDValue. The index corresponds to the index assigned to the name of the std::...
const SimTrackManager * theManager
G4ThreeVector hitPointLocalExit
G4VPhysicalVolume * currentPV
void ResetForNewPrimary()
void StoreHit(BscG4Hit *)
std::vector< std::string > getNames() override
G4ThreeVector hitPointLocal
BscG4HitCollection * theHC
G4StepPoint * preStepPoint
void EndOfEvent(G4HCofThisEvent *eventHC) override
G4ThreeVector entrancePoint
std::vector< double > getDDDArray(const std::string &, const DDsvalues_type &)
G4ThreeVector theExitPoint
void fillHits(edm::PSimHitContainer &, std::string use) override
std::vector< PSimHit > PSimHitContainer
G4THitsCollection< BscG4Hit > BscG4HitCollection
void Initialize(G4HCofThisEvent *HCE) override
bool ProcessHits(G4Step *, G4TouchableHistory *) override
void GetStepInfo(G4Step *aStep)