Go to the documentation of this file.
29 if (sc.
seed()->hitsAndFractions().at(0).first.subdetId() !=
EcalBarrel &&
30 sc.
seed()->hitsAndFractions().at(0).first.subdetId() !=
EcalEndcap) {
31 throw cms::Exception(
"PFECALSuperClusterProducer::calculateRegressedEnergy")
32 <<
"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_
T const * product() const
std::vector< Vertex > VertexCollection
collection of Vertex objects
const CaloTopologyRecord * topo_record
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
edm::Handle< EcalRecHitCollection > rechitsEE
const CaloGeometryRecord * geom_record
void setTokens(const edm::ParameterSet &, edm::ConsumesCollector &&)
edm::Handle< reco::VertexCollection > vertices
const CaloClusterPtr & seed() const
seed BasicCluster
edm::EDGetTokenT< EcalRecHitCollection > inputTagEERecHits_
edm::Handle< EcalRecHitCollection > rechitsEB
void fillVec(std::vector< float > &inputVec) const
T getParameter(std::string const &) const
edm::EDGetTokenT< EcalRecHitCollection > inputTagEBRecHits_
unsigned long long cacheIdentifier() const
void update(const edm::EventSetup &)