#include <L2TauIsolationProducer.h>
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 &) |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
double | crystalThreshold_ |
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 | |
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 L2TauIsolationProducer.h.
|
explicit |
Definition at line 8 of file L2TauIsolationProducer.cc.
References ECALClustering_clusterRadius_, ECALClustering_run_, ECALIsolation_innerCone_, ECALIsolation_outerCone_, ECALIsolation_run_, edm::ParameterSet::getParameter(), TowerIsolation_innerCone_, TowerIsolation_outerCone_, and TowerIsolation_run_.
L2TauIsolationProducer::~L2TauIsolationProducer | ( | ) |
Definition at line 44 of file L2TauIsolationProducer.cc.
|
privatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 122 of file L2TauIsolationProducer.cc.
|
privatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 128 of file L2TauIsolationProducer.cc.
|
private |
Definition at line 154 of file L2TauIsolationProducer.cc.
References prof2calltree::count, crystalThreshold_, DetId::det(), 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(), reco::CaloJet::getCaloConstituents(), CaloSubdetectorGeometry::getGeometry(), CaloCellGeometry::getPosition(), j, M_PI, AlCaHLTBitMon_ParallelJobs::p, phi, PV3DBase< T, PVType, FrameType >::phi(), funct::sin(), DetId::subdetId(), std::swap(), PV3DBase< T, PVType, FrameType >::theta(), and theta().
Referenced by produce().
|
private |
Definition at line 134 of file L2TauIsolationProducer.cc.
References relval_parameters_module::energy, reco::CaloJet::getCaloConstituents(), i, and towerThreshold_.
Referenced by produce().
|
overrideprivatevirtual |
Implements edm::EDProducer.
Definition at line 53 of file L2TauIsolationProducer.cc.
References L2TauSimpleClustering::clusterize(), 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 L2TauIsolationProducer.h.
Referenced by getECALHits().
|
private |
Definition at line 69 of file L2TauIsolationProducer.h.
Referenced by getECALHits().
|
private |
Definition at line 94 of file L2TauIsolationProducer.h.
Referenced by L2TauIsolationProducer(), and produce().
|
private |
Definition at line 93 of file L2TauIsolationProducer.h.
Referenced by L2TauIsolationProducer(), and produce().
|
private |
Definition at line 83 of file L2TauIsolationProducer.h.
Referenced by L2TauIsolationProducer(), and produce().
|
private |
Definition at line 84 of file L2TauIsolationProducer.h.
Referenced by L2TauIsolationProducer(), and produce().
|
private |
Definition at line 81 of file L2TauIsolationProducer.h.
Referenced by L2TauIsolationProducer(), and produce().
|
private |
Definition at line 70 of file L2TauIsolationProducer.h.
Referenced by getECALHits().
|
private |
Definition at line 68 of file L2TauIsolationProducer.h.
Referenced by produce().
|
private |
Definition at line 89 of file L2TauIsolationProducer.h.
Referenced by L2TauIsolationProducer(), and produce().
|
private |
Definition at line 90 of file L2TauIsolationProducer.h.
Referenced by L2TauIsolationProducer(), and produce().
|
private |
Definition at line 87 of file L2TauIsolationProducer.h.
Referenced by L2TauIsolationProducer(), and produce().
|
private |
Definition at line 75 of file L2TauIsolationProducer.h.
Referenced by getHCALHits().