#include <HLTRechitInRegionsProducer.h>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Types | |
typedef std::vector< T1 > | T1Collection |
typedef T1::const_iterator | T1iterator |
Private Member Functions | |
void | getEtaPhiRegions (std::vector< EcalEtaPhiRegion > *, T1Collection, const L1CaloGeometry &, bool) |
template<> | |
void | getEtaPhiRegions (std::vector< EcalEtaPhiRegion > *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 |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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 36 of file HLTRechitInRegionsProducer.h.
|
private |
Definition at line 37 of file HLTRechitInRegionsProducer.h.
|
private |
Definition at line 38 of file HLTRechitInRegionsProducer.h.
HLTRechitInRegionsProducer< T1 >::HLTRechitInRegionsProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 45 of file HLTRechitInRegionsProducer.cc.
References HLTRechitInRegionsProducer< T1 >::hitLabels, HLTRechitInRegionsProducer< T1 >::hitTokens, i, HLTRechitInRegionsProducer< T1 >::productLabels, HLTRechitInRegionsProducer< T1 >::uncalibHitTokens, and HLTRechitInRegionsProducer< T1 >::useUncalib_.
HLTRechitInRegionsProducer< T1 >::~HLTRechitInRegionsProducer | ( | ) |
Definition at line 72 of file HLTRechitInRegionsProducer.cc.
|
static |
Definition at line 76 of file HLTRechitInRegionsProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), defaultModuleLabel(), and HiRecoMuon_cff::inputTags.
|
private |
Definition at line 254 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 221 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 100 of file HLTRechitInRegionsProducer.cc.
References edm::SortedCollection< T, SORT >::begin(), HLTRechitInRegionsProducer< T1 >::doIsolated_, DetId::Ecal, EcalBarrel, EcalEndcap, EcalPreshower, edm::SortedCollection< T, SORT >::end(), CaloCellGeometry::etaPos(), edm::EventSetup::get(), edm::Event::getByToken(), HLTRechitInRegionsProducer< T1 >::getEtaPhiRegions(), CaloGeometry::getSubdetectorGeometry(), HLTRechitInRegionsProducer< T1 >::hitLabels, hfClusterShapes_cfi::hits, HLTRechitInRegionsProducer< T1 >::hitTokens, i, HLTRechitInRegionsProducer< T1 >::l1LowerThrIgnoreIsolation_, HLTRechitInRegionsProducer< T1 >::l1TokenIsolated_, HLTRechitInRegionsProducer< T1 >::l1TokenNonIsolated_, eostools::move(), or, CaloCellGeometry::phiPos(), edm::Handle< T >::product(), HLTRechitInRegionsProducer< T1 >::productLabels, edm::Event::put(), edm::SortedCollection< T, SORT >::size(), ecaldqm::topology(), HLTRechitInRegionsProducer< T1 >::uncalibHitTokens, and HLTRechitInRegionsProducer< T1 >::useUncalib_.
|
private |
Definition at line 54 of file HLTRechitInRegionsProducer.h.
Referenced by HLTRechitInRegionsProducer< T1 >::getEtaPhiRegions(), and HLTRechitInRegionsProducer< T1 >::produce().
|
private |
Definition at line 65 of file HLTRechitInRegionsProducer.h.
Referenced by HLTRechitInRegionsProducer< T1 >::HLTRechitInRegionsProducer(), and HLTRechitInRegionsProducer< T1 >::produce().
|
private |
Definition at line 68 of file HLTRechitInRegionsProducer.h.
Referenced by HLTRechitInRegionsProducer< T1 >::HLTRechitInRegionsProducer(), and HLTRechitInRegionsProducer< T1 >::produce().
|
private |
Definition at line 58 of file HLTRechitInRegionsProducer.h.
Referenced by HLTRechitInRegionsProducer< T1 >::getEtaPhiRegions().
|
private |
Definition at line 60 of file HLTRechitInRegionsProducer.h.
Referenced by HLTRechitInRegionsProducer< T1 >::getEtaPhiRegions(), and HLTRechitInRegionsProducer< T1 >::produce().
|
private |
Definition at line 56 of file HLTRechitInRegionsProducer.h.
Referenced by HLTRechitInRegionsProducer< T1 >::produce().
|
private |
Definition at line 57 of file HLTRechitInRegionsProducer.h.
Referenced by HLTRechitInRegionsProducer< T1 >::produce().
|
private |
Definition at line 59 of file HLTRechitInRegionsProducer.h.
Referenced by HLTRechitInRegionsProducer< T1 >::getEtaPhiRegions().
|
private |
Definition at line 66 of file HLTRechitInRegionsProducer.h.
Referenced by HLTRechitInRegionsProducer< T1 >::HLTRechitInRegionsProducer(), and HLTRechitInRegionsProducer< T1 >::produce().
|
private |
Definition at line 62 of file HLTRechitInRegionsProducer.h.
Referenced by HLTRechitInRegionsProducer< T1 >::getEtaPhiRegions().
|
private |
Definition at line 63 of file HLTRechitInRegionsProducer.h.
Referenced by HLTRechitInRegionsProducer< T1 >::getEtaPhiRegions().
|
private |
Definition at line 69 of file HLTRechitInRegionsProducer.h.
Referenced by HLTRechitInRegionsProducer< T1 >::HLTRechitInRegionsProducer(), and HLTRechitInRegionsProducer< T1 >::produce().
|
private |
Definition at line 52 of file HLTRechitInRegionsProducer.h.
Referenced by HLTRechitInRegionsProducer< T1 >::HLTRechitInRegionsProducer(), and HLTRechitInRegionsProducer< T1 >::produce().