CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10/src/DataFormats/TauReco/interface/L2TauIsolationInfo.h

Go to the documentation of this file.
00001 /* L2TauIsolationInfo Class
00002 Holds output of the Tau L2 IsolationProducer
00003  
00004 Author: Michail Bachtis
00005 University of Wisconsin-Madison
00006 e-mail: bachtis@hep.wisc.edu
00007 */
00008 
00009 
00010 
00011 #ifndef L2TAUISOLATION_INFO_H
00012 #define L2TAUISOLATION_INFO_H
00013 #include <vector>
00014 
00015 namespace reco {
00016 
00017 class L2TauIsolationInfo
00018 {
00019  public:
00020   L2TauIsolationInfo()
00021     {
00022       ecalIsolEt_=0.; 
00023       seedEcalHitEt_=-1.;
00024       ecalClusterShape_.push_back(0.);
00025       ecalClusterShape_.push_back(0.);
00026       ecalClusterShape_.push_back(0.);
00027       nEcalHits_=0;
00028 
00029       hcalIsolEt_=0.; 
00030       seedHcalHitEt_=-1.;
00031       hcalClusterShape_.push_back(0.);
00032       hcalClusterShape_.push_back(0.);
00033       hcalClusterShape_.push_back(0.);
00034       nHcalHits_=0;
00035     }
00036 
00037 
00038   ~L2TauIsolationInfo()
00039     {
00040 
00041     }
00042 
00043   //getters
00044   double ecalIsolEt() const {return ecalIsolEt_;}
00045   double seedEcalHitEt() const {return seedEcalHitEt_;}
00046   std::vector<double> ecalClusterShape() const {return ecalClusterShape_;}
00047   int nEcalHits() const {return nEcalHits_;}
00048 
00049   double hcalIsolEt() const {return hcalIsolEt_;}
00050   double seedHcalHitEt() const {return seedHcalHitEt_;}
00051   std::vector<double> hcalClusterShape() const {return hcalClusterShape_;}
00052   int nHcalHits() const {return nHcalHits_;}
00053 
00054   //setters
00055   void setEcalIsolEt(double et) { ecalIsolEt_ = et;}
00056   void setSeedEcalHitEt(double et) { seedEcalHitEt_ = et;}
00057   void setEcalClusterShape(std::vector<double> shape) { ecalClusterShape_ = shape;}
00058   void setNEcalHits(int hits) { nEcalHits_ = hits;}
00059   void setHcalIsolEt(double et) { hcalIsolEt_ = et;}
00060   void setSeedHcalHitEt(double et) { seedHcalHitEt_ = et;}
00061   void setHcalClusterShape(std::vector<double> shape) { hcalClusterShape_ = shape;}
00062   void setNHcalHits(int hits) { nHcalHits_ = hits;}
00063    
00064  private:
00065 
00066   //ECAL Isolation 
00067   double ecalIsolEt_; 
00068   double seedEcalHitEt_;
00069   std::vector<double> ecalClusterShape_;
00070   int nEcalHits_;
00071 
00072 
00073   //HCAL Isolation
00074   double hcalIsolEt_;
00075   double seedHcalHitEt_;
00076   std::vector<double> hcalClusterShape_;
00077   int nHcalHits_;
00078 
00079 };
00080 
00081 }
00082 #endif
00083