7 #ifndef PPS_PPSDiamondSD_h 8 #define PPS_PPSDiamondSD_h 25 class G4HCofThisEvent;
30 public Observer<const BeginOfEvent*>,
39 void Initialize(G4HCofThisEvent* HCE)
override;
40 void EndOfEvent(G4HCofThisEvent* eventHC)
override;
50 void update(const ::EndOfEvent*)
override;
53 G4ThreeVector
setToLocal(
const G4ThreeVector& globalPoint);
59 std::unique_ptr<TrackingSlaveSD>
slave_;
103 #endif // PPS_PPSDiamondSD_h G4VPhysicalVolume * currentPV_
G4ThreeVector setToLocal(const G4ThreeVector &globalPoint)
PPSDiamondG4Hit * currentHit_
void stepInfo(const G4Step *aStep)
std::unique_ptr< TrackingSlaveSD > slave_
std::unique_ptr< PPSVDetectorOrganization > numberingScheme_
G4ThreeVector theLocalEntryPoint_
void fillHits(edm::PSimHitContainer &, const std::string &) override
PPSDiamondSD(const std::string &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
G4ThreeVector theLocalExitPoint_
void clearHits() override
bool ProcessHits(G4Step *step, G4TouchableHistory *tHistory) override
void EndOfEvent(G4HCofThisEvent *eventHC) override
void Initialize(G4HCofThisEvent *HCE) override
void update(const BeginOfEvent *) override
This routine will be called when the appropriate signal arrives.
void storeHit(PPSDiamondG4Hit *)
uint32_t setDetUnitId(const G4Step *) override
PPSDiamondG4HitCollection * theHC_
G4THitsCollection< PPSDiamondG4Hit > PPSDiamondG4HitCollection
G4StepPoint * postStepPoint_
G4StepPoint * preStepPoint_
std::vector< PSimHit > PSimHitContainer