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