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"):
std::vector<double>{}),
35 Cut2D_(conf.getParameter<
double>(
"intercept2DCut")),
38 algo_(conf.existsAs<
bool>(
"Correct") ? conf.getParameter<
bool>(
"Correct") :
true,
39 conf.getParameter<
double>(
"e9e25Cut"),
40 conf.getParameter<
double>(
"intercept2DCut"),
41 conf.existsAs<
bool>(
"intercept2DSlope") ? conf.getParameter<
double>(
"intercept2DSlope") :
defaultSlope2D_,
42 conf.getParameter<std::vector<double> >(
"e1e9Cut"),
43 conf.getParameter<std::vector<double> >(
"eCOREe9Cut"),
44 conf.getParameter<std::vector<double> >(
"eSeLCut"),
48 produces<reco::RecoEcalCandidateCollection>();
64 auto retdata1 = std::make_unique<reco::RecoEcalCandidateCollection>();
HLTHFRecoEcalCandidateProducer(edm::ParameterSet const &conf)
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
edm::InputTag hfclusters_
void produce(edm::Event &e, edm::EventSetup const &iSetup) override
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
void produce(const edm::Handle< reco::SuperClusterCollection > &SuperClusters, const reco::HFEMClusterShapeAssociationCollection &AssocShapes, reco::RecoEcalCandidateCollection &RecoECand, int nvtx)
HFRecoEcalCandidateAlgo algo_
std::vector< double > HFDBvector_
reco::HFValueStruct hfvars_