46 bool dynamicPhiRoad = ps.
getParameter<
bool>(
"dynamicPhiRoad");
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";
104 std::auto_ptr<reco::SuperClusterCollection>
108 reco::SuperClusterCollection::iterator it;
109 for (it = superclusters_ap->begin(); it != superclusters_ap->end(); it++)
116 evt.
put(superclusters_ap, superclusterCollection);
118 delete clusterPtrVector_p;
130 for (
unsigned int i = 0;
i < clusterCollection_p->size();
i++)
T getParameter(std::string const &) const
float barrelPhiSearchRoad_
edm::EDGetTokenT< reco::BasicClusterCollection > eeClustersToken_
std::string barrelSuperclusterCollection_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
virtual void produce(edm::Event &, const edm::EventSetup &) override
void push_back(Ptr< T > const &iPtr)
reco::SuperClusterCollection makeSuperClusters(reco::CaloClusterPtrVector &clusters)
float endcapEtaSearchRoad_
virtual void endStream() override
~Multi5x5SuperClusterProducer()
Multi5x5BremRecoveryClusterAlgo * bremAlgo_p
std::vector< SuperCluster > SuperClusterCollection
collection of SuperCluser objectr
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
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)
float barrelEtaSearchRoad_
std::vector< BasicCluster > BasicClusterCollection
collection of BasicCluster objects
T const * product() const
void getClusterPtrVector(edm::Event &evt, const edm::EDGetTokenT< reco::BasicClusterCollection > &clustersToken, reco::CaloClusterPtrVector *)
std::string endcapSuperclusterCollection_