GEMC
2.3
Geant4 Monte-Carlo Framework
Main Page
Namespaces
Data Structures
Files
File List
Globals
hitprocess
clas12
ecs_hitprocess.h
Go to the documentation of this file.
1
#ifndef ECS_HITPROCESS_H
2
#define ECS_HITPROCESS_H 1
3
4
// gemc headers
5
#include "
HitProcess.h
"
6
7
// ecs constants
8
// these are loaded with initWithRunNumber
9
class
ecsConstants
10
{
11
public
:
12
// runNo is mandatory variable to keep track of run number changes
13
int
runNo
;
14
15
double
NSTRIPS
;
// Number of strips
16
double
attlen
;
// Attenuation Length (mm)
17
double
TDC_time_to_channel
;
// conversion from time (ns) to TDC channels.
18
double
ECfactor
;
// number of p.e. divided by the energy deposited in MeV; value taken from gsim. see EC NIM paper table 1.
19
int
TDC_MAX
;
// max value for EC tdc.
20
double
ec_MeV_to_channel
;
// conversion from energy (MeV) to ADC channels
21
};
22
23
// Class definition
24
class
ecs_HitProcess
:
public
HitProcess
25
{
26
public
:
27
28
~ecs_HitProcess
(){;}
29
30
// constants initialized with initWithRunNumber
31
static
ecsConstants
ecc
;
32
33
void
initWithRunNumber(
int
runno);
34
35
// - integrateDgt: returns digitized information integrated over the hit
36
map<string, double> integrateDgt(
MHit
*,
int
);
37
38
// - multiDgt: returns multiple digitized information / hit
39
map< string, vector <int> > multiDgt(
MHit
*,
int
);
40
41
// The pure virtual method processID returns a (new) identifier
42
// containing hit sharing information
43
vector<identifier> processID(vector<identifier>, G4Step*,
detector
);
44
45
// creates the HitProcess
46
static
HitProcess
*
createHitClass
() {
return
new
ecs_HitProcess
;}
47
48
};
49
50
#endif
ecsConstants::runNo
int runNo
Definition:
ecs_hitprocess.h:13
HitProcess.h
ecsConstants
Definition:
ecs_hitprocess.h:9
ecsConstants::ECfactor
double ECfactor
Definition:
ecs_hitprocess.h:18
ecs_HitProcess::~ecs_HitProcess
~ecs_HitProcess()
Definition:
ecs_hitprocess.h:28
ecsConstants::ec_MeV_to_channel
double ec_MeV_to_channel
Definition:
ecs_hitprocess.h:20
ecs_HitProcess
Definition:
ecs_hitprocess.h:24
ecsConstants::TDC_MAX
int TDC_MAX
Definition:
ecs_hitprocess.h:19
detector
Definition:
detector.h:60
ecsConstants::TDC_time_to_channel
double TDC_time_to_channel
Definition:
ecs_hitprocess.h:17
ecsConstants::NSTRIPS
double NSTRIPS
Definition:
ecs_hitprocess.h:15
ecsConstants::attlen
double attlen
Definition:
ecs_hitprocess.h:16
MHit
Definition:
Hit.h:22
ecs_HitProcess::ecc
static ecsConstants ecc
Definition:
ecs_hitprocess.h:31
ecs_HitProcess::createHitClass
static HitProcess * createHitClass()
Definition:
ecs_hitprocess.h:46
HitProcess
Definition:
HitProcess.h:64
Generated on Wed Jul 6 2016 11:13:42 for GEMC by
1.8.11