Go to the documentation of this file.
28 if (verbosityString ==
"DEBUG")
30 else if (verbosityString ==
"WARNING")
32 else if (verbosityString ==
"INFO")
51 if (verbosityString ==
"INFO") {
81 double averEnergy = 0.;
82 std::ostringstream
str;
83 str <<
"HiSuperClusterProducer::endJob()\n"
85 <<
" total energy of all clusters: " <<
totalE <<
"\n";
88 str <<
" average SuperCluster energy = " << averEnergy <<
"\n";
112 auto superclusters_ap =
116 reco::SuperClusterCollection::iterator it;
117 for (it = superclusters_ap->begin(); it != superclusters_ap->end(); it++) {
125 delete clusterPtrVector_p;
136 edm::LogError(
"HiSuperClusterProducerError") <<
"could not get a handle on the BasicCluster Collection!";
137 clusterPtrVector_p =
nullptr;
141 for (
unsigned int i = 0;
i < clusterCollection_p->size();
i++) {
float endcapBCEnergyThreshold_
edm::EDGetTokenT< reco::BasicClusterCollection > eeClustersToken_
T const * product() const
HiSuperClusterProducer(const edm::ParameterSet &ps)
Log< level::Info, false > LogInfo
float barrelEtaSearchRoad_
HiBremRecoveryClusterAlgo * bremAlgo_p
HiBremRecoveryClusterAlgo::VerbosityLevel verbosity
std::string endcapSuperclusterCollection_
#define DEFINE_FWK_MODULE(type)
float endcapEtaSearchRoad_
void produce(edm::Event &, const edm::EventSetup &) override
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::vector< BasicCluster > BasicClusterCollection
collection of BasicCluster objects
void push_back(Ptr< T > const &iPtr)
float seedTransverseEnergyThreshold_
float barrelPhiSearchRoad_
edm::PtrVector< CaloCluster > CaloClusterPtrVector
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
std::string barrelSuperclusterCollection_
Log< level::Error, false > LogError
void getClusterPtrVector(edm::Event &evt, const edm::EDGetTokenT< reco::BasicClusterCollection > &clustersToken, reco::CaloClusterPtrVector *)
~HiSuperClusterProducer() override
T getParameter(std::string const &) const
float endcapPhiSearchRoad_
edm::EDGetTokenT< reco::BasicClusterCollection > ebClustersToken_
void produceSuperclustersForECALPart(edm::Event &evt, const edm::EDGetTokenT< reco::BasicClusterCollection > &clustersToken, std::string superclusterColection)
float barrelBCEnergyThreshold_
reco::SuperClusterCollection makeSuperClusters(reco::CaloClusterPtrVector &clusters)