00001 00002 // 00003 // Purpose: This is the header file that defines a class to help fill the 00004 // tuple correctly with TMBL3 electrons. 00005 // 00006 // Author: Joshua M. Dyer 00007 // Date: 24-Apr-2003 00008 // Modified: Yann Coadou, 27 March 2004 00009 // Renamed the class and variables, inherits from TMBL3Base 00010 // Added lots of missing variables 00011 // 00013 00014 #ifndef TMBL3ELE_H_ 00015 #define TMBL3ELE_H_ 00016 00017 #include "tmb_tree/TMBL3Base.hpp" 00018 00023 class TMBL3Ele : public TMBL3Base { 00024 public: 00025 TMBL3Ele(); //constructor 00026 TMBL3Ele(const TMBL3Ele&); //copy constructor 00027 00028 ~TMBL3Ele() {;} //destructor 00029 00030 // setters 00031 void Iso (float x) {iso = x;} 00032 void Emf (float x) {emf = x;} 00033 void Chi2 (float x) {chi2 = x;} 00034 void EoverP(float x) {eoverp = x;} 00035 void PsMatch(bool x) {psmatch = x;} 00036 void CpsMatch(bool x) {cpsmatch = x;} 00037 void TrackMatch(bool x) {trackmatch = x;} 00038 void CalTrackMatch(bool x) {caltrackmatch = x;} 00039 void CpsTrackMatch(bool x) {cpstrackmatch = x;} 00040 void CalCpsDmin(float x) {calcpsdmin = x;} 00041 void CpsTrackDmin(float x) {cpstrackdmin = x;} 00042 void CalTrackDmin(float x) {caltrackdmin = x;} 00043 void CalCpsDPhi(float x) {calcpsdphi = x;} 00044 void CpsTrackDPhi(float x) {cpstrackdphi = x;} 00045 void CalTrackDPhi(float x) {caltrackdphi = x;} 00046 void Em1Width(float x) {em1width = x;} 00047 void Em2Width(float x) {em2width = x;} 00048 void Em3Width(float x) {em3width = x;} 00049 void Em1RescWidth(float x) {em1rescwidth = x;} 00050 void Em2RescWidth(float x) {em2rescwidth = x;} 00051 void Em3RescWidth(float x) {em3rescwidth = x;} 00052 00053 // accessors 00054 float Iso() const {return iso;} 00055 float Emf() const {return emf;} 00056 float Chi2() const {return chi2;} 00057 float EoverP() const {return eoverp;} 00058 bool PsMatch() const {return psmatch;} 00059 bool CpsMatch() const {return cpsmatch;} 00060 bool TrackMatch() const {return trackmatch;} 00061 bool CalTrackMatch() const {return caltrackmatch;} 00062 bool CpsTrackMatch() const {return cpstrackmatch;} 00063 float CalCpsDmin() const {return calcpsdmin;} 00064 float CpsTrackDmin() const {return cpstrackdmin;} 00065 float CalTrackDmin() const {return caltrackdmin;} 00066 float CalCpsDPhi() const {return calcpsdphi;} 00067 float CpsTrackDPhi() const {return cpstrackdphi;} 00068 float CalTrackDPhi() const {return caltrackdphi;} 00069 float Em1Width() const {return em1width;} 00070 float Em2Width() const {return em2width;} 00071 float Em3Width() const {return em3width;} 00072 float Em1RescWidth() const {return em1rescwidth;} 00073 float Em2RescWidth() const {return em2rescwidth;} 00074 float Em3RescWidth() const {return em3rescwidth;} 00075 00076 private: 00077 float iso; 00078 float emf; 00079 float chi2; 00080 float eoverp; 00081 bool psmatch; 00082 bool cpsmatch; 00083 bool trackmatch; 00084 bool caltrackmatch; 00085 bool cpstrackmatch; 00086 float calcpsdmin; 00087 float cpstrackdmin; 00088 float caltrackdmin; 00089 float calcpsdphi; 00090 float cpstrackdphi; 00091 float caltrackdphi; 00092 float em1width; 00093 float em2width; 00094 float em3width; 00095 float em1rescwidth; 00096 float em2rescwidth; 00097 float em3rescwidth; 00098 00099 00100 ClassDef(TMBL3Ele,1) 00101 00102 }; //end of class TMBL3Ele 00103 #endif // TMBL3ELE_H_
1.3.4