30 trackJetDistSig_(0) {}
36 TVector3 jetDir3(jetDir.x(), jetDir.y(), jetDir.z());
40 auto packed_candidate = dynamic_cast<const pat::PackedCandidate *>(candidate);
41 auto pf_candidate = dynamic_cast<const reco::PFCandidate *>(candidate);
43 track_ptr = pf_candidate->bestTrack();
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());