#include <L2TauModularIsolationProducer.h>
Classes | |
struct | RecHitPtComparator |
Private Member Functions | |
virtual void | beginJob () |
virtual void | endJob () |
math::PtEtaPhiELorentzVectorCollection | getECALHits (const reco::CaloJet &, const edm::Event &, const edm::EventSetup &iSetup) |
math::PtEtaPhiELorentzVectorCollection | getHCALHits (const reco::CaloJet &, const edm::Event &) |
math::PtEtaPhiELorentzVectorCollection | getPFClusters (const reco::CaloJet &, const edm::Event &, const edm::EDGetTokenT< reco::PFClusterCollection > &) |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
double | associationRadius_ |
edm::EDGetTokenT < CaloTowerCollection > | caloTowers_ |
RecHitPtComparator | comparePt |
double | crystalThresholdB_ |
double | crystalThresholdE_ |
edm::EDGetTokenT < EBRecHitCollection > | EBRecHits_ |
std::string | ecalClusteringAlg_ |
std::string | ecalIsolationAlg_ |
edm::EDGetTokenT < EERecHitCollection > | EERecHits_ |
std::string | hcalClusteringAlg_ |
std::string | hcalIsolationAlg_ |
double | innerConeECAL_ |
double | innerConeHCAL_ |
edm::EDGetTokenT < reco::CaloJetCollection > | l2CaloJets_ |
double | outerConeECAL_ |
double | outerConeHCAL_ |
edm::EDGetTokenT < reco::PFClusterCollection > | pfClustersECAL_ |
edm::EDGetTokenT < reco::PFClusterCollection > | pfClustersHCAL_ |
double | simpleClusterRadiusECAL_ |
double | simpleClusterRadiusHCAL_ |
double | towerThreshold_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
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::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 53 of file L2TauModularIsolationProducer.h.
|
explicit |
Definition at line 10 of file L2TauModularIsolationProducer.cc.
L2TauModularIsolationProducer::~L2TauModularIsolationProducer | ( | ) |
Definition at line 40 of file L2TauModularIsolationProducer.cc.
|
privatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 206 of file L2TauModularIsolationProducer.cc.
|
privatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 212 of file L2TauModularIsolationProducer.cc.
|
private |
Definition at line 244 of file L2TauModularIsolationProducer.cc.
References associationRadius_, comparePt, crystalThresholdB_, crystalThresholdE_, egHLT::errCodes::EBRecHits, EBRecHits_, DetId::Ecal, EcalBarrel, EcalEndcap, HWWFunctions::EE, egHLT::errCodes::EERecHits, EERecHits_, relval_parameters_module::energy, PV3DBase< T, PVType, FrameType >::eta(), 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 219 of file L2TauModularIsolationProducer.cc.
References associationRadius_, caloTowers_, comparePt, relval_parameters_module::energy, eta(), edm::Event::getByToken(), i, reco::LeafCandidate::p4(), phi, python.multivaluedict::sort(), and towerThreshold_.
Referenced by produce().
|
private |
Definition at line 307 of file L2TauModularIsolationProducer.cc.
References associationRadius_, trackerHits::c, comparePt, relval_parameters_module::energy, eta(), edm::Event::getByToken(), M_PI, AlCaHLTBitMon_ParallelJobs::p, reco::LeafCandidate::p4(), phi, funct::sin(), python.multivaluedict::sort(), and theta().
Referenced by produce().
|
overrideprivatevirtual |
Implements edm::EDProducer.
Definition at line 49 of file L2TauModularIsolationProducer.cc.
References L2TauSimpleClustering::clusterize(), L2TauIsolationAlgs::clusterShape(), ecalClusteringAlg_, ecalIsolationAlg_, edm::Event::getByToken(), getECALHits(), getHCALHits(), getPFClusters(), hcalClusteringAlg_, hcalIsolationAlg_, spr::hitsHCAL(), info(), innerConeECAL_, innerConeHCAL_, L2TauIsolationAlgs::isolatedEt(), l2CaloJets_, L2TauIsolationAlgs::nClustersAnnulus(), outerConeECAL_, outerConeHCAL_, pfClustersECAL_, pfClustersHCAL_, edm::Event::put(), reco::L2TauIsolationInfo::setEcalClusterShape(), reco::L2TauIsolationInfo::setEcalIsolEt(), reco::L2TauIsolationInfo::setHcalClusterShape(), reco::L2TauIsolationInfo::setHcalIsolEt(), reco::L2TauIsolationInfo::setNEcalHits(), reco::L2TauIsolationInfo::setNHcalHits(), reco::L2TauIsolationInfo::setSeedEcalHitEt(), reco::L2TauIsolationInfo::setSeedHcalHitEt(), simpleClusterRadiusECAL_, and simpleClusterRadiusHCAL_.
|
private |
Definition at line 81 of file L2TauModularIsolationProducer.h.
Referenced by getECALHits(), getHCALHits(), and getPFClusters().
|
private |
Definition at line 71 of file L2TauModularIsolationProducer.h.
Referenced by getHCALHits().
|
private |
Definition at line 104 of file L2TauModularIsolationProducer.h.
Referenced by getECALHits(), getHCALHits(), and getPFClusters().
|
private |
Definition at line 92 of file L2TauModularIsolationProducer.h.
Referenced by getECALHits().
|
private |
Definition at line 91 of file L2TauModularIsolationProducer.h.
Referenced by getECALHits().
|
private |
Definition at line 69 of file L2TauModularIsolationProducer.h.
Referenced by getECALHits().
|
private |
Definition at line 78 of file L2TauModularIsolationProducer.h.
Referenced by produce().
|
private |
Definition at line 76 of file L2TauModularIsolationProducer.h.
Referenced by produce().
|
private |
Definition at line 70 of file L2TauModularIsolationProducer.h.
Referenced by getECALHits().
|
private |
Definition at line 79 of file L2TauModularIsolationProducer.h.
Referenced by produce().
|
private |
Definition at line 77 of file L2TauModularIsolationProducer.h.
Referenced by produce().
|
private |
Definition at line 85 of file L2TauModularIsolationProducer.h.
Referenced by produce().
|
private |
Definition at line 87 of file L2TauModularIsolationProducer.h.
Referenced by produce().
|
private |
Definition at line 68 of file L2TauModularIsolationProducer.h.
Referenced by produce().
|
private |
Definition at line 86 of file L2TauModularIsolationProducer.h.
Referenced by produce().
|
private |
Definition at line 88 of file L2TauModularIsolationProducer.h.
Referenced by produce().
|
private |
Definition at line 72 of file L2TauModularIsolationProducer.h.
Referenced by produce().
|
private |
Definition at line 73 of file L2TauModularIsolationProducer.h.
Referenced by produce().
|
private |
Definition at line 83 of file L2TauModularIsolationProducer.h.
Referenced by produce().
|
private |
Definition at line 84 of file L2TauModularIsolationProducer.h.
Referenced by produce().
|
private |
Definition at line 93 of file L2TauModularIsolationProducer.h.
Referenced by getHCALHits().