2 #include "Math/GenVector/PositionVector3D.h" 61 throw cms::Exception(
"SizeError") <<
"PFRecTrack::extrapolatedPoint: cannot access " << layerid
79 out <<
"Track charge = " << track.
charge() <<
", Pt = " << closestApproach.
momentum().Pt()
80 <<
", P = " << closestApproach.
momentum().P() << endl
81 <<
"\tR0 = " << closestApproach.
position().Rho() <<
" Z0 = " << closestApproach.
position().Z() << endl
int color_
color (transient)
const math::XYZPoint & position() const
cartesian position (x, y, z)
Base class for particle flow input reconstructed tracks and simulated particles.
std::ostream & operator<<(std::ostream &, BeamSpot beam)
Point of closest approach from beam axis (initial point in the case of PFSimParticle) ...
bool isTrackerLayer() const
is this point corresponding to an intersection with a tracker layer ?
const std::vector< reco::PFTrajectoryPoint > & trajectoryPoints() const
const reco::PFTrajectoryPoint & extrapolatedPoint(unsigned layerid) const
void addPoint(const reco::PFTrajectoryPoint &trajPt)
std::vector< reco::PFTrajectoryPoint > trajectoryPoints_
vector of trajectory points
const math::XYZTLorentzVector & momentum() const
4-momenta quadrivector
const reco::PFTrajectoryPoint & trajectoryPoint(unsigned index) const
static const unsigned int nMaxTrackingLayers_
maximal number of tracking layers
void calculatePositionREP()
unsigned int nTrajectoryMeasurements() const
unsigned int indexOutermost_
index outermost tracker measurement
unsigned int indexInnermost_
index innermost tracker measurement
A PFTrack holds several trajectory points, which basically contain the position and momentum of a tra...