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
SimTrackManager
Definition: SimTrackManager.h:35
ZdcSD::setNumberingScheme
void setNumberingScheme(ZdcNumberingScheme *scheme)
Definition: ZdcSD.cc:305
ZdcSD::thFibDir
double thFibDir
Definition: ZdcSD.h:33
ZdcSD::numberingScheme
std::unique_ptr< ZdcNumberingScheme > numberingScheme
Definition: ZdcSD.h:37
ZdcSD::hits
std::vector< ZdcShowerLibrary::Hit > hits
Definition: ZdcSD.h:38
step
step
Definition: StallMonitor.cc:94
ZdcSD::useShowerHits
bool useShowerHits
Definition: ZdcSD.h:32
ZdcSD::verbosity
int verbosity
Definition: ZdcSD.h:31
ZdcNumberingScheme
Definition: ZdcNumberingScheme.h:13
ZdcShowerLibrary.h
ZdcSD
Definition: ZdcSD.h:15
SensitiveDetectorCatalog
Definition: SensitiveDetectorCatalog.h:10
edm::ParameterSet
Definition: ParameterSet.h:47
CaloSD.h
ZdcSD::ZdcSD
ZdcSD(const std::string &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
Definition: ZdcSD.cc:29
ZdcNumberingScheme.h
ZdcSD::~ZdcSD
~ZdcSD() override=default
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
generator_cfi.scheme
scheme
Definition: generator_cfi.py:22
Frameworkfwd.h
ZdcSD::setDetUnitId
uint32_t setDetUnitId(const G4Step *step) override
Definition: ZdcSD.cc:301
ParameterSetfwd.h
ZdcSD::zdcHitEnergyCut
double zdcHitEnergyCut
Definition: ZdcSD.h:34
ZdcSD::initRun
void initRun() override
Definition: ZdcSD.cc:63
ZdcSD::useShowerLibrary
bool useShowerLibrary
Definition: ZdcSD.h:32
ZdcSD::showerLibrary
std::unique_ptr< ZdcShowerLibrary > showerLibrary
Definition: ZdcSD.h:36
ZdcSD::getEnergyDeposit
double getEnergyDeposit(const G4Step *) override
Definition: ZdcSD.cc:119
CaloSD
Definition: CaloSD.h:39
ZdcSD::getFromLibrary
bool getFromLibrary(const G4Step *) override
Definition: ZdcSD.cc:65