5 #include "CLHEP/Units/PhysicalConstants.h" 10 map<string, double> dgtz;
11 vector<identifier> identity = aHit->
GetId();
12 int thisPid = aHit->
GetPID();
13 double totEnergy = aHit->
GetE();
15 if(thisPid == 11 || thisPid == -11) totEnergy -= electron_mass_c2;
17 dgtz[
"detId"] = identity[0].id;
18 dgtz[
"kinE"] = totEnergy;
19 dgtz[
"pid"] = thisPid;
27 id[
id.size()-1].id_sharing = 1;
34 map< string, vector <int> > MH;
map< string, vector< int > > multiDgt(MHit *, int)
vector< identifier > GetId()
vector< identifier > processID(vector< identifier >, G4Step *, detector)
map< string, double > integrateDgt(MHit *, int)