32 : hfclusters_(conf.getParameter<
edm::
InputTag>(
"hfclusters")),
33 HFDBversion_(conf.existsAs<
bool>(
"HFDBversion") ? conf.getParameter<
int>(
"HFDBversion") : 99),
34 HFDBvector_(conf.existsAs<
bool>(
"HFDBvector") ? conf.getParameter<
std::vector<double> >(
"HFDBvector")
35 :
std::vector<double>{}),
36 Cut2D_(conf.getParameter<
double>(
"intercept2DCut")),
40 : ((Cut2D_ > 0.83 && Cut2D_ <= 0.9) ? (0.275) : (0.2))),
41 hfvars_(HFDBversion_, HFDBvector_),
42 algo_(conf.existsAs<
bool>(
"Correct") ? conf.getParameter<
bool>(
"Correct") :
true,
43 conf.getParameter<
double>(
"e9e25Cut"),
44 conf.getParameter<
double>(
"intercept2DCut"),
45 conf.existsAs<
bool>(
"intercept2DSlope") ? conf.getParameter<
double>(
"intercept2DSlope") : defaultSlope2D_,
46 conf.getParameter<std::vector<double> >(
"e1e9Cut"),
47 conf.getParameter<std::vector<double> >(
"eCOREe9Cut"),
48 conf.getParameter<std::vector<double> >(
"eSeLCut"),
50 produces<reco::RecoEcalCandidateCollection>();
63 auto retdata1 = std::make_unique<reco::RecoEcalCandidateCollection>();
65 algo_.
produce(super_clus, *hf_assoc, *retdata1, nvertex);