5 #include "CLHEP/Units/PhysicalConstants.h" 10 map<string, double> dgtz;
11 vector<identifier> identity = aHit->
GetId();
13 int idx = identity[0].id;
14 int idy = identity[1].id;
15 int idz = identity[2].id;
22 double dLeft = length + tInfos.
lx;
23 double dRight = length - tInfos.
lx;
26 int adcl = (int) (100*tInfos.
eTot*exp(-dLeft/length/2 ));
27 int adcr = (int) (100*tInfos.
eTot*exp(-dRight/length/2 ));
30 int tdcl = (int) (100*(tInfos.
time/ns + dLeft/cm/30.0));
31 int tdcr = (int) (100*(tInfos.
time/ns + dRight/cm/30.0));
47 id[
id.size()-1].id_sharing = 1;
56 map< string, vector <int> > MH;
vector< identifier > GetId()
vector< identifier > processID(vector< identifier >, G4Step *, detector)
map< string, vector< int > > multiDgt(MHit *, int)
map< string, double > integrateDgt(MHit *, int)
vector< double > dimensions
vector of dimensions. Size, units depends on solid type