Go to the documentation of this file.
10 "BeamPipeOrEndVertex",
26 : isTrackerLayer_(
false), detId_(detId),
layer_(
layer), posxyz_(posxyz), momentum_(momentum) {
33 : isTrackerLayer_(
other.isTrackerLayer_),
36 posxyz_(
other.posxyz_),
37 posrep_(
other.posrep_),
38 momentum_(
other.momentum_) {}
64 out <<
"Traj point id = " << trajPoint.
detId() <<
", layer = " << trajPoint.
layer() <<
", Eta,Phi = " << posxyz.Eta()
65 <<
"," << posxyz.Phi() <<
", X,Y = " << posxyz.X() <<
"," << posxyz.Y() <<
", R,Z = " << posxyz.Rho() <<
","
66 << posxyz.Z() <<
", E,Pt = " << trajPoint.
momentum().E() <<
"," << trajPoint.
momentum().Pt();
const math::XYZTLorentzVector & momentum() const
4-momenta quadrivector
math::XYZPoint posxyz_
cartesian position (x, y, z)
int layer() const
trajectory point layer
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
bool isTrackerLayer_
Is the measurement corresponding to a tracker layer? or was it obtained by propagating the track to a...
math::XYZTLorentzVector momentum_
momentum quadrivector
constexpr std::array< uint8_t, layerIndexSize > layer
XYZPointD XYZPoint
point in space with cartesian internal representation
const math::XYZPoint & position() const
cartesian position (x, y, z)
static const std::array< std::string, NLayers > layerTypeNames
LayerType
Define the different layers where the track can be propagated.
std::ostream & operator<<(std::ostream &, BeamSpot beam)
static LayerType layerTypeByName(const std::string &name)
REPPoint posrep_
position in (rho, eta, phi) base (transient)
virtual ~PFTrajectoryPoint()
destructor
int detId() const
measurement detId
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
PFTrajectoryPoint()
default constructor. Set variables at default dummy values
A PFTrack holds several trajectory points, which basically contain the position and momentum of a tra...
static const char layer_[]
bool operator==(const reco::PFTrajectoryPoint &other) const