2 #ifndef FP420_FP420SD_h
3 #define FP420_FP420SD_h
26 #include "G4StepPoint.hh"
28 #include "G4VPhysicalVolume.hh"
46 public Observer<const BeginOfEvent*>,
53 bool ProcessHits(G4Step*, G4TouchableHistory*)
override;
56 void Initialize(G4HCofThisEvent* HCE)
override;
57 void EndOfEvent(G4HCofThisEvent* eventHC)
override;
58 void clear()
override;
69 void update(const ::EndOfEvent*)
override;
71 G4ThreeVector
SetToLocal(
const G4ThreeVector& global);
G4ThreeVector theExitPoint
G4ThreeVector SetToLocalExit(const G4ThreeVector &globalPoint)
virtual double getEnergyDeposit(G4Step *step)
G4ThreeVector hitPointExit
G4StepPoint * preStepPoint
void ResetForNewPrimary()
void clearHits() override
G4ThreeVector theEntryPoint
void GetStepInfo(G4Step *aStep)
void fillHits(edm::PSimHitContainer &, const std::string &) override
FP420G4HitCollection * theHC
void update(const BeginOfRun *) override
This routine will be called when the appropriate signal arrives.
uint32_t setDetUnitId(const G4Step *) override
G4THitsCollection< FP420G4Hit > FP420G4HitCollection
G4VPhysicalVolume * currentPV
void Initialize(G4HCofThisEvent *HCE) override
G4ThreeVector hitPointLocalExit
FP420NumberingScheme * numberingScheme
bool ProcessHits(G4Step *, G4TouchableHistory *) override
FP420SD(const std::string &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
G4ThreeVector SetToLocal(const G4ThreeVector &global)
G4ThreeVector entrancePoint
std::vector< PSimHit > PSimHitContainer
const SimTrackManager * theManager
G4StepPoint * postStepPoint
G4ThreeVector hitPointLocal
void StoreHit(FP420G4Hit *)
void EndOfEvent(G4HCofThisEvent *eventHC) override