1 #ifndef Forward_TimingSD_h 2 #define Forward_TimingSD_h 22 class G4VPhysicalVolume;
30 public Observer<const BeginOfEvent *>{
40 bool ProcessHits(G4Step *,G4TouchableHistory *)
override;
42 void Initialize(G4HCofThisEvent * HCE)
override;
43 void EndOfEvent(G4HCofThisEvent * eventHC)
override;
57 void setCuts(
double eCut,
double historyCut);
66 const G4ThreeVector& globalPoint, G4ThreeVector& localPoint);
void setTimeFactor(double)
void EndOfEvent(G4HCofThisEvent *eventHC) override
void clearHits() override
G4ThreeVector hitPointLocal
void fillHits(edm::PSimHitContainer &, const std::string &) override
const G4ThreeVector & getLocalEntryPoint() const
virtual bool checkHit(const G4Step *, BscG4Hit *)
G4ThreeVector hitPointLocalExit
void createNewHit(const G4Step *)
void setCuts(double eCut, double historyCut)
Compact representation of the geometrical detector hierarchy.
void setToLocal(const G4StepPoint *stepPoint, const G4ThreeVector &globalPoint, G4ThreeVector &localPoint)
void storeHit(BscG4Hit *)
void getStepInfo(const G4Step *)
void update(const BeginOfEvent *) override
This routine will be called when the appropriate signal arrives.
bool ProcessHits(G4Step *, G4TouchableHistory *) override
G4ProcessTypeEnumerator * theEnumerator
bool hitExists(const G4Step *)
const G4ThreeVector & getGlobalEntryPoint() const
const G4StepPoint * preStepPoint
TimingSD(const std::string &, const DDCompactView &, const SensitiveDetectorCatalog &, const edm::ParameterSet &, const SimTrackManager *)
const G4StepPoint * postStepPoint
BscG4HitCollection * theHC
const SimTrackManager * theManager
std::vector< PSimHit > PSimHitContainer
G4THitsCollection< BscG4Hit > BscG4HitCollection
void Initialize(G4HCofThisEvent *HCE) override
G4ThreeVector hitPointExit