16 trackRef_( ref->trackRef() ),
21 throw cms::Exception(
"NullRef")<<
" PFBlockElementTrack constructed from a null reference to PFRecTrack.";
38 const char*
tab )
const {
47 string s =
" at vertex";
66 out<<tab<<setw(7)<<
"charge="<<setw(3)<<
charge;
68 out<<setiosflags(ios::right);
69 out<<setiosflags(ios::fixed);
70 out<<
", pT ="<<setw(7)<<pt;
71 out<<
", p ="<<setw(7)<<
p;
74 out<<trackphi<<
")" <<
s;
76 out<<resetiosflags(ios::right|ios::fixed);
Abstract base class for a PFBlock element (track, cluster...)
void Dump(std::ostream &out=std::cout, const char *tab=" ") const
print the object inside the element
const math::XYZPoint & position() const
cartesian position (x, y, z)
reco::TrackRef trackRef_
reference to the corresponding track
bool isNull() const
Checks for null.
bool isValid() const
is this point valid ?
virtual void setTrackType(TrackType trType, bool value)
the trackType
A PFTrack holds several trajectory points, which basically contain the position and momentum of a tra...
math::XYZPointF positionAtECALEntrance_
position at ECAL entrance