#include <L2TauNarrowConeIsolationProducer.h>
Classes | |
struct | CrystalPtComparator |
Public Types | |
typedef reco::CaloJet | CaloJet |
typedef reco::CaloJetCollection | CaloJetCollection |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Private Member Functions | |
virtual void | beginJob () |
virtual void | endJob () |
math::PtEtaPhiELorentzVectorCollection | getECALHits (const CaloJet &, const edm::Event &, const edm::EventSetup &iSetup) |
math::PtEtaPhiELorentzVectorCollection | getHCALHits (const CaloJet &, const edm::Event &) |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
double | associationRadius_ |
edm::EDGetTokenT < CaloTowerCollection > | CaloTowers_ |
CrystalPtComparator | comparePt |
double | crystalThresholdB_ |
double | crystalThresholdE_ |
edm::EDGetTokenT < EBRecHitCollection > | EBRecHits_ |
double | ECALClustering_clusterRadius_ |
bool | ECALClustering_run_ |
double | ECALIsolation_innerCone_ |
double | ECALIsolation_outerCone_ |
bool | ECALIsolation_run_ |
edm::EDGetTokenT < EERecHitCollection > | EERecHits_ |
edm::EDGetTokenT < reco::CaloJetCollection > | l2CaloJets_ |
double | TowerIsolation_innerCone_ |
double | TowerIsolation_outerCone_ |
bool | TowerIsolation_run_ |
double | towerThreshold_ |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 52 of file L2TauNarrowConeIsolationProducer.h.
Definition at line 54 of file L2TauNarrowConeIsolationProducer.h.
Definition at line 55 of file L2TauNarrowConeIsolationProducer.h.
|
explicit |
Definition at line 8 of file L2TauNarrowConeIsolationProducer.cc.
References ECALClustering_clusterRadius_, ECALClustering_run_, ECALIsolation_innerCone_, ECALIsolation_outerCone_, ECALIsolation_run_, edm::ParameterSet::getParameter(), TowerIsolation_innerCone_, TowerIsolation_outerCone_, and TowerIsolation_run_.
L2TauNarrowConeIsolationProducer::~L2TauNarrowConeIsolationProducer | ( | ) |
Definition at line 43 of file L2TauNarrowConeIsolationProducer.cc.
|
privatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 119 of file L2TauNarrowConeIsolationProducer.cc.
|
privatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 125 of file L2TauNarrowConeIsolationProducer.cc.
|
private |
Definition at line 156 of file L2TauNarrowConeIsolationProducer.cc.
References associationRadius_, comparePt, crystalThresholdB_, crystalThresholdE_, HLT_25ns14e33_v1_cff::DeltaR, egHLT::errCodes::EBRecHits, EBRecHits_, DetId::Ecal, EcalBarrel, EcalEndcap, HWWFunctions::EE, egHLT::errCodes::EERecHits, EERecHits_, relval_parameters_module::energy, eta, PV3DBase< T, PVType, FrameType >::eta(), geometry, edm::EventSetup::get(), edm::Event::getByToken(), CaloSubdetectorGeometry::getGeometry(), CaloCellGeometry::getPosition(), M_PI, AlCaHLTBitMon_ParallelJobs::p, reco::LeafCandidate::p4(), phi, PV3DBase< T, PVType, FrameType >::phi(), funct::sin(), python.multivaluedict::sort(), PV3DBase< T, PVType, FrameType >::theta(), and theta().
Referenced by produce().
|
private |
Definition at line 131 of file L2TauNarrowConeIsolationProducer.cc.
References associationRadius_, CaloTowers_, comparePt, HLT_25ns14e33_v1_cff::DeltaR, relval_parameters_module::energy, eta, edm::Event::getByToken(), i, reco::LeafCandidate::p4(), phi, python.multivaluedict::sort(), HLT_25ns14e33_v1_cff::towers, and towerThreshold_.
Referenced by produce().
|
overrideprivatevirtual |
Implements edm::EDProducer.
Definition at line 52 of file L2TauNarrowConeIsolationProducer.cc.
References L2TauSimpleClustering::clusterize(), HLT_25ns14e33_v1_cff::clusters, L2TauIsolationAlgs::clusterShape(), ECALClustering_clusterRadius_, ECALClustering_run_, ECALIsolation_innerCone_, ECALIsolation_outerCone_, ECALIsolation_run_, edm::Event::getByToken(), getECALHits(), getHCALHits(), spr::hitsHCAL(), info(), L2TauIsolationAlgs::isolatedEt(), l2CaloJets_, edm::Event::put(), reco::L2TauIsolationInfo::setEcalClusterShape(), reco::L2TauIsolationInfo::setEcalIsolEt(), reco::L2TauIsolationInfo::setHcalIsolEt(), reco::L2TauIsolationInfo::setNEcalHits(), reco::L2TauIsolationInfo::setSeedEcalHitEt(), reco::L2TauIsolationInfo::setSeedHcalHitEt(), TowerIsolation_innerCone_, TowerIsolation_outerCone_, and TowerIsolation_run_.
|
private |
Definition at line 74 of file L2TauNarrowConeIsolationProducer.h.
Referenced by getECALHits(), and getHCALHits().
|
private |
Definition at line 72 of file L2TauNarrowConeIsolationProducer.h.
Referenced by getHCALHits().
|
private |
Definition at line 107 of file L2TauNarrowConeIsolationProducer.h.
Referenced by getECALHits(), and getHCALHits().
|
private |
Definition at line 78 of file L2TauNarrowConeIsolationProducer.h.
Referenced by getECALHits().
|
private |
Definition at line 77 of file L2TauNarrowConeIsolationProducer.h.
Referenced by getECALHits().
|
private |
Definition at line 70 of file L2TauNarrowConeIsolationProducer.h.
Referenced by getECALHits().
|
private |
Definition at line 97 of file L2TauNarrowConeIsolationProducer.h.
Referenced by L2TauNarrowConeIsolationProducer(), and produce().
|
private |
Definition at line 96 of file L2TauNarrowConeIsolationProducer.h.
Referenced by L2TauNarrowConeIsolationProducer(), and produce().
|
private |
Definition at line 86 of file L2TauNarrowConeIsolationProducer.h.
Referenced by L2TauNarrowConeIsolationProducer(), and produce().
|
private |
Definition at line 87 of file L2TauNarrowConeIsolationProducer.h.
Referenced by L2TauNarrowConeIsolationProducer(), and produce().
|
private |
Definition at line 84 of file L2TauNarrowConeIsolationProducer.h.
Referenced by L2TauNarrowConeIsolationProducer(), and produce().
|
private |
Definition at line 71 of file L2TauNarrowConeIsolationProducer.h.
Referenced by getECALHits().
|
private |
Definition at line 69 of file L2TauNarrowConeIsolationProducer.h.
Referenced by produce().
|
private |
Definition at line 92 of file L2TauNarrowConeIsolationProducer.h.
Referenced by L2TauNarrowConeIsolationProducer(), and produce().
|
private |
Definition at line 93 of file L2TauNarrowConeIsolationProducer.h.
Referenced by L2TauNarrowConeIsolationProducer(), and produce().
|
private |
Definition at line 90 of file L2TauNarrowConeIsolationProducer.h.
Referenced by L2TauNarrowConeIsolationProducer(), and produce().
|
private |
Definition at line 79 of file L2TauNarrowConeIsolationProducer.h.
Referenced by getHCALHits().