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