Go to the documentation of this file.
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")) {
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 computeHGCAL(const reco::Photon &thePhoton, float radius)
reco::SuperClusterRef superCluster() const override
Ref to SuperCluster.
void eventInit(const edm::Event &iEvent, const edm::EventSetup &iSetup)
void fillHitMap(const HGCRecHitCollection &HGCEERecHits, const HGCRecHitCollection &HGCFHRecHits, const HGCRecHitCollection &HGCBHRecHits)
to compute from inside - once per event
HGCalIsoCalculator isoHelper_
void setRecHits(edm::Handle< HGCRecHitCollection > hitsEE, edm::Handle< HGCRecHitCollection > hitsFH, edm::Handle< HGCRecHitCollection > hitsBH)
fill - once per event
void setMinDeltaR(const float dr)
hgcal::RecHitTools recHitTools_
void setRecHitTools(const hgcal::RecHitTools *recHitTools)
void pcaInitialComputation()
T getUntrackedParameter(std::string const &, T const &) const
void setdEdXWeights(const std::vector< double > &dEdX)
void setDeltaR(const float dr)
void setNRings(const size_t nrings)
edm::EDGetTokenT< HGCRecHitCollection > recHitsFH_
edm::InputTag fhRecHitInputTag_
void storeRecHits(const reco::CaloCluster &theCluster)
std::vector< double > dEdXWeights_
edm::InputTag eeRecHitInputTag_
edm::EDGetTokenT< HGCRecHitCollection > recHitsEE_
edm::InputTag bhRecHitInputTag_
void computeShowerWidth(float radius, bool withHalo=true)
T getParameter(std::string const &) const
void computePCA(float radius, bool withHalo=true)
CaloClusterPtr electronCluster() const
void produceHGCalIso(const reco::CaloClusterPtr &seedCluster)
hgcal::EGammaPCAHelper pcaHelper_
void setRecHitTools(const hgcal::RecHitTools *recHitTools)
edm::EDGetTokenT< HGCRecHitCollection > recHitsBH_