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")) {
39 if (thePhoton.
isEB()) {
41 std::cout <<
"The photon is in the barrel" << std::endl;
48 std::cout <<
" Stored the hits belonging to the photon superCluster seed " << std::endl;
52 std::cout <<
" Calling PCA initial computation" << std::endl;
65 if (theElectron.
isEB()) {
67 std::cout <<
"The electron is in the barrel" << std::endl;
74 std::cout <<
" Stored the hits belonging to the electronCluster " << std::endl;
78 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)
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeometry_
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_
ESHandle< T > getHandle(const ESGetToken< T, R > &iToken) const
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_