CMS 3D CMS Logo

HFChamberSD.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_ShowerLibraryProducer_HFChamberSD_h
2 #define SimG4CMS_ShowerLibraryProducer_HFChamberSD_h
3 
6 
9 
10 #include "G4Track.hh"
11 
12 #include <iostream>
13 #include <fstream>
14 #include <vector>
15 
16 class G4Step;
17 class G4HCofThisEvent;
18 
20 public:
21  explicit HFChamberSD(const std::string&,
22  const edm::EventSetup&,
24  const edm::ParameterSet&,
25  const SimTrackManager*);
26  ~HFChamberSD() override;
27 
28  void Initialize(G4HCofThisEvent* HCE) override;
29  G4bool ProcessHits(G4Step* aStep, G4TouchableHistory* ROhist) override;
30  void EndOfEvent(G4HCofThisEvent* HCE) override;
31  void clear() override;
32  void DrawAll() override;
33  void PrintAll() override;
34 
35  void clearHits() override;
36  uint32_t setDetUnitId(const G4Step*) override;
37  void fillHits(edm::PCaloHitContainer&, const std::string&) override;
38 
39 private:
41 
42  G4int theHCID;
44  int theNSteps;
45 };
46 
47 #endif
HFChamberSD::clearHits
void clearHits() override
Definition: HFChamberSD.cc:87
SimTrackManager
Definition: SimTrackManager.h:35
MessageLogger.h
SensitiveCaloDetector.h
HFShowerG4HitsCollection
G4THitsCollection< HFShowerG4Hit > HFShowerG4HitsCollection
Definition: HFShowerG4Hit.h:55
HFShowerG4Hit.h
SensitiveCaloDetector
Definition: SensitiveCaloDetector.h:10
HFChamberSD::~HFChamberSD
~HFChamberSD() override
Definition: HFChamberSD.cc:28
HFChamberSD::Initialize
void Initialize(G4HCofThisEvent *HCE) override
Definition: HFChamberSD.cc:30
SensitiveDetectorCatalog
Definition: SensitiveDetectorCatalog.h:10
HFChamberSD::theHC
HFShowerG4HitsCollection * theHC
Definition: HFChamberSD.h:43
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HFChamberSD::setDetUnitId
uint32_t setDetUnitId(const G4Step *) override
Definition: HFChamberSD.cc:89
HFChamberSD::fillHits
void fillHits(edm::PCaloHitContainer &, const std::string &) override
Definition: HFChamberSD.cc:94
HFChamberSD::theHCID
G4int theHCID
Definition: HFChamberSD.h:42
edm::ParameterSet
Definition: ParameterSet.h:47
edm::EventSetup
Definition: EventSetup.h:58
HFChamberSD::theNSteps
int theNSteps
Definition: HFChamberSD.h:44
HFChamberSD::DrawAll
void DrawAll() override
Definition: HFChamberSD.cc:83
HFChamberSD
Definition: HFChamberSD.h:19
HFChamberSD::m_trackManager
const SimTrackManager * m_trackManager
Definition: HFChamberSD.h:40
SimTrackManager.h
HFChamberSD::PrintAll
void PrintAll() override
Definition: HFChamberSD.cc:85
edm::PCaloHitContainer
std::vector< PCaloHit > PCaloHitContainer
Definition: PCaloHitContainer.h:8
HFChamberSD::ProcessHits
G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist) override
Definition: HFChamberSD.cc:40
HFChamberSD::EndOfEvent
void EndOfEvent(G4HCofThisEvent *HCE) override
Definition: HFChamberSD.cc:76
HFChamberSD::clear
void clear() override
Definition: HFChamberSD.cc:81
HFChamberSD::HFChamberSD
HFChamberSD(const std::string &, const edm::EventSetup &, const SensitiveDetectorCatalog &, const edm::ParameterSet &, const SimTrackManager *)
Definition: HFChamberSD.cc:19