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
12 
13 class ZdcSD : public CaloSD {
14 
15 public:
17  edm::ParameterSet const &,const SimTrackManager*);
18 
19  ~ZdcSD() override = default;
20 
21  uint32_t setDetUnitId(const G4Step* step) override;
22 
24 
25 protected:
26 
27  double getEnergyDeposit(const G4Step*) override;
28  bool getFromLibrary(const G4Step*) override;
29  void initRun() override;
30 
31 private:
32 
33  int verbosity;
35  double thFibDir;
37 
38  std::unique_ptr<ZdcShowerLibrary> showerLibrary;
39  std::unique_ptr<ZdcNumberingScheme> numberingScheme;
40  std::vector<ZdcShowerLibrary::Hit> hits;
41 
42 };
43 
44 #endif // ZdcSD_h
void setNumberingScheme(ZdcNumberingScheme *scheme)
Definition: ZdcSD.cc:312
double thFibDir
Definition: ZdcSD.h:35
std::unique_ptr< ZdcNumberingScheme > numberingScheme
Definition: ZdcSD.h:39
Definition: CaloSD.h:37
int verbosity
Definition: ZdcSD.h:33
std::vector< ZdcShowerLibrary::Hit > hits
Definition: ZdcSD.h:40
bool useShowerHits
Definition: ZdcSD.h:34
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:83
ZdcSD(const std::string &, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
Definition: ZdcSD.cc:23
~ZdcSD() override=default
void initRun() override
Definition: ZdcSD.cc:63
std::unique_ptr< ZdcShowerLibrary > showerLibrary
Definition: ZdcSD.h:38
double zdcHitEnergyCut
Definition: ZdcSD.h:36
step
bool getFromLibrary(const G4Step *) override
Definition: ZdcSD.cc:67
Definition: ZdcSD.h:13
uint32_t setDetUnitId(const G4Step *step) override
Definition: ZdcSD.cc:308
bool useShowerLibrary
Definition: ZdcSD.h:34
double getEnergyDeposit(const G4Step *) override
Definition: ZdcSD.cc:120