GEMC  2.3
Geant4 Monte-Carlo Framework
BMT_hitprocess.h
Go to the documentation of this file.
1 #ifndef BMT_HITPROCESS_H
2 #define BMT_HITPROCESS_H 1
3 
8 
9 
10 // gemc headers
11 #include "HitProcess.h"
12 #include "bmt_strip.h"
13 
14 // Class definition
15 
42 
43 // Veronique Ziegler (Dec. 3 2015)
44 // M. Ungaro (Jan. 26 2016)
45 
46 class BMT_HitProcess : public HitProcess
47 {
48  public:
49 
51 
52  // - integrateDgt: returns digitized information integrated over the hit
53  map<string, double> integrateDgt(MHit*, int);
54 
55  // - multiDgt: returns multiple digitized information / hit
56  map< string, vector <int> > multiDgt(MHit*, int);
57 
58  // The pure virtual method processID returns a (new) identifier
59  // containing hit sharing information
60  vector<identifier> processID(vector<identifier>, G4Step*, detector);
61 
62  // creates the HitProcess
63  static HitProcess *createHitClass() {return new BMT_HitProcess;}
64 
65 
66  private:
67 
68  // constants initialized with initWithRunNumber
69  static bmtConstants bmtc;
70 
71  double fieldScale;
72 
73  void initWithRunNumber(int runno);
74 };
75 
76 #endif
static HitProcess * createHitClass()
map< string, vector< int > > multiDgt(MHit *, int)
vector< identifier > processID(vector< identifier >, G4Step *, detector)
Definition: Hit.h:22
map< string, double > integrateDgt(MHit *, int)