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
69 <<
"\tnumber of tracker measurements = " <<
track.nTrajectoryMeasurements() << endl;
70 for (
unsigned i = 0;
i <
track.trajectoryPoints().size();
i++)
71 out <<
track.trajectoryPoints()[
i] << endl;
const math::XYZTLorentzVector & momentum() const
4-momenta quadrivector
Base class for particle flow input reconstructed tracks and simulated particles.
ALPAKA_FN_HOST_ACC ALPAKA_FN_INLINE constexpr float charge(ConstView const &tracks, int32_t i)
bool isTrackerLayer() const
is this point corresponding to an intersection with a tracker layer ?
std::ostream & operator<<(std::ostream &, BeamSpot beam)
Point of closest approach from beam axis (initial point in the case of PFSimParticle) ...
void addPoint(const reco::PFTrajectoryPoint &trajPt)
std::vector< reco::PFTrajectoryPoint > trajectoryPoints_
vector of trajectory points
const reco::PFTrajectoryPoint & extrapolatedPoint(unsigned layerid) const
unsigned int nTrajectoryMeasurements() const
const math::XYZPoint & position() const
cartesian position (x, y, z)
static const unsigned int nMaxTrackingLayers_
maximal number of tracking layers
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