CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_2_9_HLT1_bphpatch4/src/RecoEcal/EgammaCoreTools/interface/BremRecoveryPhiRoadAlgo.h

Go to the documentation of this file.
00001 #ifndef RecoEcal_EgammaCoreTools_BremRecoveryPhiRoadAlgo_h
00002 #define RecoEcal_EgammaCoreTools_BremRecoveryPhiRoadAlgo_h
00003 
00011 #include <vector>
00012 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00013 
00014 class BremRecoveryPhiRoadAlgo {
00015 
00016    public:
00017       BremRecoveryPhiRoadAlgo(const edm::ParameterSet& pset);
00018       ~BremRecoveryPhiRoadAlgo() {}
00019 
00020       int barrelPhiRoad(double et);
00021       double endcapPhiRoad(double energy);
00022 
00023    private:
00024       // parameters for EB
00025       // if (et < etVec[i]) use cryVec_[i]
00026       std::vector<double> etVec_;
00027       std::vector<int> cryVec_;
00028       int cryMin_;
00029 
00030       // parameters for EE
00031       // phi road = (a_ / (b_ + energy)) + c
00032       double a_;
00033       double b_;
00034       double c_;
00035 
00036 };
00037 
00038 #endif
00039