Go to the documentation of this file.
28 if (sc.
seed()->hitsAndFractions().at(0).first.subdetId() !=
EcalBarrel &&
29 sc.
seed()->hitsAndFractions().at(0).first.subdetId() !=
EcalEndcap) {
30 throw cms::Exception(
"PFECALSuperClusterProducer::calculateRegressedEnergy")
31 <<
"Supercluster seed is either EB nor EE!" << std::endl;
T const * product() const
void setEvent(const edm::Event &)
edm::ESHandle< CaloTopology > calotopo
edm::EDGetTokenT< reco::VertexCollection > inputTagVertices_
const CaloTopologyRecord * topo_record
EcalRecHitCollection const * rechitsEE
edm::ESHandle< CaloGeometry > calogeom
void set(const reco::SuperCluster &, std::vector< float > &) const
void fill(const reco::SuperCluster &superClus, const EcalRecHitCollection *ebRecHits, const EcalRecHitCollection *eeRecHits, const CaloGeometry *geom, const CaloTopology *topology, const reco::VertexCollection *vertices)
ProductT const & get(ESGetToken< ProductT, DepRecordT > const &iToken) const
const CaloGeometryRecord * geom_record
void setTokens(const edm::ParameterSet &, edm::ConsumesCollector &&)
const CaloClusterPtr & seed() const
seed BasicCluster
edm::EDGetTokenT< EcalRecHitCollection > inputTagEERecHits_
EcalRecHitCollection const * rechitsEB
void fillVec(std::vector< float > &inputVec) const
edm::EDGetTokenT< EcalRecHitCollection > inputTagEBRecHits_
reco::VertexCollection const * vertices
T getParameter(std::string const &) const
unsigned long long cacheIdentifier() const
void update(const edm::EventSetup &)