13 :
PFBlockElement(TRACK), trackRefPF_(ref), trackRef_(ref->trackRef()), trackType_(0) {
15 throw cms::Exception(
"NullRef") <<
" PFBlockElementTrack constructed from a null reference to PFRecTrack.";
35 string s =
" at vertex";
53 out << setprecision(0);
54 out << tab << setw(7) <<
"charge=" << setw(3) <<
charge;
55 out << setprecision(3);
56 out << setiosflags(ios::right);
57 out << setiosflags(ios::fixed);
58 out <<
", pT =" << setw(7) <<
pt;
59 out <<
", p =" << setw(7) <<
p;
60 out <<
" (eta,phi)= (";
61 out << tracketa <<
",";
62 out << trackphi <<
")" <<
s;
64 out << resetiosflags(ios::right | ios::fixed);
Abstract base class for a PFBlock element (track, cluster...)
const math::XYZPoint & position() const
cartesian position (x, y, z)
reco::TrackRef trackRef_
reference to the corresponding track
void setTrackType(TrackType trType, bool value) override
the trackType
bool isNull() const
Checks for null.
void Dump(std::ostream &out=std::cout, const char *tab=" ") const override
print the object inside the element
bool isValid() const
is this point valid ?
A PFTrack holds several trajectory points, which basically contain the position and momentum of a tra...
math::XYZPointF positionAtECALEntrance_
position at ECAL entrance