59 double barrelSeedThreshold = ps.
getParameter<
double>(
"IslandBarrelSeedThr");
60 double endcapSeedThreshold = ps.
getParameter<
double>(
"IslandEndcapSeedThr");
143 clusters =
island_p->
makeClusters(hitCollection_p, geometry_p, topology_p, geometryES_p, ecalPart);
146 std::vector <reco::ClusterShape> ClusVec;
147 for (
int erg=0;erg<int(clusters.size());++erg){
149 ClusVec.push_back(TestShape);
154 clustersshapes_p->assign(ClusVec.begin(), ClusVec.end());
163 clusters_p->assign(clusters.begin(), clusters.end());
173 for (
unsigned int i = 0;
i < clusHandle->size();
i++){
176 evt.
put(shapeAssocs_p,clusterShapeAssociation);
T getParameter(std::string const &) const
IslandClusterProducer(const edm::ParameterSet &ps)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::vector< ClusterShape > ClusterShapeCollection
collection of ClusterShape objects
PositionCalc posCalculator_
std::string endcapClusterCollection_
std::string clustershapecollectionEE_
reco::ClusterShape Calculate(const reco::BasicCluster &passedCluster, const EcalRecHitCollection *hits, const CaloSubdetectorGeometry *geometry, const CaloSubdetectorTopology *topology)
edm::EDGetTokenT< EcalRecHitCollection > barrelRecHits_
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
edm::EDGetTokenT< EcalRecHitCollection > endcapRecHits_
std::vector< reco::BasicCluster > makeClusters(const EcalRecHitCollection *hits, const CaloSubdetectorGeometry *geometry, const CaloSubdetectorTopology *topology_p, const CaloSubdetectorGeometry *geometryES_p, EcalPart ecalPart, bool regional=false, const std::vector< EcalEtaPhiRegion > ®ions=std::vector< EcalEtaPhiRegion >())
std::string barrelClusterShapeAssociation_
ClusterShapeAlgo shapeAlgo_
IslandClusterAlgo * island_p
T const * product() const
std::string endcapClusterShapeAssociation_
std::vector< BasicCluster > BasicClusterCollection
collection of BasicCluster objects
const EcalRecHitCollection * getCollection(edm::Event &evt, const edm::EDGetTokenT< EcalRecHitCollection > &token)
void clusterizeECALPart(edm::Event &evt, const edm::EventSetup &es, const edm::EDGetTokenT< EcalRecHitCollection > &token, const std::string &clusterCollection, const std::string &clusterShapeAssociation, const IslandClusterAlgo::EcalPart &ecalPart)
std::string barrelClusterCollection_
IslandClusterAlgo::VerbosityLevel verbosity
virtual void produce(edm::Event &, const edm::EventSetup &) override
std::string clustershapecollectionEB_