1 #include "HGCal/TBStandaloneSimulator/interface/HGCSSGenParticle.hh"
8 void HGCSSGenParticle::Print(std::ostream & aOs)
const
10 aOs << std::setprecision(6)
11 <<
"====================================" << std::endl
12 <<
" = time " << time_ <<
" ns" << std::endl
13 <<
" = position " << xpos_ <<
" " << ypos_ <<
" " << zpos_ <<
" mm" << std::endl
14 <<
" = Mass " << mass_ <<
" MeV" << std::endl
15 <<
" = momentum " << px_ <<
" " << py_ <<
" " << pz_ <<
" MeV" << std::endl
16 <<
" = pdgid " << pdgid_ << std::endl
17 <<
" = charge " << charge_ << std::endl
18 <<
" = G4trackID " << trackID_ << std::endl
19 <<
"====================================" << std::endl;
22 void HGCSSGenParticle::Print(
const unsigned idx,
23 std::ostream & aOs)
const
25 aOs << std::setprecision(6)
26 <<
"========= GenParticle " << idx <<
" =========" << std::endl;