DESY Hbb Analysis Framework
|
#include <Muon.h>
Public Member Functions | |
float | chi2LocalPos () const |
void | chi2LocalPos (const float &chi2LocalPos) |
bool | id (const std::string &) const |
bool | isGlobalMuon () const |
void | isGlobalMuon (const bool &isGlobalMuon) |
bool | isLooseMuon () const |
void | isLooseMuon (const bool &isLooseMuon) |
bool | isMediumMuon () const |
void | isMediumMuon (const bool &isMediumMuon) |
bool | isPFMuon () const |
void | isPFMuon (const bool &isPFMuon) |
bool | isTightMuon () const |
void | isTightMuon (const bool &isTightMuon) |
bool | isTrackerMuon () const |
void | isTrackerMuon (const bool &isTrackerMuon) |
Muon () | |
default constructor More... | |
Muon (const float &pt, const float &eta, const float &phi, const float &e, const float &q) | |
constructor from 4-momentum information More... | |
float | normChi2 () const |
void | normChi2 (const float &normChi2) |
float | segmentCompatibility () const |
void | segmentCompatibility (const float &segmentCompatibility) |
float | trkKink () const |
void | trkKink (const float &trkKink) |
float | validFraction () const |
void | validFraction (const float &validFraction) |
~Muon () | |
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 | chi2LocalPos_ |
bool | isGlobalMuon_ |
bool | isLooseMuon_ |
bool | isMediumMuon_ |
bool | isPFMuon_ |
bool | isTightMuon_ |
bool | isTrackerMuon_ |
float | normChi2_ |
float | segmentCompatibility_ |
float | trkKink_ |
float | validFraction_ |
![]() | |
std::map< std::string, const Candidate * > | matched_ |
map of matched candidates More... | |
TLorentzVector | p4_ |
the 4-momentum More... | |
float | q_ |
the charge More... | |
Muon::Muon | ( | const float & | pt, |
const float & | eta, | ||
const float & | phi, | ||
const float & | e, | ||
const float & | q | ||
) |
constructor from 4-momentum information
Definition at line 24 of file Muon.cc.
Muon::~Muon | ( | ) |
float Muon::chi2LocalPos | ( | ) | const |
Definition at line 64 of file Muon.cc.
References chi2LocalPos_.
Referenced by chi2LocalPos(), and analysis::tools::PhysicsObjectTree< Object >::collection().
void Muon::chi2LocalPos | ( | const float & | chi2LocalPos | ) |
bool Muon::id | ( | const std::string & | id | ) | const |
Definition at line 48 of file Muon.cc.
References id(), isLooseMuon_, isMediumMuon_, and isTightMuon_.
Referenced by id().
bool Muon::isGlobalMuon | ( | ) | const |
Definition at line 43 of file Muon.cc.
References isGlobalMuon_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection(), isGlobalMuon(), and main().
void Muon::isGlobalMuon | ( | const bool & | isGlobalMuon | ) |
bool Muon::isLooseMuon | ( | ) | const |
Definition at line 45 of file Muon.cc.
References isLooseMuon_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection(), isLooseMuon(), and main().
void Muon::isLooseMuon | ( | const bool & | isLooseMuon | ) |
bool Muon::isMediumMuon | ( | ) | const |
Definition at line 46 of file Muon.cc.
References isMediumMuon_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection(), isMediumMuon(), and main().
void Muon::isMediumMuon | ( | const bool & | isMediumMuon | ) |
bool Muon::isPFMuon | ( | ) | const |
Definition at line 42 of file Muon.cc.
References isPFMuon_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection(), isPFMuon(), and main().
void Muon::isPFMuon | ( | const bool & | isPFMuon | ) |
bool Muon::isTightMuon | ( | ) | const |
Definition at line 47 of file Muon.cc.
References isTightMuon_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection(), and isTightMuon().
void Muon::isTightMuon | ( | const bool & | isTightMuon | ) |
bool Muon::isTrackerMuon | ( | ) | const |
Definition at line 44 of file Muon.cc.
References isTrackerMuon_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection(), isTrackerMuon(), and main().
void Muon::isTrackerMuon | ( | const bool & | isTrackerMuon | ) |
float Muon::normChi2 | ( | ) | const |
Definition at line 67 of file Muon.cc.
References normChi2_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection(), and normChi2().
void Muon::normChi2 | ( | const float & | normChi2 | ) |
float Muon::segmentCompatibility | ( | ) | const |
Definition at line 62 of file Muon.cc.
References segmentCompatibility_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection(), and segmentCompatibility().
void Muon::segmentCompatibility | ( | const float & | segmentCompatibility | ) |
Definition at line 80 of file Muon.cc.
References segmentCompatibility(), and segmentCompatibility_.
float Muon::trkKink | ( | ) | const |
Definition at line 63 of file Muon.cc.
References trkKink_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection(), and trkKink().
void Muon::trkKink | ( | const float & | trkKink | ) |
float Muon::validFraction | ( | ) | const |
Definition at line 61 of file Muon.cc.
References validFraction_.
Referenced by analysis::tools::PhysicsObjectTree< Object >::collection(), and validFraction().
void Muon::validFraction | ( | const float & | validFraction | ) |
|
protected |
Definition at line 87 of file Muon.h.
Referenced by chi2LocalPos().
|
protected |
Definition at line 78 of file Muon.h.
Referenced by isGlobalMuon().
|
protected |
Definition at line 80 of file Muon.h.
Referenced by id(), and isLooseMuon().
|
protected |
Definition at line 81 of file Muon.h.
Referenced by id(), and isMediumMuon().
|
protected |
Definition at line 77 of file Muon.h.
Referenced by isPFMuon().
|
protected |
Definition at line 82 of file Muon.h.
Referenced by id(), and isTightMuon().
|
protected |
Definition at line 79 of file Muon.h.
Referenced by isTrackerMuon().
|
protected |
Definition at line 89 of file Muon.h.
Referenced by normChi2().
|
protected |
Definition at line 85 of file Muon.h.
Referenced by segmentCompatibility().
|
protected |
|
protected |
Definition at line 84 of file Muon.h.
Referenced by validFraction().