32 s <<
"CP momentum, q, ID, & Event #: " <<
tp.p4() <<
" " <<
tp.charge() <<
" " <<
tp.pdgId() <<
" " 33 <<
tp.eventId().bunchCrossing() <<
"." <<
tp.eventId().event() << std::endl;
36 s <<
" HepMC Track Momentum " << (*hepT)->momentum().rho() << std::endl;
40 s <<
" Geant Track Momentum " << g4T->momentum() << std::endl;
41 s <<
" Geant Track ID & type " << g4T->trackId() <<
" " << g4T->type() << std::endl;
42 if (g4T->type() !=
tp.pdgId()) {
43 s <<
" Mismatch b/t SimCluster and Geant types" << std::endl;
46 s <<
" # of cells = " <<
tp.hits_.size()
47 <<
", effective cells = " << std::accumulate(
tp.fractions_.begin(),
tp.fractions_.end(), 0.f) << std::endl;
void addG4Track(const SimTrack &t)
std::vector< SimTrack >::const_iterator g4t_iterator
const math::XYZTLorentzVectorD & momentum() const
EncodedEventId eventId() const
std::ostream & operator<<(std::ostream &s, SimCluster const &tp)
Monte Carlo truth information used for tracking validation.
unsigned int trackId() const
static const unsigned int longLivedTag
long lived flag
math::XYZTLorentzVectorF theMomentum_