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 public:
15  ZdcSD(const std::string &,
16  const edm::EventSetup &,
18  edm::ParameterSet const &,
19  const SimTrackManager *);
20 
21  ~ZdcSD() override = default;
22 
23  uint32_t setDetUnitId(const G4Step *step) override;
24 
26 
27 protected:
28  double getEnergyDeposit(const G4Step *) override;
29  bool getFromLibrary(const G4Step *) override;
30  void initRun() override;
31 
32 private:
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 #endif // ZdcSD_h
SimTrackManager
Definition: SimTrackManager.h:35
ZdcSD::setNumberingScheme
void setNumberingScheme(ZdcNumberingScheme *scheme)
Definition: ZdcSD.cc:286
ZdcSD::thFibDir
double thFibDir
Definition: ZdcSD.h:35
ZdcSD::numberingScheme
std::unique_ptr< ZdcNumberingScheme > numberingScheme
Definition: ZdcSD.h:39
ZdcSD::hits
std::vector< ZdcShowerLibrary::Hit > hits
Definition: ZdcSD.h:40
step
step
Definition: StallMonitor.cc:94
ZdcSD::useShowerHits
bool useShowerHits
Definition: ZdcSD.h:34
ZdcSD::ZdcSD
ZdcSD(const std::string &, const edm::EventSetup &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
Definition: ZdcSD.cc:25
ZdcSD::verbosity
int verbosity
Definition: ZdcSD.h:33
ZdcNumberingScheme
Definition: ZdcNumberingScheme.h:13
ZdcShowerLibrary.h
ZdcSD
Definition: ZdcSD.h:13
SensitiveDetectorCatalog
Definition: SensitiveDetectorCatalog.h:10
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:36
CaloSD.h
ZdcNumberingScheme.h
ZdcSD::~ZdcSD
~ZdcSD() override=default
edm::EventSetup
Definition: EventSetup.h:57
generator_cfi.scheme
scheme
Definition: generator_cfi.py:22
ZdcSD::setDetUnitId
uint32_t setDetUnitId(const G4Step *step) override
Definition: ZdcSD.cc:282
ZdcSD::zdcHitEnergyCut
double zdcHitEnergyCut
Definition: ZdcSD.h:36
ZdcSD::initRun
void initRun() override
Definition: ZdcSD.cc:60
ZdcSD::useShowerLibrary
bool useShowerLibrary
Definition: ZdcSD.h:34
ZdcSD::showerLibrary
std::unique_ptr< ZdcShowerLibrary > showerLibrary
Definition: ZdcSD.h:38
ZdcSD::getEnergyDeposit
double getEnergyDeposit(const G4Step *) override
Definition: ZdcSD.cc:113
CaloSD
Definition: CaloSD.h:38
ZdcSD::getFromLibrary
bool getFromLibrary(const G4Step *) override
Definition: ZdcSD.cc:62