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 
11 
12 #include "G4Track.hh"
13 
14 #include <iostream>
15 #include <fstream>
16 #include <vector>
17 
18 class G4Step;
19 class G4HCofThisEvent;
20 
22 public:
23  explicit HFChamberSD(const std::string&,
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:
40  G4int theHCID;
42  int theNSteps;
43 };
44 
45 #endif
HFChamberSD::clearHits
void clearHits() override
Definition: HFChamberSD.cc:84
SimTrackManager
Definition: SimTrackManager.h:35
MessageLogger.h
SensitiveCaloDetector.h
HFShowerG4HitsCollection
G4THitsCollection< HFShowerG4Hit > HFShowerG4HitsCollection
Definition: HFShowerG4Hit.h:55
HFShowerG4Hit.h
HFChamberSD::HFChamberSD
HFChamberSD(const std::string &, const SensitiveDetectorCatalog &, const SimTrackManager *)
Definition: HFChamberSD.cc:21
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:41
HFChamberSD::setDetUnitId
uint32_t setDetUnitId(const G4Step *) override
Definition: HFChamberSD.cc:86
HFChamberSD::fillHits
void fillHits(edm::PCaloHitContainer &, const std::string &) override
Definition: HFChamberSD.cc:91
HFChamberSD::theHCID
G4int theHCID
Definition: HFChamberSD.h:40
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HFChamberSD::theNSteps
int theNSteps
Definition: HFChamberSD.h:42
HFChamberSD::DrawAll
void DrawAll() override
Definition: HFChamberSD.cc:80
Frameworkfwd.h
HFChamberSD
Definition: HFChamberSD.h:21
SimTrackManager.h
HFChamberSD::PrintAll
void PrintAll() override
Definition: HFChamberSD.cc:82
edm::PCaloHitContainer
std::vector< PCaloHit > PCaloHitContainer
Definition: PCaloHitContainer.h:8
ParameterSetfwd.h
HFChamberSD::ProcessHits
G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist) override
Definition: HFChamberSD.cc:39
HFChamberSD::EndOfEvent
void EndOfEvent(G4HCofThisEvent *HCE) override
Definition: HFChamberSD.cc:73
HFChamberSD::clear
void clear() override
Definition: HFChamberSD.cc:78