00001 #ifndef L2EM_H_ 00002 #define L2EM_H_ 00003 00005 // 00006 // Purpose: This is the header file that defines a class to help fill the 00007 // tuple correctly with L2 preprocessor electrons. 00008 // 00009 // Author: Yann Coadou 00010 // Date: 19-Apr-2004 00011 // 00013 00014 #include "tmb_tree/TMBL2Base.hpp" 00015 00018 class TMBL2EM : public TMBL2Base { 00019 public: 00020 TMBL2EM(); //constructor 00021 TMBL2EM(const TMBL2EM&); //copy constructor 00022 00023 ~TMBL2EM() {;} //destructor 00024 00026 00027 void Iso (float x) {iso = x;} 00028 void Emf (float x) {emf = x;} 00029 void SeedEta (int x) {seedeta = x;} 00030 void SeedPhi (int x) {seedphi = x;} 00031 void SeedEtaNeighbour (int x) {seedetaneighbour = x;} 00032 void SeedPhiNeighbour (int x) {seedphineighbour = x;} 00033 void SaturatedTotTower (bool x) {saturatedtottower = x;} 00034 void SaturatedEMTower (bool x) {saturatedemtower = x;} 00035 void NoNeighbour (bool x) {noneighbour = x;} 00036 void EtaOrPhiNeighbour (int x) {etaorphineighbour = x;} 00037 void PositionNeighbour (int x) {positionneighbour = x;} 00038 void EtNeighbour (float x) {etneighbour = x;} 00039 void EmfNeighbour (float x) {emfneighbour = x;} 00041 00043 00044 float Iso() const {return iso;} 00045 float Emf() const {return emf;} 00046 int SeedEta() const {return seedeta;} 00047 int SeedPhi() const {return seedphi;} 00048 int SeedEtaNeighbour() const {return seedetaneighbour;} 00049 int SeedPhiNeighbour() const {return seedphineighbour;} 00050 bool SaturatedTotTower() const {return saturatedtottower;} 00051 bool SaturatedEMTower() const {return saturatedemtower;} 00052 bool NoNeighbour() const {return noneighbour;} 00053 int EtaOrPhiNeighbour() const {return etaorphineighbour;} 00054 int PositionNeighbour() const {return positionneighbour;} 00055 float EtNeighbour() const {return etneighbour;} 00056 float EmfNeighbour() const {return emfneighbour;} 00058 private: 00059 float iso; 00060 float emf; 00061 int seedeta; 00062 int seedphi; 00063 int seedetaneighbour; 00064 int seedphineighbour; 00065 bool saturatedtottower; 00066 bool saturatedemtower; 00067 bool noneighbour; 00068 int etaorphineighbour; 00069 int positionneighbour; 00070 float etneighbour; 00071 float emfneighbour; 00072 00073 ClassDef(TMBL2EM,1) 00074 00075 }; //end of class TMBL2EM 00076 #endif // L2EM_H_
1.3.4