Go to the documentation of this file. 1 #ifndef RecoBTag_SecondaryVertex_TrackKinematics_h
2 #define RecoBTag_SecondaryVertex_TrackKinematics_h
25 :
n(
vertex.numberOfSourceCandidatePtrs()),
59 #endif // RecoBTag_SecondaryVertex_TrackKinematics_h
void add(const reco::TrackRef &track, double weight=1.0)
unsigned int numberOfTracks() const
TrackKinematics & operator+=(const TrackKinematics &other)
const math::XYZTLorentzVector & vectorSum() const
double sumOfWeights() const
TrackKinematics operator+(const TrackKinematics &other)
const math::XYZTLorentzVector & weightedVectorSum() const
math::XYZTLorentzVector sum
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
TrackKinematics(const reco::VertexCompositePtrCandidate &vertex)
math::XYZTLorentzVector weightedSum
void add(const reco::Track &track, double weight=1.0)