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