CMS 3D CMS Logo

ZdcSD.h
Go to the documentation of this file.
1 // File: ZdcSD.h
3 // Date: 02.04
4 // Description: Stores hits of Zdc in appropriate container
5 //
7 #ifndef ZdcSD_h
8 #define ZdcSD_h
14 
15 class ZdcSD : public CaloSD {
16 public:
18 
19  ~ZdcSD() override = default;
20 
21  uint32_t setDetUnitId(const G4Step *step) override;
22 
24 
25 protected:
26  double getEnergyDeposit(const G4Step *) override;
27  bool getFromLibrary(const G4Step *) override;
28  void initRun() override;
29 
30 private:
31  int verbosity;
33  double thFibDir;
35 
36  std::unique_ptr<ZdcShowerLibrary> showerLibrary;
37  std::unique_ptr<ZdcNumberingScheme> numberingScheme;
38  std::vector<ZdcShowerLibrary::Hit> hits;
39 };
40 
41 #endif // ZdcSD_h
void setNumberingScheme(ZdcNumberingScheme *scheme)
Definition: ZdcSD.cc:313
double thFibDir
Definition: ZdcSD.h:33
std::unique_ptr< ZdcNumberingScheme > numberingScheme
Definition: ZdcSD.h:37
Definition: CaloSD.h:40
int verbosity
Definition: ZdcSD.h:31
std::vector< ZdcShowerLibrary::Hit > hits
Definition: ZdcSD.h:38
bool useShowerHits
Definition: ZdcSD.h:32
~ZdcSD() override=default
ZdcSD(const std::string &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
Definition: ZdcSD.cc:30
void initRun() override
Definition: ZdcSD.cc:64
std::unique_ptr< ZdcShowerLibrary > showerLibrary
Definition: ZdcSD.h:36
double zdcHitEnergyCut
Definition: ZdcSD.h:34
step
Definition: StallMonitor.cc:98
bool getFromLibrary(const G4Step *) override
Definition: ZdcSD.cc:66
Definition: ZdcSD.h:15
uint32_t setDetUnitId(const G4Step *step) override
Definition: ZdcSD.cc:309
bool useShowerLibrary
Definition: ZdcSD.h:32
double getEnergyDeposit(const G4Step *) override
Definition: ZdcSD.cc:120