00001 00002 // 00003 // Purpose: This is the header file that defines a class to help fill the 00004 // tuple correctly with TMBL3 muons. 00005 // 00006 // Author: Yann Coadou 00007 // Date: 28-Mar-2004 00008 // 00010 00011 #ifndef TMBL3MUON_H_ 00012 #define TMBL3MUON_H_ 00013 00014 #include "tmb_tree/TMBL3Base.hpp" 00015 00020 class TMBL3Muon : public TMBL3Base { 00021 public: 00022 TMBL3Muon(); //constructor 00023 TMBL3Muon(const TMBL3Muon&); //copy constructor 00024 00025 ~TMBL3Muon() {;} //destructor 00026 00027 // setters 00028 void Region(int x) {region = x;} 00029 void Octant(int x) {octant = x;} 00030 void Pt(float x) {pt = x;} 00031 void Z(float x) {z = x;} 00032 void Charge(int x) {charge = x;} 00033 void EtaLocal(float x) {etalocal = x;} 00034 void PhiLocal(float x) {philocal = x;} 00035 void PtLocal(float x) {ptlocal = x;} 00036 void ZLocal(float x) {zlocal = x;} 00037 void Quality(int x) {quality = x;} 00038 void CalMatched(bool x) {calmatched = x;} 00039 void CalMatchRetval(int x) { calmatchretval = x;} 00040 void MTCEtrack(float x) {mtcetrack = x;} 00041 void MTCHfrac(float x) {mtchfrac = x;} 00042 void CentralMatched(bool x) {centralmatched = x;} 00043 void CentralMatchRetval(int x) {centralmatchretval = x;} 00044 void ChisqCentral(float x) {chisqcentral = x;} 00045 void EtaCentral(float x) {etacentral = x;} 00046 void PhiCentral(float x) {phicentral = x;} 00047 void PtCentral(float x) {ptcentral = x;} 00048 void ZCentral(float x) {zcentral = x;} 00049 void ImpactXY(float x) {impactxy = x;} 00050 void SignifImpactXY(float x) {signifimpactxy = x;} 00051 00052 // accessors 00053 int Region() const {return region;} 00054 int Octant() const {return octant;} 00055 float Pt() const {return pt;} 00056 float Z() const {return z;} 00057 int Charge() const {return charge;} 00058 float EtaLocal() const {return etalocal;} 00059 float PhiLocal() const {return philocal;} 00060 float PtLocal() const {return ptlocal;} 00061 float ZLocal() const {return zlocal;} 00062 int Quality() const {return quality;} 00063 bool CalMatched() const {return calmatched;} 00064 int CalMatchRetval() const {return calmatchretval;} 00065 float MTCEtrack() const {return mtcetrack;} 00066 float MTCHfrac() const {return mtchfrac;} 00067 bool CentralMatched() const {return centralmatched;} 00068 int CentralMatchRetval() const {return centralmatchretval;} 00069 float ChisqCentral() const {return chisqcentral;} 00070 float EtaCentral() const {return etacentral;} 00071 float PhiCentral() const {return phicentral;} 00072 float PtCentral() const {return ptcentral;} 00073 float ZCentral() const {return zcentral;} 00074 float ImpactXY() const {return impactxy;} 00075 float SignifImpactXY() const {return signifimpactxy;} 00076 00077 private: 00078 // Overall muon info 00079 int region; 00080 int octant; 00081 float pt; 00082 float z; 00083 int charge; 00084 // Local muon info 00085 float etalocal; 00086 float philocal; 00087 float ptlocal; 00088 float zlocal; 00089 int quality; 00090 // From calorimeter matching: 00091 bool calmatched; 00092 int calmatchretval; 00093 float mtcetrack; 00094 float mtchfrac; 00095 // From central track matching: 00096 bool centralmatched; 00097 int centralmatchretval; 00098 float chisqcentral; 00099 float etacentral; 00100 float phicentral; 00101 float ptcentral; 00102 float zcentral; 00103 float impactxy; 00104 float signifimpactxy; 00105 00106 ClassDef(TMBL3Muon,1) 00107 00108 }; //end of class TMBL3Muon 00109 #endif // TMBL3MUON_H_
1.3.4