6 : eeRecHitInputTag_(iConfig.getParameter<
edm::
InputTag>(
"EERecHits")),
7 fhRecHitInputTag_(iConfig.getParameter<
edm::
InputTag>(
"FHRecHits")),
8 bhRecHitInputTag_(iConfig.getParameter<
edm::
InputTag>(
"BHRecHits")),
9 hitMapInputTag_(iConfig.getParameter<
edm::
InputTag>(
"hitMapTag")),
10 dEdXWeights_(iConfig.getParameter<
std::
vector<double>>(
"dEdXWeights")) {
38 if (thePhoton.
isEB()) {
40 std::cout <<
"The photon is in the barrel" << std::endl;
47 std::cout <<
" Stored the hits belonging to the photon superCluster seed " << std::endl;
51 std::cout <<
" Calling PCA initial computation" << std::endl;
64 if (theElectron.
isEB()) {
66 std::cout <<
"The electron is in the barrel" << std::endl;
73 std::cout <<
" Stored the hits belonging to the electronCluster " << std::endl;
77 std::cout <<
" Calling PCA initial computation" << std::endl;
void computeShowerWidth(float radius, bool withHalo=true)
T getParameter(std::string const &) const
void setMinDeltaR(const float dr)
void computePCA(float radius, bool withHalo=true)
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
edm::EDGetTokenT< HGCRecHitCollection > recHitsBH_
edm::InputTag fhRecHitInputTag_
void setNRings(const size_t nrings)
edm::EDGetTokenT< HGCRecHitCollection > recHitsFH_
void setdEdXWeights(const std::vector< double > &dEdX)
void setRecHits(edm::Handle< HGCRecHitCollection > hitsEE, edm::Handle< HGCRecHitCollection > hitsFH, edm::Handle< HGCRecHitCollection > hitsBH)
fill - once per event
hgcal::RecHitTools recHitTools_
void setDeltaR(const float dr)
edm::EDGetTokenT< HGCRecHitCollection > recHitsEE_
T getUntrackedParameter(std::string const &, T const &) const
void storeRecHits(const reco::CaloCluster &theCluster)
reco::SuperClusterRef superCluster() const override
Ref to SuperCluster.
void setRecHitTools(const hgcal::RecHitTools *recHitTools)
void produceHGCalIso(const reco::CaloClusterPtr &seedCluster)
edm::InputTag bhRecHitInputTag_
edm::EDGetTokenT< std::unordered_map< DetId, const unsigned int > > hitMap_
void setRecHitTools(const hgcal::RecHitTools *recHitTools)
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeometry_
edm::InputTag hitMapInputTag_
std::vector< double > dEdXWeights_
hgcal::EGammaPCAHelper pcaHelper_
void setHitMap(const std::unordered_map< DetId, const unsigned int > *hitMap)
to set once per event
void computeHGCAL(const reco::Photon &thePhoton, float radius)
void eventInit(const edm::Event &iEvent, const edm::EventSetup &iSetup)
CaloClusterPtr electronCluster() const
void pcaInitialComputation()
HGCalIsoCalculator isoHelper_
void setRecHits(edm::Handle< HGCRecHitCollection > recHitHandleEE, edm::Handle< HGCRecHitCollection > recHitHandleFH, edm::Handle< HGCRecHitCollection > recHitHandleBH)
edm::InputTag eeRecHitInputTag_