Public Member Functions | |
HLTRechitInRegionsProducer (const edm::ParameterSet &ps) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~HLTRechitInRegionsProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Types | |
typedef std::vector< T1 > | T1Collection |
typedef T1::const_iterator | T1iterator |
Private Member Functions | |
void | getEtaPhiRegions (std::vector< RectangularEtaPhiRegion > *, T1Collection, const L1CaloGeometry &, bool) |
template<> | |
void | getEtaPhiRegions (std::vector< RectangularEtaPhiRegion > *theRegions, T1Collection theCandidateCollection, const L1CaloGeometry &l1CaloGeom, bool isolatedCase) |
Private Attributes | |
const bool | doIsolated_ |
const std::vector< edm::InputTag > | hitLabels |
std::vector< edm::EDGetTokenT< EcalRecHitCollection > > | hitTokens |
const double | l1LowerThr_ |
const double | l1LowerThrIgnoreIsolation_ |
const edm::EDGetTokenT< T1Collection > | l1TokenIsolated_ |
const edm::EDGetTokenT< T1Collection > | l1TokenNonIsolated_ |
const double | l1UpperThr_ |
const std::vector< std::string > | productLabels |
const double | regionEtaMargin_ |
const double | regionPhiMargin_ |
std::vector< edm::EDGetTokenT< EcalUncalibratedRecHitCollection > > | uncalibHitTokens |
const bool | useUncalib_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Definition at line 72 of file HLTRechitInRegionsProducer.cc.
|
private |
Definition at line 73 of file HLTRechitInRegionsProducer.cc.
|
private |
Definition at line 74 of file HLTRechitInRegionsProducer.cc.
HLTRechitInRegionsProducer< T1 >::HLTRechitInRegionsProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 107 of file HLTRechitInRegionsProducer.cc.
References HLTRechitInRegionsProducer< T1 >::hitLabels, HLTRechitInRegionsProducer< T1 >::hitTokens, mps_fire::i, HLTRechitInRegionsProducer< T1 >::productLabels, HLTRechitInRegionsProducer< T1 >::uncalibHitTokens, and HLTRechitInRegionsProducer< T1 >::useUncalib_.
|
override |
Definition at line 134 of file HLTRechitInRegionsProducer.cc.
|
static |
Definition at line 137 of file HLTRechitInRegionsProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), defaultModuleLabel(), HLT_2018_cff::InputTag, and HLTMuonOfflineAnalyzer_cfi::inputTags.
|
private |
Definition at line 317 of file HLTRechitInRegionsProducer.cc.
References HLTRechitInRegionsProducer< T1 >::l1LowerThr_, HLTRechitInRegionsProducer< T1 >::l1UpperThr_, HLTRechitInRegionsProducer< T1 >::regionEtaMargin_, and HLTRechitInRegionsProducer< T1 >::regionPhiMargin_.
Referenced by HLTRechitInRegionsProducer< T1 >::produce().
|
private |
Definition at line 282 of file HLTRechitInRegionsProducer.cc.
References HLTRechitInRegionsProducer< T1 >::doIsolated_, L1CaloGeometry::emJetPhiBinHighEdge(), L1CaloGeometry::emJetPhiBinLowEdge(), reco::LeafCandidate::et(), L1CaloGeometry::etaBinHighEdge(), L1CaloGeometry::etaBinLowEdge(), L1GctEmCand::etaIndex(), l1extra::L1EmParticle::gctEmCand(), HLTRechitInRegionsProducer< T1 >::l1LowerThr_, HLTRechitInRegionsProducer< T1 >::l1LowerThrIgnoreIsolation_, HLTRechitInRegionsProducer< T1 >::l1UpperThr_, L1GctEmCand::phiIndex(), HLTRechitInRegionsProducer< T1 >::regionEtaMargin_, and HLTRechitInRegionsProducer< T1 >::regionPhiMargin_.
|
override |
Definition at line 161 of file HLTRechitInRegionsProducer.cc.
References edm::SortedCollection< T, SORT >::begin(), HLTRechitInRegionsProducer< T1 >::doIsolated_, DetId::Ecal, EcalBarrel, EcalEndcap, EcalPreshower, edm::SortedCollection< T, SORT >::empty(), edm::SortedCollection< T, SORT >::end(), edm::EventSetup::get(), edm::Event::getByToken(), HLTRechitInRegionsProducer< T1 >::getEtaPhiRegions(), CaloSubdetectorGeometry::getGeometry(), CaloGeometry::getSubdetectorGeometry(), HLTRechitInRegionsProducer< T1 >::hitLabels, hfClusterShapes_cfi::hits, HLTRechitInRegionsProducer< T1 >::hitTokens, mps_fire::i, HLTRechitInRegionsProducer< T1 >::l1LowerThrIgnoreIsolation_, HLTRechitInRegionsProducer< T1 >::l1TokenIsolated_, HLTRechitInRegionsProducer< T1 >::l1TokenNonIsolated_, eostools::move(), or, edm::Handle< T >::product(), HLTRechitInRegionsProducer< T1 >::productLabels, edm::Event::put(), FastTrackerRecHitMaskProducer_cfi::recHits, HLT_2018_cff::region, ecaldqm::topology(), HLTRechitInRegionsProducer< T1 >::uncalibHitTokens, and HLTRechitInRegionsProducer< T1 >::useUncalib_.
|
private |
Definition at line 88 of file HLTRechitInRegionsProducer.cc.
Referenced by HLTRechitInRegionsProducer< T1 >::getEtaPhiRegions(), and HLTRechitInRegionsProducer< T1 >::produce().
|
private |
Definition at line 99 of file HLTRechitInRegionsProducer.cc.
Referenced by HLTRechitInRegionsProducer< T1 >::HLTRechitInRegionsProducer(), and HLTRechitInRegionsProducer< T1 >::produce().
|
private |
Definition at line 102 of file HLTRechitInRegionsProducer.cc.
Referenced by HLTRechitInRegionsProducer< T1 >::HLTRechitInRegionsProducer(), and HLTRechitInRegionsProducer< T1 >::produce().
|
private |
Definition at line 92 of file HLTRechitInRegionsProducer.cc.
Referenced by HLTRechitInRegionsProducer< T1 >::getEtaPhiRegions().
|
private |
Definition at line 94 of file HLTRechitInRegionsProducer.cc.
Referenced by HLTRechitInRegionsProducer< T1 >::getEtaPhiRegions(), and HLTRechitInRegionsProducer< T1 >::produce().
|
private |
Definition at line 90 of file HLTRechitInRegionsProducer.cc.
Referenced by HLTRechitInRegionsProducer< T1 >::produce().
|
private |
Definition at line 91 of file HLTRechitInRegionsProducer.cc.
Referenced by HLTRechitInRegionsProducer< T1 >::produce().
|
private |
Definition at line 93 of file HLTRechitInRegionsProducer.cc.
Referenced by HLTRechitInRegionsProducer< T1 >::getEtaPhiRegions().
|
private |
Definition at line 100 of file HLTRechitInRegionsProducer.cc.
Referenced by HLTRechitInRegionsProducer< T1 >::HLTRechitInRegionsProducer(), and HLTRechitInRegionsProducer< T1 >::produce().
|
private |
Definition at line 96 of file HLTRechitInRegionsProducer.cc.
Referenced by HLTRechitInRegionsProducer< T1 >::getEtaPhiRegions().
|
private |
Definition at line 97 of file HLTRechitInRegionsProducer.cc.
Referenced by HLTRechitInRegionsProducer< T1 >::getEtaPhiRegions().
|
private |
Definition at line 103 of file HLTRechitInRegionsProducer.cc.
Referenced by HLTRechitInRegionsProducer< T1 >::HLTRechitInRegionsProducer(), and HLTRechitInRegionsProducer< T1 >::produce().
|
private |
Definition at line 86 of file HLTRechitInRegionsProducer.cc.
Referenced by HLTRechitInRegionsProducer< T1 >::HLTRechitInRegionsProducer(), and HLTRechitInRegionsProducer< T1 >::produce().