25 std::vector<float>& vars )
const {
31 if( sc.
seed()->hitsAndFractions().at(0).first.subdetId()!=
EcalBarrel &&
33 throw cms::Exception(
"PFECALSuperClusterProducer::calculateRegressedEnergy")
34 <<
"Supercluster seed is either EB nor EE!" << std::endl;
T getParameter(std::string const &) const
unsigned long long cacheIdentifier() const
edm::EDGetTokenT< EcalRecHitCollection > inputTagEERecHits_
void setTokens(const edm::ParameterSet &, edm::ConsumesCollector &&)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void fill(const reco::SuperCluster &superClus, const EcalRecHitCollection *ebRecHits, const EcalRecHitCollection *eeRecHits, const CaloGeometry *geom, const CaloTopology *topology, const reco::VertexCollection *vertices)
edm::Handle< reco::VertexCollection > vertices
std::vector< Vertex > VertexCollection
collection of Vertex objects
edm::Handle< EcalRecHitCollection > rechitsEB
edm::EDGetTokenT< EcalRecHitCollection > inputTagEBRecHits_
void get(HolderT &iHolder) const
edm::ESHandle< CaloTopology > calotopo
void update(const edm::EventSetup &)
edm::EDGetTokenT< reco::VertexCollection > inputTagVertices_
void fillVec(std::vector< float > &inputVec) const
void setEvent(const edm::Event &)
const CaloTopologyRecord * topo_record
edm::ESHandle< CaloGeometry > calogeom
T const * product() const
T const * product() const
const CaloGeometryRecord * geom_record
const CaloClusterPtr & seed() const
seed BasicCluster
edm::Handle< EcalRecHitCollection > rechitsEE
void set(const reco::SuperCluster &, std::vector< float > &) const