#include <HFEMClusterProducer.h>
Definition at line 15 of file HFEMClusterProducer.h.
◆ HFEMClusterProducer()
Definition at line 14 of file HFEMClusterProducer.cc.
16 produces<reco::HFEMClusterShapeCollection>();
17 produces<reco::BasicClusterCollection>();
18 produces<reco::SuperClusterCollection>();
19 produces<reco::HFEMClusterShapeAssociationCollection>();
20 algo_.
setup(conf.getParameter<
double>(
"minTowerEnergy"),
21 conf.getParameter<
double>(
"seedThresholdET"),
22 conf.getParameter<
double>(
"maximumSL"),
23 conf.getParameter<
double>(
"maximumRenergy"),
24 conf.getParameter<
bool>(
"usePMTFlag"),
25 conf.getParameter<
bool>(
"usePulseFlag"),
26 conf.getParameter<
bool>(
"forcePulseFlagMC"),
27 conf.getParameter<
int>(
"correctionType"));
References algo_, edm::ParameterSet::getParameter(), and HFClusterAlgo::setup().
◆ beginRun()
◆ produce()
Definition at line 30 of file HFEMClusterProducer.cc.
39 auto retdata1 = std::make_unique<HFEMClusterShapeCollection>();
40 auto retdata2 = std::make_unique<SuperClusterCollection>();
52 auto retdata3 = std::make_unique<HFEMClusterShapeAssociationCollection>(SupHandle, ShapeHandle);
54 for (
unsigned int i = 0;
i < ShapeHandle->size();
i++) {
References algo_, HFClusterAlgo::clusterize(), MillePedeFileConverter_cfg::e, geometry, edm::EventSetup::get(), get, hfreco_, mps_fire::i, HFClusterAlgo::isMC(), and eostools::move().
◆ algo_
◆ hfreco_
void setup(double minTowerEnergy, double seedThreshold, double maximumSL, double m_maximumRenergy, bool usePMTflag, bool usePulseflag, bool forcePulseFlagMC, int correctionSet)