6 maxDIEta_(config.getParameter<
int>(
"maxDIEta")),
7 maxDIPhi_(config.getParameter<
int>(
"maxDIPhi")),
8 minEnergyHB_(config.getParameter<double>(
"minEnergyHB")),
9 minEnergyHEDepth1_(config.getParameter<double>(
"minEnergyHEDepth1")),
10 minEnergyHEDefault_(config.getParameter<double>(
"minEnergyHEDefault"))
18 desc.
add<
int>(
"maxDIEta",5);
19 desc.
add<
int>(
"maxDIPhi",5);
20 desc.
add<
double>(
"minEnergyHB",0.8);
21 desc.
add<
double>(
"minEnergyHEDepth1",0.1);
22 desc.
add<
double>(
"minEnergyHEDefault",0.2);
28 int dEta = iEta1-iEta2;
39 int dPhi = iPhi1-iPhi2;
40 if(dPhi>72/2) dPhi-=72;
41 else if(dPhi<-72/2) dPhi+=72;
static int calDIPhi(int iPhi1, int iPhi2)
static int calDIEta(int iEta1, int iEta2)
float minEnergyHEDefault_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
static edm::ParameterSetDescription makePSetDescription()
EGHcalRecHitSelector(const edm::ParameterSet &config)
float getMinEnergyHCAL_(HcalDetId id) const