Go to the documentation of this file.
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")) {}
14 desc.
add<
int>(
"maxDIEta", 5);
15 desc.
add<
int>(
"maxDIPhi", 5);
16 desc.
add<
double>(
"minEnergyHB", 0.8);
17 desc.
add<
double>(
"minEnergyHEDepth1", 0.1);
18 desc.
add<
double>(
"minEnergyHEDefault", 0.2);
23 int dEta = iEta1 - iEta2;
24 if (iEta1 * iEta2 < 0) {
34 int dPhi = iPhi1 - iPhi2;
37 else if (
dPhi < -72 / 2)
float getMinEnergyHCAL_(HcalDetId id) const
ParameterDescriptionBase * add(U const &iLabel, T const &value)
float minEnergyHEDefault_
EGHcalRecHitSelector(const edm::ParameterSet &config)
static edm::ParameterSetDescription makePSetDescription()
static int calDIEta(int iEta1, int iEta2)
static int calDIPhi(int iPhi1, int iPhi2)