#include <TrackKinematics.h>
Public Member Functions | |
void | add (const reco::CandidatePtr &track) |
void | add (const reco::Track &track, double weight=1.0) |
void | add (const reco::TrackRef &track, double weight=1.0) |
unsigned int | numberOfTracks () const |
TrackKinematics | operator+ (const TrackKinematics &other) |
TrackKinematics & | operator+= (const TrackKinematics &other) |
double | sumOfWeights () const |
TrackKinematics () | |
TrackKinematics (const reco::CandidatePtrVector &tracks) | |
TrackKinematics (const reco::TrackRefVector &tracks) | |
TrackKinematics (const reco::Vertex &vertex) | |
TrackKinematics (const reco::VertexCompositePtrCandidate &vertex) | |
TrackKinematics (const std::vector< reco::CandidatePtr > &tracks) | |
TrackKinematics (const std::vector< reco::Track > &tracks) | |
const math::XYZTLorentzVector & | vectorSum () const |
const math::XYZTLorentzVector & | weightedVectorSum () const |
~TrackKinematics () | |
Private Attributes | |
unsigned int | n |
math::XYZTLorentzVector | sum |
double | sumWeights |
math::XYZTLorentzVector | weightedSum |
Definition at line 16 of file TrackKinematics.h.
TrackKinematics::TrackKinematics | ( | ) |
Definition at line 16 of file TrackKinematics.cc.
TrackKinematics::TrackKinematics | ( | const std::vector< reco::Track > & | tracks | ) |
TrackKinematics::TrackKinematics | ( | const reco::TrackRefVector & | tracks | ) |
TrackKinematics::TrackKinematics | ( | const std::vector< reco::CandidatePtr > & | tracks | ) |
Definition at line 28 of file TrackKinematics.cc.
References add(), and PDWG_EXOHSCP_cff::tracks.
TrackKinematics::TrackKinematics | ( | const reco::CandidatePtrVector & | tracks | ) |
TrackKinematics::TrackKinematics | ( | const reco::Vertex & | vertex | ) |
Definition at line 38 of file TrackKinematics.cc.
References add(), and bphysicsOniaDQM_cfi::vertex.
|
inline |
Definition at line 24 of file TrackKinematics.h.
|
inline |
Definition at line 30 of file TrackKinematics.h.
void TrackKinematics::add | ( | const reco::CandidatePtr & | track | ) |
Definition at line 71 of file TrackKinematics.cc.
References n, sum, sumWeights, HLT_2018_cff::track, mps_merge::weight, and weightedSum.
Referenced by counter.Counter::register().
void TrackKinematics::add | ( | const reco::Track & | track, |
double | weight = 1.0 |
||
) |
Definition at line 57 of file TrackKinematics.cc.
References n, reco::ParticleMasses::piPlus, sum, sumWeights, HLT_2018_cff::track, mps_merge::weight, and weightedSum.
Referenced by CombinedSVComputer::fillCommonVariables(), GhostTrackComputer::operator()(), CombinedSVComputer::operator()(), BoostedDoubleSVProducer::produce(), counter.Counter::register(), and TrackKinematics().
|
inline |
Definition at line 35 of file TrackKinematics.h.
References add(), and HLT_2018_cff::track.
Referenced by add(), and counter.Counter::register().
|
inline |
Definition at line 44 of file TrackKinematics.h.
References n.
Referenced by CombinedSVComputer::fillCommonVariables(), and GhostTrackComputer::operator()().
|
inline |
Definition at line 38 of file TrackKinematics.h.
References filterCSVwithJSON::copy, and trackingPlots::other.
TrackKinematics & TrackKinematics::operator+= | ( | const TrackKinematics & | other | ) |
Definition at line 48 of file TrackKinematics.cc.
References n, trackingPlots::other, sum, sumWeights, and weightedSum.
|
inline |
|
inline |
Definition at line 47 of file TrackKinematics.h.
References sum.
Referenced by CombinedSVComputer::fillCommonVariables(), GhostTrackComputer::operator()(), reco::VertexFilter::operator()(), and BoostedDoubleSVProducer::produce().
|
inline |
Definition at line 48 of file TrackKinematics.h.
References weightedSum.
Referenced by CombinedSVComputer::fillCommonVariables(), reco::VertexFilter::operator()(), and BoostedDoubleSVProducer::produce().
|
private |
Definition at line 51 of file TrackKinematics.h.
Referenced by add(), numberOfTracks(), and operator+=().
|
private |
Definition at line 53 of file TrackKinematics.h.
Referenced by add(), operator+=(), and vectorSum().
|
private |
Definition at line 52 of file TrackKinematics.h.
Referenced by add(), operator+=(), and sumOfWeights().
|
private |
Definition at line 54 of file TrackKinematics.h.
Referenced by add(), operator+=(), and weightedVectorSum().