49 endcapEtaSearchRoad_, endcapPhiSearchRoad_,
50 dynamicPhiRoad, seedTransverseEnergyThreshold_);
68 double averEnergy = 0.;
69 std::ostringstream
str;
70 str <<
"Multi5x5SuperClusterProducer::endJob()\n" 72 <<
" total energy of all clusters: " <<
totalE <<
"\n";
75 str <<
" average SuperCluster energy = " << averEnergy <<
"\n";
77 edm::LogInfo(
"Multi5x5SuperClusterProducerInfo") << str.str() <<
"\n";
107 reco::SuperClusterCollection::iterator it;
108 for (it = superclusters_ap->begin(); it != superclusters_ap->end(); it++)
115 evt.
put(
std::move(superclusters_ap), superclusterCollection);
117 delete clusterPtrVector_p;
129 for (
unsigned int i = 0;
i < clusterCollection_p->size();
i++)
T getParameter(std::string const &) const
float barrelPhiSearchRoad_
edm::EDGetTokenT< reco::BasicClusterCollection > eeClustersToken_
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
std::string barrelSuperclusterCollection_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void produce(edm::Event &, const edm::EventSetup &) override
void push_back(Ptr< T > const &iPtr)
float endcapEtaSearchRoad_
void endStream() override
Multi5x5BremRecoveryClusterAlgo * bremAlgo_p
float seedTransverseEnergyThreshold_
Multi5x5SuperClusterProducer(const edm::ParameterSet &ps)
float endcapPhiSearchRoad_
edm::PtrVector< CaloCluster > CaloClusterPtrVector
edm::EDGetTokenT< reco::BasicClusterCollection > ebClustersToken_
void produceSuperclustersForECALPart(edm::Event &evt, const edm::EDGetTokenT< reco::BasicClusterCollection > &clustersToken, std::string superclusterColection)
T const * product() const
float barrelEtaSearchRoad_
~Multi5x5SuperClusterProducer() override
std::vector< BasicCluster > BasicClusterCollection
collection of BasicCluster objects
void getClusterPtrVector(edm::Event &evt, const edm::EDGetTokenT< reco::BasicClusterCollection > &clustersToken, reco::CaloClusterPtrVector *)
reco::SuperClusterCollection makeSuperClusters(const reco::CaloClusterPtrVector &clusters)
std::string endcapSuperclusterCollection_