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 #undef debug
13 
14 class ZdcSD : public CaloSD {
15 
16 public:
18  edm::ParameterSet const &,const SimTrackManager*);
19 
20  ~ZdcSD() override;
21  bool ProcessHits(G4Step * step,G4TouchableHistory * tHistory) override;
22  uint32_t setDetUnitId(const G4Step* step) override;
23  double getEnergyDeposit(const G4Step*, edm::ParameterSet const &);
24 
26  void getFromLibrary(G4Step * step);
27 
28 protected:
29  void initRun() override;
30 private:
31 
32  int verbosity;
34  int setTrackID(G4Step * step);
35  double thFibDir;
39 
40  std::vector<ZdcShowerLibrary::Hit> hits;
41 
42 };
43 
44 #endif // ZdcSD_h
void setNumberingScheme(ZdcNumberingScheme *scheme)
Definition: ZdcSD.cc:415
double thFibDir
Definition: ZdcSD.h:35
Definition: CaloSD.h:42
int verbosity
Definition: ZdcSD.h:32
std::vector< ZdcShowerLibrary::Hit > hits
Definition: ZdcSD.h:40
ZdcNumberingScheme * numberingScheme
Definition: ZdcSD.h:38
bool useShowerHits
Definition: ZdcSD.h:33
type of data representation of DDCompactView
Definition: DDCompactView.h:90
ZdcSD(const std::string &, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *)
Definition: ZdcSD.cc:23
~ZdcSD() override
Definition: ZdcSD.cc:61
bool ProcessHits(G4Step *step, G4TouchableHistory *tHistory) override
Definition: ZdcSD.cc:78
void getFromLibrary(G4Step *step)
Definition: ZdcSD.cc:98
void initRun() override
Definition: ZdcSD.cc:70
double getEnergyDeposit(const G4Step *, edm::ParameterSet const &)
Definition: ZdcSD.cc:182
double zdcHitEnergyCut
Definition: ZdcSD.h:36
int setTrackID(G4Step *step)
Definition: ZdcSD.cc:424
step
Definition: ZdcSD.h:14
uint32_t setDetUnitId(const G4Step *step) override
Definition: ZdcSD.cc:411
bool useShowerLibrary
Definition: ZdcSD.h:33
ZdcShowerLibrary * showerLibrary
Definition: ZdcSD.h:37