DESY Hbb Analysis Framework
|
#include <RecoTrack.h>
Public Member Functions | |
float | chi2 () const |
void | chi2 (const float &) |
float | d0 () const |
void | d0 (const float &) |
float | dxy () const |
void | dxy (const float &) |
int | innermostMuonStationWithValidHits () const |
void | innermostMuonStationWithValidHits (const int &) |
int | muonStationsWithBadHits () const |
void | muonStationsWithBadHits (const int &) |
int | muonStationsWithValidHits () const |
void | muonStationsWithValidHits (const int &) |
float | ndof () const |
void | ndof (const float &) |
int | numberOfBadMuonHits () const |
void | numberOfBadMuonHits (const int &) |
int | numberOfLostMuonHits () const |
void | numberOfLostMuonHits (const int &) |
int | numberOfValidMuonHits () const |
void | numberOfValidMuonHits (const int &) |
int | numberOfValidStripTECHits () const |
void | numberOfValidStripTECHits (const int &) |
int | numberOfValidStripTIBHits () const |
void | numberOfValidStripTIBHits (const int &) |
int | numberOfValidStripTIDHits () const |
void | numberOfValidStripTIDHits (const int &) |
int | numberOfValidStripTOBHits () const |
void | numberOfValidStripTOBHits (const int &) |
int | numberOfValidTrackerHits () const |
void | numberOfValidTrackerHits (const int &) |
int | outermostMuonStationWithValidHits () const |
void | outermostMuonStationWithValidHits (const int &) |
bool | quality (const TrackQuality &trkqual) |
void | quality (const TrackQuality &, const bool &) |
RecoTrack () | |
default constructor More... | |
RecoTrack (const float &px, const float &py, const float &pz, const float &q) | |
constructor from 3-momentum information More... | |
~RecoTrack () | |
destructor More... | |
![]() | |
Candidate () | |
default constructor More... | |
Candidate (const float &pt, const float &eta, const float &phi, const float &e, const float &q) | |
constructor from 4-momentum information More... | |
Candidate (const float &px, const float &py, const float &pz) | |
constructor from 3-momentum information More... | |
Candidate (const float &px, const float &py, const float &pz, const float &q) | |
constructor from 3-momentum and charge information More... | |
float | deltaPhi (const Candidate &) const |
returns the deltaPhi between this and another candidate More... | |
float | deltaR (const Candidate &) const |
returns the deltaR between this and another candidate More... | |
float | e () const |
returns the energy More... | |
void | e (const float &) |
sets the energy More... | |
float | eta () const |
returns the pseudorapidity More... | |
float | m () const |
returns the mass More... | |
float | mass () const |
returns the mass More... | |
const Candidate * | matched (const std::string &name) |
returns the pointer to the matched candidate object More... | |
const Candidate * | matched (const std::string &name) const |
returns the pointer to the matched candidate object More... | |
virtual bool | matchTo (const std::vector< Candidate > *cands, const std::string &name, const float &deltaR=0.5) |
function to match this candidate to another object from a list of pointers with a name More... | |
virtual bool | matchTo (const std::vector< Candidate > *cands, const std::string &name, const float &delta_pT, const float &deltaR) |
TVector3 | p3 () const |
returns the 4-momentum (TVector3) More... | |
TLorentzVector | p4 () const |
returns the 4-momentum (TLorentzVector) More... | |
void | p4 (const TLorentzVector &) |
sets the 4-momentum (TLorentzVector) More... | |
float | phi () const |
returns the azimuthal angle More... | |
float | pt () const |
returns the transverse momentum More... | |
float | px () const |
returns the x component of the momentum More... | |
void | px (const float &) |
sets the x component of the momentum More... | |
float | py () const |
returns the y component of the momentum More... | |
void | py (const float &) |
sets the y component of the momentum More... | |
float | pz () const |
returns the z component of the momentum More... | |
void | pz (const float &) |
sets the z component of the momentum More... | |
int | q () const |
returns the charge More... | |
void | q (const float &) |
sets the charge More... | |
void | unmatch (const std::string &) |
unmatch a matched candidate object, i.e. set it to nullptr, useful to remove possible duplicated matching More... | |
virtual | ~Candidate () |
destructor More... | |
Protected Attributes | |
float | chi2_ |
float | d0_ |
float | dxy_ |
int | inMuStationWithValHits_ |
int | muStationsWithBadHits_ |
int | muStationsWithValHits_ |
int | nBadMuHits_ |
float | ndof_ |
int | nLostMuHits_ |
int | nValMuHits_ |
int | nValStripTECHits_ |
int | nValStripTIBHits_ |
int | nValStripTIDHits_ |
int | nValStripTOBHits_ |
int | nValTrackerHits_ |
int | outMuStationWithValHits_ |
std::map< TrackQuality, bool > | qual_ |
![]() | |
std::map< std::string, const Candidate * > | matched_ |
map of matched candidates More... | |
TLorentzVector | p4_ |
the 4-momentum More... | |
float | q_ |
the charge More... | |
Definition at line 47 of file RecoTrack.h.
RecoTrack::RecoTrack | ( | ) |
RecoTrack::RecoTrack | ( | const float & | px, |
const float & | py, | ||
const float & | pz, | ||
const float & | q | ||
) |
constructor from 3-momentum information
Definition at line 24 of file RecoTrack.cc.
RecoTrack::~RecoTrack | ( | ) |
destructor
Definition at line 28 of file RecoTrack.cc.
float RecoTrack::chi2 | ( | ) | const |
Definition at line 40 of file RecoTrack.cc.
References chi2_.
Referenced by chi2(), and analysis::tools::PhysicsObjectTree< Object >::collection().
void RecoTrack::chi2 | ( | const float & | chi2 | ) |
Definition at line 59 of file RecoTrack.cc.
float RecoTrack::d0 | ( | ) | const |
Definition at line 42 of file RecoTrack.cc.
References d0_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection(), and d0().
void RecoTrack::d0 | ( | const float & | d0 | ) |
Definition at line 61 of file RecoTrack.cc.
float RecoTrack::dxy | ( | ) | const |
Definition at line 43 of file RecoTrack.cc.
References dxy_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection(), and dxy().
void RecoTrack::dxy | ( | const float & | dxy | ) |
Definition at line 62 of file RecoTrack.cc.
int RecoTrack::innermostMuonStationWithValidHits | ( | ) | const |
Definition at line 54 of file RecoTrack.cc.
References inMuStationWithValHits_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection().
void RecoTrack::innermostMuonStationWithValidHits | ( | const int & | n | ) |
Definition at line 73 of file RecoTrack.cc.
References inMuStationWithValHits_.
int RecoTrack::muonStationsWithBadHits | ( | ) | const |
Definition at line 53 of file RecoTrack.cc.
References muStationsWithBadHits_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection().
void RecoTrack::muonStationsWithBadHits | ( | const int & | n | ) |
Definition at line 72 of file RecoTrack.cc.
References muStationsWithBadHits_.
int RecoTrack::muonStationsWithValidHits | ( | ) | const |
Definition at line 52 of file RecoTrack.cc.
References muStationsWithValHits_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection().
void RecoTrack::muonStationsWithValidHits | ( | const int & | n | ) |
Definition at line 71 of file RecoTrack.cc.
References muStationsWithValHits_.
float RecoTrack::ndof | ( | ) | const |
Definition at line 41 of file RecoTrack.cc.
References ndof_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection(), and ndof().
void RecoTrack::ndof | ( | const float & | ndof | ) |
Definition at line 60 of file RecoTrack.cc.
int RecoTrack::numberOfBadMuonHits | ( | ) | const |
Definition at line 45 of file RecoTrack.cc.
References nBadMuHits_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection().
void RecoTrack::numberOfBadMuonHits | ( | const int & | n | ) |
int RecoTrack::numberOfLostMuonHits | ( | ) | const |
Definition at line 44 of file RecoTrack.cc.
References nLostMuHits_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection().
void RecoTrack::numberOfLostMuonHits | ( | const int & | n | ) |
int RecoTrack::numberOfValidMuonHits | ( | ) | const |
Definition at line 46 of file RecoTrack.cc.
References nValMuHits_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection().
void RecoTrack::numberOfValidMuonHits | ( | const int & | n | ) |
int RecoTrack::numberOfValidStripTECHits | ( | ) | const |
Definition at line 48 of file RecoTrack.cc.
References nValStripTECHits_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection().
void RecoTrack::numberOfValidStripTECHits | ( | const int & | n | ) |
int RecoTrack::numberOfValidStripTIBHits | ( | ) | const |
Definition at line 49 of file RecoTrack.cc.
References nValStripTIBHits_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection().
void RecoTrack::numberOfValidStripTIBHits | ( | const int & | n | ) |
int RecoTrack::numberOfValidStripTIDHits | ( | ) | const |
Definition at line 50 of file RecoTrack.cc.
References nValStripTIDHits_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection().
void RecoTrack::numberOfValidStripTIDHits | ( | const int & | n | ) |
int RecoTrack::numberOfValidStripTOBHits | ( | ) | const |
Definition at line 51 of file RecoTrack.cc.
References nValStripTOBHits_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection().
void RecoTrack::numberOfValidStripTOBHits | ( | const int & | n | ) |
int RecoTrack::numberOfValidTrackerHits | ( | ) | const |
Definition at line 47 of file RecoTrack.cc.
References nValTrackerHits_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection().
void RecoTrack::numberOfValidTrackerHits | ( | const int & | n | ) |
int RecoTrack::outermostMuonStationWithValidHits | ( | ) | const |
Definition at line 55 of file RecoTrack.cc.
References outMuStationWithValHits_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection().
void RecoTrack::outermostMuonStationWithValidHits | ( | const int & | n | ) |
Definition at line 74 of file RecoTrack.cc.
References outMuStationWithValHits_.
bool RecoTrack::quality | ( | const TrackQuality & | trkqual | ) |
Definition at line 56 of file RecoTrack.cc.
References qual_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection(), and main().
void RecoTrack::quality | ( | const TrackQuality & | trkqual, |
const bool & | status | ||
) |
|
protected |
Definition at line 96 of file RecoTrack.h.
Referenced by chi2().
|
protected |
Definition at line 98 of file RecoTrack.h.
Referenced by d0().
|
protected |
Definition at line 99 of file RecoTrack.h.
Referenced by dxy().
|
protected |
Definition at line 110 of file RecoTrack.h.
Referenced by innermostMuonStationWithValidHits().
|
protected |
Definition at line 109 of file RecoTrack.h.
Referenced by muonStationsWithBadHits().
|
protected |
Definition at line 108 of file RecoTrack.h.
Referenced by muonStationsWithValidHits().
|
protected |
Definition at line 101 of file RecoTrack.h.
Referenced by numberOfBadMuonHits().
|
protected |
Definition at line 97 of file RecoTrack.h.
Referenced by ndof().
|
protected |
Definition at line 100 of file RecoTrack.h.
Referenced by numberOfLostMuonHits().
|
protected |
Definition at line 102 of file RecoTrack.h.
Referenced by numberOfValidMuonHits().
|
protected |
Definition at line 104 of file RecoTrack.h.
Referenced by numberOfValidStripTECHits().
|
protected |
Definition at line 105 of file RecoTrack.h.
Referenced by numberOfValidStripTIBHits().
|
protected |
Definition at line 106 of file RecoTrack.h.
Referenced by numberOfValidStripTIDHits().
|
protected |
Definition at line 107 of file RecoTrack.h.
Referenced by numberOfValidStripTOBHits().
|
protected |
Definition at line 103 of file RecoTrack.h.
Referenced by numberOfValidTrackerHits().
|
protected |
Definition at line 111 of file RecoTrack.h.
Referenced by outermostMuonStationWithValidHits().
|
protected |
Definition at line 112 of file RecoTrack.h.
Referenced by quality().