Go to the documentation of this file.
7 #ifndef PPS_PPSDiamondSD_h
8 #define PPS_PPSDiamondSD_h
27 class G4HCofThisEvent;
32 public Observer<const BeginOfEvent*>,
39 void Initialize(G4HCofThisEvent* HCE)
override;
40 void EndOfEvent(G4HCofThisEvent* eventHC)
override;
41 void clear()
override;
54 void update(const ::EndOfEvent*)
override;
57 std::unique_ptr<TrackingSlaveSD>
slave_;
63 G4ThreeVector
setToLocal(
const G4ThreeVector& globalPoint);
105 #endif // PPS_PPSDiamondSD_h
void storeHit(PPSDiamondG4Hit *)
G4THitsCollection< PPSDiamondG4Hit > PPSDiamondG4HitCollection
void stepInfo(const G4Step *aStep)
PPSDiamondSD(const std::string &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
static constexpr unsigned int maxDiamondHits_
void fillHits(edm::PSimHitContainer &, const std::string &) override
void clearTrack(G4Track *Track)
G4ThreeVector theLocalExitPoint_
G4ThreeVector theLocalEntryPoint_
void resetForNewPrimary()
bool ProcessHits(G4Step *step, G4TouchableHistory *tHistory) override
PPSDiamondG4Hit * currentHit_
void EndOfEvent(G4HCofThisEvent *eventHC) override
G4ThreeVector setToLocal(const G4ThreeVector &globalPoint)
void setNumberingScheme(PPSVDetectorOrganization *scheme)
std::unique_ptr< PPSVDetectorOrganization > numberingScheme_
G4StepPoint * preStepPoint_
PPSDiamondG4HitCollection * theHC_
void update(const BeginOfEvent *) override
This routine will be called when the appropriate signal arrives.
bool isPrimary(const G4Track *track)
G4VPhysicalVolume * currentPV_
G4ThreeVector entrancePoint_
std::unique_ptr< TrackingSlaveSD > slave_
std::vector< PSimHit > PSimHitContainer
G4StepPoint * postStepPoint_
void Initialize(G4HCofThisEvent *HCE) override
uint32_t setDetUnitId(const G4Step *step) override
void clearHits() override