#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 | |
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 (const std::string &iProcessName, std::vector< const char * > &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::InputTag | l1TagIsolated_ |
const edm::InputTag | l1TagNonIsolated_ |
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 |
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 35 of file HLTRechitInRegionsProducer.h.
|
private |
Definition at line 36 of file HLTRechitInRegionsProducer.h.
|
private |
Definition at line 37 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_25ns14e33_v1_cff::InputTag.
|
private |
Definition at line 255 of file HLTRechitInRegionsProducer.cc.
|
private |
Definition at line 222 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(), geometry, edm::EventSetup::get(), edm::Event::getByLabel(), edm::Event::getByToken(), CaloCellGeometry::getPosition(), CaloGeometry::getSubdetectorGeometry(), i, or, position, edm::Handle< T >::product(), HLT_25ns14e33_v1_cff::productLabels, edm::Event::put(), edm::SortedCollection< T, SORT >::size(), and ecaldqm::topology().
|
private |
Definition at line 55 of file HLTRechitInRegionsProducer.h.
|
private |
Definition at line 64 of file HLTRechitInRegionsProducer.h.
Referenced by HLTRechitInRegionsProducer< T1 >::HLTRechitInRegionsProducer().
|
private |
Definition at line 67 of file HLTRechitInRegionsProducer.h.
Referenced by HLTRechitInRegionsProducer< T1 >::HLTRechitInRegionsProducer().
|
private |
Definition at line 57 of file HLTRechitInRegionsProducer.h.
|
private |
Definition at line 59 of file HLTRechitInRegionsProducer.h.
|
private |
Definition at line 52 of file HLTRechitInRegionsProducer.h.
|
private |
Definition at line 53 of file HLTRechitInRegionsProducer.h.
|
private |
Definition at line 58 of file HLTRechitInRegionsProducer.h.
|
private |
Definition at line 65 of file HLTRechitInRegionsProducer.h.
Referenced by HLTRechitInRegionsProducer< T1 >::HLTRechitInRegionsProducer().
|
private |
Definition at line 61 of file HLTRechitInRegionsProducer.h.
|
private |
Definition at line 62 of file HLTRechitInRegionsProducer.h.
|
private |
Definition at line 68 of file HLTRechitInRegionsProducer.h.
Referenced by HLTRechitInRegionsProducer< T1 >::HLTRechitInRegionsProducer().
|
private |
Definition at line 51 of file HLTRechitInRegionsProducer.h.
Referenced by HLTRechitInRegionsProducer< T1 >::HLTRechitInRegionsProducer().