1 #ifndef PPS_TotemRPSD_h
2 #define PPS_TotemRPSD_h
23 class G4HCofThisEvent;
28 class TotemTestHitHBNtuple;
37 void Initialize(G4HCofThisEvent* HCE)
override;
38 void EndOfEvent(G4HCofThisEvent* eventHC)
override;
39 void clear()
override;
52 void update(const ::EndOfEvent*)
override;
56 std::unique_ptr<TrackingSlaveSD>
slave_;
62 G4ThreeVector
setToLocal(
const G4ThreeVector& globalPoint);
116 #endif // PPS_TotemRPSD_h
void fillHits(edm::PSimHitContainer &, const std::string &) override
G4THitsCollection< TotemRPG4Hit > TotemRPG4HitCollection
G4ThreeVector setToLocal(const G4ThreeVector &globalPoint)
G4VPhysicalVolume * currentPV_
std::unique_ptr< TotemRPVDetectorOrganization > numberingScheme_
void storeHit(TotemRPG4Hit *)
bool ProcessHits(G4Step *step, G4TouchableHistory *tHistory) override
TotemRPG4HitCollection * theHC_
G4ThreeVector entrancePoint_
static constexpr double rp_garage_position_
void stepInfo(const G4Step *aStep)
void clearHits() override
void Initialize(G4HCofThisEvent *HCE) override
void EndOfEvent(G4HCofThisEvent *eventHC) override
G4ThreeVector theLocalEntryPoint_
uint32_t setDetUnitId(const G4Step *step) override
G4StepPoint * postStepPoint_
void setNumberingScheme(TotemRPVDetectorOrganization *scheme)
G4StepPoint * preStepPoint_
G4ThreeVector theLocalExitPoint_
void resetForNewPrimary()
static constexpr unsigned int maxTotemHits_
TotemRPSD(const std::string &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
void update(const BeginOfEvent *) override
This routine will be called when the appropriate signal arrives.
std::vector< PSimHit > PSimHitContainer
bool isPrimary(const G4Track *track)
std::unique_ptr< TrackingSlaveSD > slave_
TotemRPG4Hit * currentHit_