1 #ifndef RecoBTag_DeepFlavour_TrackInfoBuilder_h 2 #define RecoBTag_DeepFlavour_TrackInfoBuilder_h 41 TVector3 jetDir3(jetDir.x(),jetDir.y(),jetDir.z());
50 }
else if (packed_candidate && packed_candidate->hasTrackDetails()) {
53 track_ptr = &(packed_candidate->pseudoTrack());
80 double trackMag =
std::sqrt(trackMom.Mag2());
81 TVector3 trackMom3(trackMom.x(),trackMom.y(),trackMom.z());
145 #endif //RecoBTag_DeepFlavour_TrackInfoBuilder_h
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
const float getTrackEta() const
const float getTrackMomentum() const
const float getTrackEtaRel() const
const float getTrackDeltaR() const
const float getTrackPParRatio() const
edm::ESHandle< TransientTrackBuilder > builder_
const float getTrackSip2dSig() const
const float getTrackPPar() const
TrackInfoBuilder(edm::ESHandle< TransientTrackBuilder > &build)
const float getTrackPtRatio() const
auto deltaR(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
virtual double p() const =0
magnitude of momentum vector
const float getTrackSip3dVal() const
const float getTrackJetDistVal() const
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 float getTrackJetDistSig() const
const float getTrackPtRel() const
const float getTrackSip2dVal() const
const reco::Track * bestTrack() const override
const float getTrackSip3dSig() const