37 TVector3 jetDir3(jetDir.x(),jetDir.y(),jetDir.z());
46 }
else if (packed_candidate && packed_candidate->hasTrackDetails()) {
49 track_ptr = &(packed_candidate->pseudoTrack());
76 double trackMag =
std::sqrt(trackMom.Mag2());
77 TVector3 trackMom3(trackMom.x(),trackMom.y(),trackMom.z());
void buildTrackInfo(const reco::Candidate *candidate, const math::XYZVector &jetDir, GlobalVector refjetdirection, const reco::Vertex &pv)
double etaRel(const math::XYZVector &dir, const math::XYZVector &track)
reco::TransientTrack build(const reco::Track *p) const
edm::ESHandle< TransientTrackBuilder > builder_
TrackInfoBuilder(edm::ESHandle< TransientTrackBuilder > &build)
virtual double p() const =0
magnitude of momentum vector
constexpr auto deltaR(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
double significance() const
virtual double eta() const =0
momentum pseudorapidity
XYZVectorD XYZVector
spatial vector with cartesian internal representation
virtual Vector momentum() const =0
spatial momentum vector
Particle reconstructed by the particle flow algorithm.
const reco::Track * bestTrack() const override