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")),
15 desc.
add<
int>(
"maxDIEta", 5);
16 desc.
add<
int>(
"maxDIPhi", 5);
17 desc.
add<
double>(
"minEnergyHB", 0.8);
18 desc.
add<
double>(
"minEnergyHEDepth1", 0.1);
19 desc.
add<
double>(
"minEnergyHEDefault", 0.2);
24 int dEta = iEta1 - iEta2;
25 if (iEta1 * iEta2 < 0) {
35 int dPhi = iPhi1 - iPhi2;
38 else if (dPhi < -72 / 2)
static int calDIPhi(int iPhi1, int iPhi2)
EGHcalRecHitSelector(const edm::ParameterSet &config, edm::ConsumesCollector)
static int calDIEta(int iEta1, int iEta2)
float minEnergyHEDefault_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
static edm::ParameterSetDescription makePSetDescription()
tuple config
parse the configuration file
float getMinEnergyHCAL_(HcalDetId id) const