48 : hfclusters_(conf.getParameter<
edm::
InputTag>(
"hfclusters")),
49 HFDBversion_(conf.existsAs<
bool>(
"HFDBversion") ? conf.getParameter<
int>(
"HFDBversion") : 99),
50 HFDBvector_(conf.existsAs<
bool>(
"HFDBvector") ? conf.getParameter<
std::
vector<double> >(
"HFDBvector")
52 Cut2D_(conf.getParameter<
double>(
"intercept2DCut")),
56 : ((Cut2D_ > 0.83 && Cut2D_ <= 0.9) ? (0.275) : (0.2))),
57 hfvars_(HFDBversion_, HFDBvector_),
58 algo_(conf.existsAs<
bool>(
"Correct") ? conf.getParameter<
bool>(
"Correct") :
true,
59 conf.getParameter<
double>(
"e9e25Cut"),
60 conf.getParameter<
double>(
"intercept2DCut"),
61 conf.existsAs<
bool>(
"intercept2DSlope") ? conf.getParameter<
double>(
"intercept2DSlope") : defaultSlope2D_,
62 conf.getParameter<std::vector<double> >(
"e1e9Cut"),
63 conf.getParameter<std::vector<double> >(
"eCOREe9Cut"),
64 conf.getParameter<std::vector<double> >(
"eSeLCut"),
66 produces<reco::RecoEcalCandidateCollection>();
79 auto retdata1 = std::make_unique<reco::RecoEcalCandidateCollection>();
81 algo_.
produce(super_clus, *hf_assoc, *retdata1, nvertex);
const reco::HFValueStruct hfvars_
HLTHFRecoEcalCandidateProducer(edm::ParameterSet const &conf)
const edm::InputTag hfclusters_
void produce(const edm::Handle< reco::SuperClusterCollection > &SuperClusters, const reco::HFEMClusterShapeAssociationCollection &AssocShapes, reco::RecoEcalCandidateCollection &RecoECand, int nvtx) const
const HFRecoEcalCandidateAlgo algo_
const edm::InputTag vertices_
void produce(edm::StreamID, edm::Event &, edm::EventSetup const &) const override
const std::vector< double > HFDBvector_
const double defaultSlope2D_