1 #ifndef RecoBTag_SecondaryVertex_TrackKinematics_h
2 #define RecoBTag_SecondaryVertex_TrackKinematics_h
25 :
n(vertex.numberOfSourceCandidatePtrs()),
26 sumWeights(vertex.numberOfSourceCandidatePtrs()),
59 #endif // RecoBTag_SecondaryVertex_TrackKinematics_h
const math::XYZTLorentzVector & weightedVectorSum() const
math::XYZTLorentzVector weightedSum
TrackKinematics & operator+=(const TrackKinematics &other)
void add(const reco::Track &track, double weight=1.0)
auto const & tracks
cannot be loose
double sumOfWeights() const
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
unsigned int numberOfTracks() const
TrackKinematics operator+(const TrackKinematics &other)
const math::XYZTLorentzVector & vectorSum() const
math::XYZTLorentzVector sum
void add(const reco::TrackRef &track, double weight=1.0)
TrackKinematics(const reco::VertexCompositePtrCandidate &vertex)