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
13 
14 class ZdcSD : public CaloSD {
15 public:
17 
18  ~ZdcSD() override = default;
19 
20  uint32_t setDetUnitId(const G4Step *step) override;
21 
22 protected:
23  double getEnergyDeposit(const G4Step *) override;
24  bool getFromLibrary(const G4Step *) override;
25  void initRun() override;
26 
27 private:
28  int verbosity;
30  double thFibDir;
32 
33  std::unique_ptr<ZdcShowerLibrary> showerLibrary;
34  std::vector<ZdcShowerLibrary::Hit> hits;
35 };
36 
37 #endif // ZdcSD_h
double thFibDir
Definition: ZdcSD.h:30
Definition: CaloSD.h:40
int verbosity
Definition: ZdcSD.h:28
std::vector< ZdcShowerLibrary::Hit > hits
Definition: ZdcSD.h:34
bool useShowerHits
Definition: ZdcSD.h:29
~ZdcSD() override=default
ZdcSD(const std::string &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
Definition: ZdcSD.cc:31
void initRun() override
Definition: ZdcSD.cc:63
std::unique_ptr< ZdcShowerLibrary > showerLibrary
Definition: ZdcSD.h:33
double zdcHitEnergyCut
Definition: ZdcSD.h:31
step
Definition: StallMonitor.cc:98
bool getFromLibrary(const G4Step *) override
Definition: ZdcSD.cc:65
Definition: ZdcSD.h:14
uint32_t setDetUnitId(const G4Step *step) override
Definition: ZdcSD.cc:304
bool useShowerLibrary
Definition: ZdcSD.h:29
double getEnergyDeposit(const G4Step *) override
Definition: ZdcSD.cc:119