24 : barrelEtaSearchRoad_{
static_cast<float>(ps.
getParameter<
double>(
"barrelEtaSearchRoad"))},
29 doBarrel_{ps.getParameter<
bool>(
"doBarrel")},
30 doEndcaps_{ps.getParameter<
bool>(
"doEndcaps")},
53 produces<reco::SuperClusterCollection>(ps.getParameter<
std::string>(
"endcapSuperclusterCollection"));
57 produces<reco::SuperClusterCollection>(ps.getParameter<
std::string>(
"barrelSuperclusterCollection"));
62 double averEnergy = 0.;
63 std::ostringstream
str;
64 str <<
"Multi5x5SuperClusterProducer::endJob()\n" 66 <<
" total energy of all clusters: " <<
totalE <<
"\n";
69 str <<
" average SuperCluster energy = " << averEnergy <<
"\n";
71 edm::LogInfo(
"Multi5x5SuperClusterProducerInfo") << str.str() <<
"\n";
93 for (
auto const&
sc : superclusters_ap) {
109 clusterPtrVector_p.
reserve(clusterCollection_p->size());
110 for (
unsigned int i = 0;
i < clusterCollection_p->size();
i++) {
113 return clusterPtrVector_p;
T getParameter(std::string const &) const
edm::EDGetTokenT< reco::BasicClusterCollection > eeClustersToken_
const float endcapPhiSearchRoad_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void produce(edm::Event &, const edm::EventSetup &) override
void push_back(Ptr< T > const &iPtr)
void endStream() override
std::unique_ptr< Multi5x5BremRecoveryClusterAlgo > bremAlgo_p
const float barrelPhiSearchRoad_
void produceSuperclustersForECALPart(edm::Event &evt, const edm::EDGetTokenT< reco::BasicClusterCollection > &clustersToken, const edm::EDPutTokenT< reco::SuperClusterCollection > &putToken)
std::vector< SuperCluster > SuperClusterCollection
collection of SuperCluser objectr
Multi5x5SuperClusterProducer(const edm::ParameterSet &ps)
edm::EDPutTokenT< reco::SuperClusterCollection > endcapPutToken_
float energy() const
Energy. Note this is taken from the first SimTrack only.
const float endcapEtaSearchRoad_
edm::EDPutTokenT< reco::SuperClusterCollection > barrelPutToken_
edm::EDGetTokenT< reco::BasicClusterCollection > ebClustersToken_
const float barrelEtaSearchRoad_
T const * product() const
OrphanHandle< PROD > emplace(EDPutTokenT< PROD > token, Args &&...args)
puts a new product
std::vector< BasicCluster > BasicClusterCollection
collection of BasicCluster objects
void reserve(size_type n)
Reserve space for RefVector.
const float seedTransverseEnergyThreshold_
reco::CaloClusterPtrVector getClusterPtrVector(edm::Event &evt, const edm::EDGetTokenT< reco::BasicClusterCollection > &clustersToken) const