GEMC  2.2
Geant4 Monte-Carlo Framework
dc_hitprocess.h
Go to the documentation of this file.
1 #ifndef DC_HITPROCESS_H
2 #define DC_HITPROCESS_H 1
3 
4 // gemc headers
5 #include "HitProcess.h"
6 
7 // CLHEP units
8 #include "CLHEP/Units/PhysicalConstants.h"
9 using namespace CLHEP;
10 
11 // Class definition
12 class dc_HitProcess : public HitProcess
13 {
14  public:
15 
17 
18  // initialize private vars
20  {
21  mini_stagger_shift_R2 = gemcOpt.optMap["DC_MSTAG_R2"].arg*mm; // Mini Stagger shift for Region 2
22  mini_stagger_shift_R3 = gemcOpt.optMap["DC_MSTAG_R3"].arg*mm; // Mini Stagger shift for Region 3
23 
24  NWIRES = 113;
25  }
26 
27  // - integrateDgt: returns digitized information integrated over the hit
28  map<string, double> integrateDgt(MHit*, int);
29 
30  // - multiDgt: returns multiple digitized information / hit
31  map< string, vector <int> > multiDgt(MHit*, int);
32 
33  // The pure virtual method processID returns a (new) identifier
34  // containing hit sharing information
35  vector<identifier> processID(vector<identifier>, G4Step*, detector);
36 
37  // creates the HitProcess
38  static HitProcess *createHitClass() {return new dc_HitProcess;}
39 
40 
41  private:
42  double mini_stagger_shift_R2; // Mini Stagger shift for Region 2
43  double mini_stagger_shift_R3; // Mini Stagger shift for Region 3
44 
45  double NWIRES;
46 
47 };
48 
49 #endif
Definition: Hit.h:22
static HitProcess * createHitClass()
Definition: dc_hitprocess.h:38