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")) {
37 if (thePhoton.
isEB()) {
39 std::cout <<
"The photon is in the barrel" << std::endl;
46 std::cout <<
" Stored the hits belonging to the photon superCluster seed " << std::endl;
50 std::cout <<
" Calling PCA initial computation" << std::endl;
63 if (theElectron.
isEB()) {
65 std::cout <<
"The electron is in the barrel" << std::endl;
72 std::cout <<
" Stored the hits belonging to the electronCluster " << std::endl;
76 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)
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)
bool getData(T &iHolder) const
void produceHGCalIso(const reco::CaloClusterPtr &seedCluster)
edm::InputTag bhRecHitInputTag_
void setRecHitTools(const hgcal::RecHitTools *recHitTools)
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeometry_
edm::InputTag hitMapInputTag_
std::vector< double > dEdXWeights_
hgcal::EGammaPCAHelper pcaHelper_
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 setHitMap(const std::unordered_map< DetId, const HGCRecHit *> *hitMap)
to set once per event
edm::EDGetTokenT< std::unordered_map< DetId, const HGCRecHit * > > hitMap_
edm::InputTag eeRecHitInputTag_