25 barrelEtaSearchRoad_{
static_cast<float>(ps.
getParameter<
double>(
"barrelEtaSearchRoad"))},
30 doBarrel_{ps.getParameter<
bool>(
"doBarrel")},
31 doEndcaps_{ps.getParameter<
bool>(
"doEndcaps")},
38 consumes<reco::BasicClusterCollection>(ps.getParameter<
edm::InputTag>(
"endcapClusterTag"));
42 consumes<reco::BasicClusterCollection>(ps.getParameter<
edm::InputTag>(
"barrelClusterTag"));
63 double averEnergy = 0.;
64 std::ostringstream
str;
65 str <<
"Multi5x5SuperClusterProducer::endJob()\n" 67 <<
" total energy of all clusters: " <<
totalE <<
"\n";
70 str <<
" average SuperCluster energy = " << averEnergy <<
"\n";
72 edm::LogInfo(
"Multi5x5SuperClusterProducerInfo") << str.str() <<
"\n";
99 for (
auto const&
sc: superclusters_ap)
119 clusterPtrVector_p.
reserve(clusterCollection_p->size());
120 for (
unsigned int i = 0;
i < clusterCollection_p->size();
i++)
124 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