Go to the documentation of this file. 1 #ifndef SimG4CMS_ShowerLibraryProducer_FiberSD_h
2 #define SimG4CMS_ShowerLibraryProducer_FiberSD_h
24 class G4HCofThisEvent;
29 public Observer<const BeginOfEvent *>,
30 public Observer<const EndOfEvent *> {
39 void Initialize(G4HCofThisEvent *HCE)
override;
40 G4bool
ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist)
override;
41 void EndOfEvent(G4HCofThisEvent *HCE)
override;
42 void clear()
override;
54 void update(const ::EndOfEvent *)
override;
FiberSD(const std::string &, const edm::EventSetup &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
void update(const BeginOfJob *) override
This routine will be called when the appropriate signal arrives.
FiberG4HitsCollection * theHC
void EndOfEvent(G4HCofThisEvent *HCE) override
void fillHits(edm::PCaloHitContainer &, const std::string &) override
const SimTrackManager * m_trackManager
G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist) override
void clearHits() override
std::vector< PCaloHit > PCaloHitContainer
G4THitsCollection< FiberG4Hit > FiberG4HitsCollection
uint32_t setDetUnitId(const G4Step *) override
void Initialize(G4HCofThisEvent *HCE) override