2 #include "Math/GenVector/PositionVector3D.h"
23 : charge_(other.charge_),
24 trajectoryPoints_(other.trajectoryPoints_),
25 indexInnermost_(other.indexInnermost_),
26 indexOutermost_(other.indexOutermost_) {}
49 throw cms::Exception(
"SizeError") <<
"PFRecTrack::extrapolatedPoint: cannot access " << layerid
66 out <<
"Track charge = " << track.
charge() <<
", Pt = " << closestApproach.
momentum().Pt()
67 <<
", P = " << closestApproach.
momentum().P() << endl
68 <<
"\tR0 = " << closestApproach.
position().Rho() <<
" Z0 = " << closestApproach.
position().Z() << endl
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
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...
Log< level::Warning, false > LogWarning