#include <EgammaHLTMulti5x5ClusterProducer.h>
Public Member Functions | |
EgammaHLTMulti5x5ClusterProducer (const edm::ParameterSet &ps) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~EgammaHLTMulti5x5ClusterProducer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | clusterizeECALPart (edm::Event &evt, const edm::EventSetup &es, edm::EDGetTokenT< EcalRecHitCollection > &hitToken, const std::string &clusterCollection, const std::vector< EcalEtaPhiRegion > ®ions, const reco::CaloID::Detectors detector) |
bool | counterExceeded () const |
const EcalRecHitCollection * | getCollection (edm::Event &evt, edm::EDGetTokenT< EcalRecHitCollection > &hitToken) |
void | outputValidationInfo (reco::CaloClusterPtrVector &clusterPtrVector) |
Private Attributes | |
std::string | barrelClusterCollection_ |
edm::InputTag | barrelHitCollection_ |
edm::EDGetTokenT< EcalRecHitCollection > | barrelHitToken_ |
bool | doBarrel_ |
bool | doEndcaps_ |
bool | doIsolated_ |
std::string | endcapClusterCollection_ |
edm::InputTag | endcapHitCollection_ |
edm::EDGetTokenT< EcalRecHitCollection > | endcapHitToken_ |
double | l1LowerThr_ |
double | l1LowerThrIgnoreIsolation_ |
edm::EDGetTokenT< l1extra::L1EmParticleCollection > | l1TagIsolated_ |
edm::EDGetTokenT< l1extra::L1EmParticleCollection > | l1TagNonIsolated_ |
double | l1UpperThr_ |
Multi5x5ClusterAlgo * | Multi5x5_p |
int | nEvt_ |
int | nMaxPrintout_ |
PositionCalc | posCalculator_ |
double | regionEtaMargin_ |
double | regionPhiMargin_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | 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 26 of file EgammaHLTMulti5x5ClusterProducer.h.
EgammaHLTMulti5x5ClusterProducer::EgammaHLTMulti5x5ClusterProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 38 of file EgammaHLTMulti5x5ClusterProducer.cc.
References barrelClusterCollection_, barrelHitCollection_, barrelHitToken_, doBarrel_, doEndcaps_, doIsolated_, endcapClusterCollection_, endcapHitCollection_, endcapHitToken_, edm::ParameterSet::getParameter(), l1LowerThr_, l1LowerThrIgnoreIsolation_, l1TagIsolated_, l1TagNonIsolated_, l1UpperThr_, Multi5x5_p, nEvt_, posCalculator_, regionEtaMargin_, regionPhiMargin_, and AlCaHLTBitMon_QueryRunRegistry::string.
EgammaHLTMulti5x5ClusterProducer::~EgammaHLTMulti5x5ClusterProducer | ( | ) |
Definition at line 85 of file EgammaHLTMulti5x5ClusterProducer.cc.
References Multi5x5_p.
|
private |
Definition at line 269 of file EgammaHLTMulti5x5ClusterProducer.cc.
References barrelClusterCollection_, fastPrimaryVertexProducer_cfi::clusters, reco::CaloID::DET_ECAL_BARREL, DetId::Ecal, EcalBarrel, EcalEndcap, EcalPreshower, endcapClusterCollection_, edm::EventSetup::get(), getCollection(), CaloGeometry::getSubdetectorGeometry(), Multi5x5ClusterAlgo::makeClusters(), eostools::move(), Multi5x5_p, and edm::Event::put().
Referenced by produce().
|
inlineprivate |
Definition at line 61 of file EgammaHLTMulti5x5ClusterProducer.h.
References gamEcalExtractorBlocks_cff::detector, getCollection(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
static |
Definition at line 89 of file EgammaHLTMulti5x5ClusterProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 253 of file EgammaHLTMulti5x5ClusterProducer.cc.
References gather_cfg::cout, edm::Event::getByToken(), edm::HandleBase::isValid(), and edm::Handle< T >::product().
Referenced by clusterizeECALPart().
|
private |
|
override |
Definition at line 124 of file EgammaHLTMulti5x5ClusterProducer.cc.
References barrelClusterCollection_, barrelHitToken_, clusterizeECALPart(), reco::CaloID::DET_ECAL_BARREL, reco::CaloID::DET_ECAL_ENDCAP, doBarrel_, doEndcaps_, doIsolated_, L1CaloGeometry::emJetPhiBinHighEdge(), L1CaloGeometry::emJetPhiBinLowEdge(), endcapClusterCollection_, endcapHitToken_, L1CaloGeometry::etaBinHighEdge(), L1CaloGeometry::etaBinLowEdge(), edm::EventSetup::get(), edm::Event::getByToken(), l1LowerThr_, l1LowerThrIgnoreIsolation_, l1TagIsolated_, l1TagNonIsolated_, l1UpperThr_, nEvt_, regionEtaMargin_, and regionPhiMargin_.
|
private |
Definition at line 48 of file EgammaHLTMulti5x5ClusterProducer.h.
Referenced by clusterizeECALPart(), EgammaHLTMulti5x5ClusterProducer(), and produce().
|
private |
Definition at line 43 of file EgammaHLTMulti5x5ClusterProducer.h.
Referenced by EgammaHLTMulti5x5ClusterProducer().
|
private |
Definition at line 45 of file EgammaHLTMulti5x5ClusterProducer.h.
Referenced by EgammaHLTMulti5x5ClusterProducer(), and produce().
|
private |
Definition at line 37 of file EgammaHLTMulti5x5ClusterProducer.h.
Referenced by EgammaHLTMulti5x5ClusterProducer(), and produce().
|
private |
Definition at line 38 of file EgammaHLTMulti5x5ClusterProducer.h.
Referenced by EgammaHLTMulti5x5ClusterProducer(), and produce().
|
private |
Definition at line 39 of file EgammaHLTMulti5x5ClusterProducer.h.
Referenced by EgammaHLTMulti5x5ClusterProducer(), and produce().
|
private |
Definition at line 49 of file EgammaHLTMulti5x5ClusterProducer.h.
Referenced by clusterizeECALPart(), EgammaHLTMulti5x5ClusterProducer(), and produce().
|
private |
Definition at line 44 of file EgammaHLTMulti5x5ClusterProducer.h.
Referenced by EgammaHLTMulti5x5ClusterProducer().
|
private |
Definition at line 46 of file EgammaHLTMulti5x5ClusterProducer.h.
Referenced by EgammaHLTMulti5x5ClusterProducer(), and produce().
|
private |
Definition at line 51 of file EgammaHLTMulti5x5ClusterProducer.h.
Referenced by EgammaHLTMulti5x5ClusterProducer(), and produce().
|
private |
Definition at line 53 of file EgammaHLTMulti5x5ClusterProducer.h.
Referenced by EgammaHLTMulti5x5ClusterProducer(), and produce().
|
private |
Definition at line 41 of file EgammaHLTMulti5x5ClusterProducer.h.
Referenced by EgammaHLTMulti5x5ClusterProducer(), and produce().
|
private |
Definition at line 42 of file EgammaHLTMulti5x5ClusterProducer.h.
Referenced by EgammaHLTMulti5x5ClusterProducer(), and produce().
|
private |
Definition at line 52 of file EgammaHLTMulti5x5ClusterProducer.h.
Referenced by EgammaHLTMulti5x5ClusterProducer(), and produce().
|
private |
Definition at line 59 of file EgammaHLTMulti5x5ClusterProducer.h.
Referenced by clusterizeECALPart(), EgammaHLTMulti5x5ClusterProducer(), and ~EgammaHLTMulti5x5ClusterProducer().
|
private |
Definition at line 35 of file EgammaHLTMulti5x5ClusterProducer.h.
Referenced by EgammaHLTMulti5x5ClusterProducer(), and produce().
|
private |
Definition at line 34 of file EgammaHLTMulti5x5ClusterProducer.h.
|
private |
Definition at line 58 of file EgammaHLTMulti5x5ClusterProducer.h.
Referenced by EgammaHLTMulti5x5ClusterProducer().
|
private |
Definition at line 55 of file EgammaHLTMulti5x5ClusterProducer.h.
Referenced by EgammaHLTMulti5x5ClusterProducer(), and produce().
|
private |
Definition at line 56 of file EgammaHLTMulti5x5ClusterProducer.h.
Referenced by EgammaHLTMulti5x5ClusterProducer(), and produce().