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