71 eBeam = (float)(energy);
74 LogDebug(
"SimHCalData") <<
"PHcalTB06Info::setPrimary: nPrimary " <<
nPrimary <<
" partID " <<
idBeam <<
" initE "
83 LogDebug(
"SimHCalData") <<
"PHcalTB06Info::setEdep: simEtot " <<
simEtot <<
" simEEc " <<
simEEc <<
" simEHc "
92 newHit.
eta = (float)(eta);
93 newHit.
phi = (float)(phi);
94 newHit.
e = (float)(e);
95 newHit.
t = (float)(t);
96 hits.push_back(newHit);
103 int evNum,
int type,
double x,
double y,
double z,
double u,
double v,
double w,
double px,
double py,
double pz) {
106 double r =
sqrt(x * x + y * y + z * z);
117 LogDebug(
"SimHCalData") <<
"PHcalTB06Info::setVtxPrim: EvNum " <<
v1EvNum <<
" Type " <<
v1Type <<
" X/Y/Z/R " <<
v1X
118 <<
"/" <<
v1Y <<
"/" <<
v1Z <<
"/" <<
v1R <<
" Px/Py/Pz " <<
v1Px <<
"/" <<
v1Py <<
"/"
128 newVtx.
px = (float)(px);
129 newVtx.
py = (float)(py);
130 newVtx.
pz = (float)(pz);
131 newVtx.
eKin = (float)(ek);
132 v1Sec.push_back(newVtx);
133 LogDebug(
"SimHCalData") <<
"PHcalTB06Info::setVtxSec " <<
v1Nsec <<
" ID " <<
v1Sec[ns].trackID <<
" PDG Code "
134 <<
v1Sec[ns].partID <<
" Px/Py/Pz/Ek " <<
v1Sec[ns].px <<
"/" <<
v1Sec[ns].py <<
"/"
uint16_t *__restrict__ id
void setEdep(double simtot, double sime, double simh)
void setVtxPrim(int evNum, int type, double x, double y, double z, double u, double v, double w, double px, double py, double pz)
uint16_t const *__restrict__ x
void setVtxSec(int id, int pdg, double px, double py, double pz, double ek)
void saveHit(unsigned int det, double eta, double phi, double e, double t)
void setPrimary(int primary, int id, double energy, double eta, double phi)