1 #ifndef Forward_TimingSD_h 2 #define Forward_TimingSD_h 22 class G4VPhysicalVolume;
35 bool ProcessHits(G4Step*, G4TouchableHistory*)
override;
37 void Initialize(G4HCofThisEvent* HCE)
override;
38 void EndOfEvent(G4HCofThisEvent* eventHC)
override;
51 void setCuts(
double eCut,
double historyCut);
59 void setToLocal(
const G4StepPoint* stepPoint,
const G4ThreeVector& globalPoint, G4ThreeVector& localPoint);
void setTimeFactor(double)
void EndOfEvent(G4HCofThisEvent *eventHC) override
void clearHits() override
const G4ThreeVector & getGlobalEntryPoint() const
G4ThreeVector hitPointLocal
void fillHits(edm::PSimHitContainer &, const std::string &) override
virtual bool checkHit(const G4Step *, BscG4Hit *)
G4ThreeVector hitPointLocalExit
void createNewHit(const G4Step *)
void setCuts(double eCut, double historyCut)
void setToLocal(const G4StepPoint *stepPoint, const G4ThreeVector &globalPoint, G4ThreeVector &localPoint)
TimingSD(const std::string &, const SensitiveDetectorCatalog &, const SimTrackManager *)
void storeHit(BscG4Hit *)
void getStepInfo(const G4Step *)
void update(const BeginOfEvent *) override
This routine will be called when the appropriate signal arrives.
const G4ThreeVector & getLocalEntryPoint() const
bool ProcessHits(G4Step *, G4TouchableHistory *) override
G4ProcessTypeEnumerator * theEnumerator
bool hitExists(const G4Step *)
const G4StepPoint * preStepPoint
const G4StepPoint * postStepPoint
BscG4HitCollection * theHC
virtual int getTrackID(const G4Track *)
const SimTrackManager * theManager
std::vector< PSimHit > PSimHitContainer
G4THitsCollection< BscG4Hit > BscG4HitCollection
void Initialize(G4HCofThisEvent *HCE) override
G4ThreeVector hitPointExit