#include <HLTRechitInRegionsProducer.h>
Public Member Functions | |
HLTRechitInRegionsProducer (const edm::ParameterSet &ps) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~HLTRechitInRegionsProducer () | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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 HLT_25ns10e33_v2_cff::InputTag.
|
private |
Definition at line 254 of file HLTRechitInRegionsProducer.cc.
|
private |
Definition at line 221 of file HLTRechitInRegionsProducer.cc.
References L1CaloGeometry::emJetPhiBinHighEdge(), L1CaloGeometry::emJetPhiBinLowEdge(), reco::LeafCandidate::et(), L1CaloGeometry::etaBinHighEdge(), L1CaloGeometry::etaBinLowEdge(), L1GctEmCand::etaIndex(), l1extra::L1EmParticle::gctEmCand(), and L1GctEmCand::phiIndex().
|
overridevirtual |
Implements edm::stream::EDProducerBase.
Definition at line 100 of file HLTRechitInRegionsProducer.cc.
References edm::SortedCollection< T, SORT >::begin(), DetId::Ecal, EcalBarrel, EcalEndcap, EcalPreshower, edm::SortedCollection< T, SORT >::end(), CaloCellGeometry::etaPos(), geometry, edm::EventSetup::get(), edm::Event::getByToken(), CaloGeometry::getSubdetectorGeometry(), i, or, CaloCellGeometry::phiPos(), edm::Handle< T >::product(), HLT_25ns10e33_v2_cff::productLabels, edm::Event::put(), HLT_25ns10e33_v2_cff::recHits, HLT_25ns10e33_v2_cff::region, edm::SortedCollection< T, SORT >::size(), and ecaldqm::topology().
|
private |
Definition at line 54 of file HLTRechitInRegionsProducer.h.
|
private |
Definition at line 65 of file HLTRechitInRegionsProducer.h.
Referenced by HLTRechitInRegionsProducer< T1 >::HLTRechitInRegionsProducer().
|
private |
Definition at line 68 of file HLTRechitInRegionsProducer.h.
Referenced by HLTRechitInRegionsProducer< T1 >::HLTRechitInRegionsProducer().
|
private |
Definition at line 58 of file HLTRechitInRegionsProducer.h.
|
private |
Definition at line 60 of file HLTRechitInRegionsProducer.h.
|
private |
Definition at line 56 of file HLTRechitInRegionsProducer.h.
|
private |
Definition at line 57 of file HLTRechitInRegionsProducer.h.
|
private |
Definition at line 59 of file HLTRechitInRegionsProducer.h.
|
private |
Definition at line 66 of file HLTRechitInRegionsProducer.h.
Referenced by HLTRechitInRegionsProducer< T1 >::HLTRechitInRegionsProducer().
|
private |
Definition at line 62 of file HLTRechitInRegionsProducer.h.
|
private |
Definition at line 63 of file HLTRechitInRegionsProducer.h.
|
private |
Definition at line 69 of file HLTRechitInRegionsProducer.h.
Referenced by HLTRechitInRegionsProducer< T1 >::HLTRechitInRegionsProducer().
|
private |
Definition at line 52 of file HLTRechitInRegionsProducer.h.
Referenced by HLTRechitInRegionsProducer< T1 >::HLTRechitInRegionsProducer().