CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
void clear() override
Definition: HFChamberSD.cc:78
std::vector< PCaloHit > PCaloHitContainer
void clearHits() override
Definition: HFChamberSD.cc:84
HFChamberSD(const std::string &, const SensitiveDetectorCatalog &, const SimTrackManager *)
Definition: HFChamberSD.cc:21
~HFChamberSD() override
Definition: HFChamberSD.cc:28
uint32_t setDetUnitId(const G4Step *) override
Definition: HFChamberSD.cc:86
HFShowerG4HitsCollection * theHC
Definition: HFChamberSD.h:41
void Initialize(G4HCofThisEvent *HCE) override
Definition: HFChamberSD.cc:30
void fillHits(edm::PCaloHitContainer &, const std::string &) override
Definition: HFChamberSD.cc:91
void PrintAll() override
Definition: HFChamberSD.cc:82
G4int theHCID
Definition: HFChamberSD.h:40
G4bool ProcessHits(G4Step *aStep, G4TouchableHistory *ROhist) override
Definition: HFChamberSD.cc:39
void EndOfEvent(G4HCofThisEvent *HCE) override
Definition: HFChamberSD.cc:73
void DrawAll() override
Definition: HFChamberSD.cc:80
G4THitsCollection< HFShowerG4Hit > HFShowerG4HitsCollection
Definition: HFShowerG4Hit.h:55