#include <MyMuon.h>
Inheritance diagram for MyMuon:
Public Member Functions | |
MyMuon (void) | |
Default constructor: all private variables are set to 0. | |
MyMuon (const TLorentzVector &p, const double &mu_charge, const int &alg_flag, const int &rec_flag, const int &index, const double Et_cone[8], const int nb_tracks_cone[8], const double &fitChi2, const int &fitNumberDoF, const double &fitChi2OverDoF, const double &matchChi2, const int &matchNumberDoF, const double &matchChi2OverDoF, const int &hasCombMuonTrackParticle, const std::vector< double > *track_Et_cone=0, int vertex_index=-1, const std::vector< double > *trackIsolationEnergy=0) | |
int | reconstruction_flag (void) const |
int | algorithm_flag (void) const |
bool | hasCombinedMuonTrackParticle (void) const |
returns the hasCombinedMuonTrackParticle flag | |
double | Et_in_cone (const int &delta_R_index) const |
double | track_Et_in_cone (const int &delta_R_index) const |
double | trackIsolationEnergy (const int &delta_R_index) const |
int | nb_tracks_in_cone (const int &delta_R_index) const |
double | fitChi2 (void) const |
int | fitNumberDoF (void) const |
double | fitChi2OverDoF (void) const |
double | matchChi2 (void) const |
int | matchNumberDoF (void) const |
double | matchChi2OverDoF (void) const |
void | set_reconstruction_flag (const int &flag) |
void | set_Et_in_cone (const double Et_cone[8]) |
void | set_track_Et_in_cone (const double Et_cone[8]) |
void | set_trackIsolationEnergy (const double Et_cone[8]) |
void | set_nb_tracks_in_cone (const int nb_tracks_cone[8]) |
void | PrintParticle (std::string option="") |
print muon properties | |
Private Member Functions | |
void | init (const TLorentzVector &p, const double &mu_charge, const int &alg_flag, const int &rec_flag, const int &index, const double Et_cone[8], const int nb_tracks_cone[8], const double &fitChi2, const int &fitNumberDoF, const double &fitChi2OverDoF, const double &matchChi2, const int &matchNumberDoF, const double &matchChi2OverDoF, const int &hasCombMuonTrackParticle, const std::vector< double > *track_Et_cone, int vertex_index, const std::vector< double > *trackIsolationEnergy) |
Private Attributes | |
int | m_alg_flag |
int | m_flag |
bool | m_hasCombinedMuonTrackParticle |
double | m_Et_cone [8] |
double | m_track_Et_cone [8] |
double | m_trackIsolationEnergy [8] |
int | m_nb_tracks_cone [8] |
double | m_fitChi2 |
int | m_fitNumberDoF |
double | m_fitChi2OverDoF |
double | m_matchChi2 |
int | m_matchNumberDoF |
double | m_matchChi2OverDoF |
Definition at line 34 of file MyMuon.h.
int MyMuon::reconstruction_flag | ( | void | ) | const [inline] |
> Constructor: store the fourmomentum p of the muon. > mu_charge = charge of the muon; > alg_flag = reconstruction algorithm: > = 1: AtlfastMuonCollection > = 2: MuidMuonCollection > = 3: StacoMuonCollection > = 0: none of the upper; > rec_flag = reconstruction flag: > = -1: combined muon (not best match), > = 1: combined muon (best match), > = 2: stand-alon muon, > = 3: low momentum muon, > = 0: none of the upper; > index = index of particle in original vector > Et_cone[0] = isolation Et in a cone of 0.1, > Et_cone[1] = isolation Et in a cone of 0.2, > Et_cone[2] = isolation Et in a cone of 0.3, > Et_cone[3] = isolation Et in a cone of 0.4, > Et_cone[4] = isolation Et in a cone of 0.45, > Et_cone[5] = isolation Et in a cone of 0.5, > Et_cone[6] = isolation Et in a cone of 0.6, > Et_cone[6] = isolation Et in a cone of 0.7; > nb_tracks_cone[0] = number of tracks in a cone of 0.1, > nb_tracks_cone[1] = number of tracks in a cone of 0.2, > nb_tracks_cone[2] = number of tracks in a cone of 0.3, > nb_tracks_cone[3] = number of tracks in a cone of 0.4, > nb_tracks_cone[4] = number of tracks in a cone of 0.45, > nb_tracks_cone[5] = number of tracks in a cone of 0.5, > nb_tracks_cone[6] = number of tracks in a cone of 0.6, > nb_tracks_cone[7] = number of tracks in a cone of 0.7 > hasCombMuonTrackParticle = do not know what it really is > track_Et_cone[0] = Et of track from the same vertex as the > muon in a cone of 0.1, > track_Et_cone[1] = Et of track from the same vertex as the > muon in a cone of 0.2, > track_Et_cone[2] = Et of track from the same vertex as the > muon in a cone of 0.3, > track_Et_cone[3] = Et of track from the same vertex as the > muon in a cone of of 0.4, > track_Et_cone[4] = Et of track from the same vertex as the > muon in a cone of of 0.45, > track_Et_cone[5] = Et of track from the same vertex as the > muon in a cone of 0.5, > track_Et_cone[6] = Et of track from the same vertex as the > muon in a cone of 0.6, > track_Et_cone[7] = Et of track from the same vertex as the > muon in a cone of 0.7; > track_et_cone[.] = 0 if no primary vertex can be associated > with the muon. > vertex_index: index of the associated primary vertex. > trackIsolationEnergy[i] = Et in a cone, computed by > trackIsolationTools. Cone size are like Et_cone. get the reconstruction flag: = -1: combined muon (not best match), = 1: combined muon (best match), = 2: stand-alon muon, = 3: low momentum muon, = 0: none of the upper
Definition at line 122 of file MyMuon.ixx.
int MyMuon::algorithm_flag | ( | void | ) | const [inline] |
get the reco algorithm flag > = 1: AtlfastMuonCollection > = 2: MuidMuonCollection > = 3: StacoMuonCollection > = 0: none of the upper;
Definition at line 110 of file MyMuon.ixx.
double MyMuon::Et_in_cone | ( | const int & | delta_R_index | ) | const [inline] |
get the transverse energy in a cone around the muon; delta_R_index = 0: a cone of 0.1, delta_R_index = 1: a cone of 0.2, delta_R_index = 2: a cone of 0.3, delta_R_index = 3: a cone of 0.4, delta_R_index = 4: a cone of 0.45, delta_R_index = 5: a cone of 0.5, delta_R_index = 6: a cone of 0.6, delta_R_index = 7: a cone of 0.7,
Definition at line 145 of file MyMuon.ixx.
double MyMuon::track_Et_in_cone | ( | const int & | delta_R_index | ) | const [inline] |
get the transverse energy of tracks from the same vertex as the muon in a cone around the muon; delta_R_index = 0: a cone of 0.1, delta_R_index = 1: a cone of 0.2, delta_R_index = 2: a cone of 0.3, delta_R_index = 3: a cone of 0.4, delta_R_index = 4: a cone of 0.45, delta_R_index = 5: a cone of 0.5, delta_R_index = 6: a cone of 0.6, delta_R_index = 7: a cone of 0.7; 0 is return if the muon cannot be associated to any primary vertex.
Definition at line 173 of file MyMuon.ixx.
double MyMuon::trackIsolationEnergy | ( | const int & | delta_R_index | ) | const [inline] |
get the transverse energy of tracks around the muon; (computed by trackIsolationTools); delta_R_index = 0: a cone of 0.1, delta_R_index = 1: a cone of 0.2, delta_R_index = 2: a cone of 0.3, delta_R_index = 3: a cone of 0.4, delta_R_index = 4: a cone of 0.45, delta_R_index = 5: a cone of 0.5, delta_R_index = 6: a cone of 0.6, delta_R_index = 7: a cone of 0.7; 0 is return if the muon cannot be associated to any primary vertex.
Definition at line 201 of file MyMuon.ixx.
int MyMuon::nb_tracks_in_cone | ( | const int & | delta_R_index | ) | const [inline] |
get the number of tracks in a cone around the muon; delta_R_index = 0: a cone of 0.1, delta_R_index = 1: a cone of 0.2, delta_R_index = 2: a cone of 0.3, delta_R_index = 3: a cone of 0.4, delta_R_index = 4: a cone of 0.45, delta_R_index = 5: a cone of 0.5, delta_R_index = 6: a cone of 0.6, delta_R_index = 7: a cone of 0.7,
Definition at line 228 of file MyMuon.ixx.
void MyMuon::set_reconstruction_flag | ( | const int & | flag | ) | [inline] |
set the reconstruction flag: = -1: combined muon (not best match), = 1: combined muon (best match), = 2: stand-alon muon, = 3: low momentum muon, = 0: none of the upper
Definition at line 329 of file MyMuon.ixx.
void MyMuon::set_Et_in_cone | ( | const double | Et_cone[8] | ) | [inline] |
set the transverse energies in cones of different sizes (see above) to Et_cone
Definition at line 342 of file MyMuon.ixx.
void MyMuon::set_track_Et_in_cone | ( | const double | Et_cone[8] | ) | [inline] |
set the transverse energies in cones of different sizes (see above) to Et_cone
Definition at line 358 of file MyMuon.ixx.
void MyMuon::set_trackIsolationEnergy | ( | const double | Et_cone[8] | ) | [inline] |
set the transverse energies in cones of different sizes (see above) to Et_cone
Definition at line 374 of file MyMuon.ixx.
void MyMuon::set_nb_tracks_in_cone | ( | const int | nb_tracks_cone[8] | ) | [inline] |
set the number of tracks in cones of different sizes (see above) to nb_tracks_cone
Definition at line 390 of file MyMuon.ixx.