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