18 sv_features.
pt =
sv.pt();
22 sv_features.
eta =
sv.eta();
23 sv_features.
phi =
sv.phi();
24 sv_features.
e =
sv.energy();
25 sv_features.
px =
sv.px();
26 sv_features.
py =
sv.py();
27 sv_features.
pz =
sv.pz();
29 sv_features.
mass =
sv.mass();
30 sv_features.
ntracks =
sv.numberOfDaughters();
31 sv_features.
chi2 =
sv.vertexChi2();
34 sv_features.
dxy = dxy_meas.value();
37 sv_features.
d3d = d3d_meas.value();
constexpr double deltaPhi(double phi1, double phi2)
float vertexDdotP(const reco::VertexCompositePtrCandidate &sv, const reco::Vertex &pv)
Measurement1D vertexD3d(const reco::VertexCompositePtrCandidate &svcand, const reco::Vertex &pv)
Base class for all types of Jets.
const float catch_infs_and_bound(const float in, const float replace_value, const float lowerbound, const float upperbound, const float offset=0., const bool use_offsets=true)
Measurement1D vertexDxy(const reco::VertexCompositePtrCandidate &svcand, const reco::Vertex &pv)
constexpr auto deltaR(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
XYZVectorD XYZVector
spatial vector with cartesian internal representation
void svToFeatures(const reco::VertexCompositePtrCandidate &sv, const reco::Vertex &pv, const reco::Jet &jet, SecondaryVertexFeatures &sv_features, const bool flip=false)