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 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
TotemRPSD(const std::string &, const edm::EventSetup &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
TotemRPG4HitCollection * theHC_
G4ThreeVector entrancePoint_
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_
static unsigned int maxTotemHits_
static double rp_garage_position_
G4ThreeVector theLocalExitPoint_
void resetForNewPrimary()
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_