6 eeRecHitInputTag_(iConfig.getParameter<
edm::InputTag> (
"EERecHits") ),
7 fhRecHitInputTag_(iConfig.getParameter<
edm::InputTag> (
"FHRecHits") ),
8 bhRecHitInputTag_(iConfig.getParameter<
edm::InputTag> (
"BHRecHits") ),
9 dEdXWeights_(iConfig.getParameter<
std::vector<double> >(
"dEdXWeights"))
38 if (thePhoton.
isEB()) {
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()) {
71 std::cout <<
" Stored the hits belonging to the electronCluster " << std::endl;
75 std::cout <<
" Calling PCA initial computation" << std::endl;
void computeShowerWidth(float radius, bool withHalo=true)
CaloClusterPtr electronCluster() const
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
void setMinDeltaR(const float dr)
void computePCA(float radius, bool withHalo=true)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
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_
reco::SuperClusterRef superCluster() const override
Ref to SuperCluster.
void setDeltaR(const float dr)
edm::EDGetTokenT< HGCRecHitCollection > recHitsEE_
void storeRecHits(const reco::CaloCluster &theCluster)
void setRecHitTools(const hgcal::RecHitTools *recHitTools)
void produceHGCalIso(const reco::CaloClusterPtr &seedCluster)
edm::InputTag bhRecHitInputTag_
void setRecHitTools(const hgcal::RecHitTools *recHitTools)
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)
void pcaInitialComputation()
HGCalIsoCalculator isoHelper_
void fillHitMap(const HGCRecHitCollection &HGCEERecHits, const HGCRecHitCollection &HGCFHRecHits, const HGCRecHitCollection &HGCBHRecHits)
to compute from inside - once per event
edm::InputTag eeRecHitInputTag_