1 #ifndef SimG4CMS_ShowerLibraryProducer_HFWedgeSD_h 2 #define SimG4CMS_ShowerLibraryProducer_HFWedgeSD_h 10 #include "G4VPhysicalVolume.hh" 16 class G4HCofThisEvent;
27 void Initialize(G4HCofThisEvent* HCE)
override;
29 void EndOfEvent(G4HCofThisEvent* eventHC)
override;
30 void clear()
override;
48 std::map<int, HFShowerG4Hit*>
hitMap;
std::vector< PCaloHit > PCaloHitContainer
HFWedgeSD(const std::string &, const edm::EventSetup &cpv, const SensitiveDetectorCatalog &clg, edm::ParameterSet const &p, const SimTrackManager *)
void updateHit(HFShowerG4Hit *)
void Initialize(G4HCofThisEvent *HCE) override
bool ProcessHits(G4Step *step, G4TouchableHistory *tHistory) override
void fillHits(edm::PCaloHitContainer &, const std::string &) override
std::map< int, HFShowerG4Hit * > hitMap
const SimTrackManager * m_trackManager
void clearHits() override
HFShowerG4HitsCollection * theHC
void EndOfEvent(G4HCofThisEvent *eventHC) override
uint32_t setDetUnitId(const G4Step *) override
HFShowerG4Hit * currentHit
HFShowerG4Hit * createNewHit()
G4THitsCollection< HFShowerG4Hit > HFShowerG4HitsCollection