00001 00002 // 00003 // Purpose: This is the header file that defines a class to help fill the 00004 // tuple correctly with TMBL3 taus. 00005 // 00006 // Author: Joshua M. Dyer 00007 // Date: 24-Apr-2003 00008 // Modified: Yann Coadou, 27 March 2004 00009 // Renamed variables, inherits from TMBL3Base 00010 // Added missing variables 00011 // 00013 00014 #ifndef TMBL3TAU_H_ 00015 #define TMBL3TAU_H_ 00016 00017 #include "tmb_tree/TMBL3Base.hpp" 00018 00023 class TMBL3Tau : public TMBL3Base { 00024 public: 00025 TMBL3Tau(); //constructor 00026 TMBL3Tau(const TMBL3Tau&); //copy constructor 00027 00028 ~TMBL3Tau() {;} //destructor 00029 00030 // setters 00031 void Iso (float x) {iso = x;} 00032 void Emf (float x) {emf = x;} 00033 void Charge (int x) {charge = x;} 00034 void SeedAlgo (int x) {seedalgo = x;} 00035 void Width (float x) {width = x;} 00036 void Profile (float x) {profile = x;} 00037 void EM12isof(float x) {em12isof = x;} 00038 void NNOut(double x) {nnout = x;} 00039 void NTracks (int x) {ntracks = x;} 00040 void EM3Eta (float x) {em3eta = x;} 00041 void EM3Phi (float x) {em3phi = x;} 00042 void EM3E (float x) {em3e = x;} 00043 void M01(float x) {m01 = x;} 00044 void M012(float x) {m012 = x;} 00045 void SumPt3(float x) {sumpt3 = x;} 00046 00047 // accessors 00048 float Iso() const {return iso;} 00049 float Emf() const {return emf;} 00050 int Charge() const {return charge;} 00051 int SeedAlgo() const {return seedalgo;} 00052 float Width() const {return width;} 00053 float Profile() const {return profile;} 00054 float EM12isof() const {return em12isof;} 00055 double NNOut() const {return nnout;} 00056 int NTracks() const {return ntracks;} 00057 float EM3Eta() const {return em3eta;} 00058 float EM3Phi() const {return em3phi;} 00059 float EM3E() const {return em3e;} 00060 float M01() const {return m01;} 00061 float M012() const {return m012;} 00062 float SumPt3() const {return sumpt3;} 00063 float iEta() const {return (eta+4.)/8.;} 00064 00065 private: 00066 float iso; 00067 float emf; 00068 int charge; 00069 int seedalgo; 00070 float width; 00071 float profile; 00072 float em12isof; 00073 double nnout; 00074 int ntracks; 00075 float em3eta; 00076 float em3phi; 00077 float em3e; 00078 float m01; 00079 float m012; 00080 float sumpt3; 00081 00082 ClassDef(TMBL3Tau,1) 00083 00084 }; //end of class TMBL3Tau 00085 #endif // TMBL3TAU_H_
1.3.4