◆ EgammaHLTHGCalIDVarProducer()
EgammaHLTHGCalIDVarProducer::EgammaHLTHGCalIDVarProducer |
( |
const edm::ParameterSet & |
config | ) |
|
|
explicit |
Definition at line 60 of file EgammaHLTHGCalIDVarProducer.cc.
64 consumes<reco::RecoEcalCandidateCollection>(
config.getParameter<
edm::InputTag>(
"recoEcalCandidateProducer"))),
78 produces<reco::RecoEcalCandidateIsolationMap>(
"rVar");
79 produces<reco::RecoEcalCandidateIsolationMap>(
"hForHOverE");
81 produces<reco::RecoEcalCandidateIsolationMap>(
var.name());
References pcaAssocMaps_, HGCalShowerShapeHelper::ShowerWidths::sigma2uu, HGCalShowerShapeHelper::ShowerWidths::sigma2vv, HGCalShowerShapeHelper::ShowerWidths::sigma2ww, HGCalShowerShapeHelper::ShowerWidths::sigma2xx, HGCalShowerShapeHelper::ShowerWidths::sigma2xy, HGCalShowerShapeHelper::ShowerWidths::sigma2yy, HGCalShowerShapeHelper::ShowerWidths::sigma2yz, HGCalShowerShapeHelper::ShowerWidths::sigma2zx, HGCalShowerShapeHelper::ShowerWidths::sigma2zz, and trigObjTnPSource_cfi::var.
◆ ~EgammaHLTHGCalIDVarProducer()
EgammaHLTHGCalIDVarProducer::~EgammaHLTHGCalIDVarProducer |
( |
| ) |
|
|
override |
◆ fillDescriptions()
◆ produce()
Definition at line 97 of file EgammaHLTHGCalIDVarProducer.cc.
104 auto rVarMap = std::make_unique<reco::RecoEcalCandidateIsolationMap>(recoEcalCandHandle);
105 auto hForHoverEMap = std::make_unique<reco::RecoEcalCandidateIsolationMap>(recoEcalCandHandle);
107 pcaMap.initMap(recoEcalCandHandle);
110 for (
size_t candNr = 0; candNr < recoEcalCandHandle->size(); candNr++) {
117 hForHoverEMap->insert(candRef, hForHoverE);
120 pcaMap.insert(candRef, pcaWidths);
126 iEvent.put(pcaMap.releaseMap(), pcaMap.name());
References HGCalShowerShapeHelper::getPCAWidths(), HGCalShowerShapeHelper::getRvar(), HGCalClusterTools::hadEnergyInCone(), HLTEgPhaseIITestSequence_cff::hgcalRecHits, hgcalRecHitToken_, hOverECone_, iEvent, HGCalShowerShapeHelper::initPerEvent(), HGCalShowerShapeHelper::initPerObject(), HLTEgPhaseIITestSequence_cff::layerClusters, layerClusterToken_, eostools::move(), pcaAssocMaps_, rCylinder_, recoEcalCandidateToken_, and ssCalc_.
◆ hgcalRecHitToken_
◆ hOverECone_
float EgammaHLTHGCalIDVarProducer::hOverECone_ |
|
private |
◆ layerClusterToken_
◆ pcaAssocMaps_
std::vector<PCAAssocMap> EgammaHLTHGCalIDVarProducer::pcaAssocMaps_ |
|
private |
◆ rCylinder_
float EgammaHLTHGCalIDVarProducer::rCylinder_ |
|
private |
◆ recoEcalCandidateToken_
◆ ssCalc_
void initPerObject(const std::vector< std::pair< DetId, float > > &hitsAndFracs, double minHitE=0, double minHitET=0, int minLayer=1, int maxLayer=-1, DetId::Detector subDet=DetId::HGCalEE)