#include <MyTrack.h>
Inheritance diagram for MyTrack:
Public Member Functions | |
MyTrack (void) | |
Default constructor. | |
MyTrack (const TLorentzVector &p, const double &charge, const int &index, const int &vertex_index, const int &SCThit, const int &Phit, const int &BLayerhit, const int &TRThit, const int &MDThit, const int &CSChit_eta, const int &TGChit_eta, const int &RPChit_eta, const int &CSChit_phi, const int &TGChit_phi, const int &RPChit_phi, const double &d0, const double &z0, const double &chi2, const double &nDoF, const std::vector< double > *trackIsolationEnergy=0) | |
virtual | ~MyTrack () |
int | SCThit (void) const |
Destructor get SCT hits. | |
int | Phit (void) const |
get Phit hits | |
int | BLayerhit (void) const |
get BLayerhits hits | |
int | TRThit (void) const |
get TRT hits | |
int | MDThit (void) const |
get MDT hits | |
int | CSChit_eta (void) const |
get CSC hits (eta) | |
int | TGChit_eta (void) const |
get TGC hits (eta) | |
int | RPChit_eta (void) const |
get RPC hits (eta) | |
int | CSChit_phi (void) const |
get CSC hits (phi) | |
int | TGChit_phi (void) const |
get TGC hits (phi) | |
int | RPChit_phi (void) const |
get RPC hits (phi) | |
double | d0 (void) const |
get impact paramter | |
double | z0 (void) const |
get impact paramter | |
double | chi2 (void) const |
get chi2 of track fit | |
double | nDoF (void) const |
get number of degrees of freedom | |
double | trackIsolationEnergy (const int &delta_R_index) const |
Private Member Functions | |
void | init (const int &SCThit, const int &Phit, const int &BLayerhit, const int &TRThit, const int &MDThit, const int &CSChit_eta, const int &TGChit_eta, const int &RPChit_eta, const int &CSChit_phi, const int &TGChit_phi, const int &RPChit_phi, const double &d0, const double &z0, const double &chi2, const double &nDoF, const std::vector< double > *trackIsolationEnergy) |
Private Attributes | |
int | m_SCThit |
int | m_Phit |
int | m_BLayerhit |
int | m_TRThit |
int | m_MDThit |
int | m_CSChit_eta |
int | m_TGChit_eta |
int | m_RPChit_eta |
int | m_CSChit_phi |
int | m_TGChit_phi |
int | m_RPChit_phi |
double | m_d0 |
double | m_z0 |
double | m_chi2 |
double | m_nDoF |
double | m_trackIsolationEnergy [5] |
Definition at line 33 of file MyTrack.h.
MyTrack::MyTrack | ( | const TLorentzVector & | p, | |
const double & | charge, | |||
const int & | index, | |||
const int & | vertex_index, | |||
const int & | SCThit, | |||
const int & | Phit, | |||
const int & | BLayerhit, | |||
const int & | TRThit, | |||
const int & | MDThit, | |||
const int & | CSChit_eta, | |||
const int & | TGChit_eta, | |||
const int & | RPChit_eta, | |||
const int & | CSChit_phi, | |||
const int & | TGChit_phi, | |||
const int & | RPChit_phi, | |||
const double & | d0, | |||
const double & | z0, | |||
const double & | chi2, | |||
const double & | nDoF, | |||
const std::vector< double > * | trackIsolationEnergy = 0 | |||
) | [inline] |
double MyTrack::trackIsolationEnergy | ( | const int & | delta_R_index | ) | const [inline] |
get the transverse energy of tracks around the track. delta_R_index = 0: a cone of 0.01, 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,
Definition at line 230 of file MyTrack.ixx.