Go to the source code of this file.
◆ operator<<()
std::ostream& operator<< |
( |
std::ostream & |
s, |
|
|
MtdSimCluster const & |
tp |
|
) |
| |
Definition at line 27 of file MtdSimCluster.cc.
References alignCSCRings::s, and cmsswSequenceInfo::tp.
28 s <<
"CP momentum, q, ID, & Event #: " <<
tp.p4() <<
" " <<
tp.charge() <<
" " <<
tp.pdgId() <<
" " 29 <<
tp.eventId().bunchCrossing() <<
"." <<
tp.eventId().event() << std::endl;
32 s <<
" HepMC Track Momentum " << (*hepT)->momentum().rho() << std::endl;
36 s <<
" Geant Track Momentum " << g4T->momentum() << std::endl;
37 s <<
" Geant Track ID & type " << g4T->trackId() <<
" " << g4T->type() << std::endl;
38 if (g4T->type() !=
tp.pdgId()) {
39 s <<
" Mismatch b/t MtdSimCluster and Geant types" << std::endl;
42 s <<
" # of cells = " <<
tp.hits_.size()
43 <<
", effective cells = " << std::accumulate(
tp.fractions_.begin(),
tp.fractions_.end(), 0.f) << std::endl;
std::vector< SimTrack >::const_iterator g4t_iterator