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  virtual ~ZdcSD();
21  virtual bool ProcessHits(G4Step * step,G4TouchableHistory * tHistory);
22  virtual uint32_t setDetUnitId(G4Step* step);
23  virtual double getEnergyDeposit(G4Step*, edm::ParameterSet const &);
24 
26  void getFromLibrary(G4Step * step);
27 
28 
29 protected:
30  virtual void initRun();
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 ~ZdcSD()
Definition: ZdcSD.cc:61
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
virtual void initRun()
Definition: ZdcSD.cc:70
void getFromLibrary(G4Step *step)
Definition: ZdcSD.cc:98
virtual bool ProcessHits(G4Step *step, G4TouchableHistory *tHistory)
Definition: ZdcSD.cc:78
double zdcHitEnergyCut
Definition: ZdcSD.h:37
int setTrackID(G4Step *step)
Definition: ZdcSD.cc:427
step
Definition: ZdcSD.h:14
virtual uint32_t setDetUnitId(G4Step *step)
Definition: ZdcSD.cc:411
bool useShowerLibrary
Definition: ZdcSD.h:34
ZdcShowerLibrary * showerLibrary
Definition: ZdcSD.h:38