#include <EgammaHLTIslandClusterProducer.h>
Public Member Functions | |
EgammaHLTIslandClusterProducer (const edm::ParameterSet &ps) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~EgammaHLTIslandClusterProducer () | |
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 IslandClusterAlgo::EcalPart &ecalPart) |
bool | counterExceeded () const |
const EcalRecHitCollection * | getCollection (edm::Event &evt, edm::EDGetTokenT< EcalRecHitCollection > &hitToken) |
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_ |
IslandClusterAlgo * | island_p |
double | l1LowerThr_ |
double | l1LowerThrIgnoreIsolation_ |
edm::EDGetTokenT< l1extra::L1EmParticleCollection > | l1TagIsolated_ |
edm::EDGetTokenT< l1extra::L1EmParticleCollection > | l1TagNonIsolated_ |
double | l1UpperThr_ |
int | nEvt_ |
int | nMaxPrintout_ |
PositionCalc | posCalculator_ |
double | regionEtaMargin_ |
double | regionPhiMargin_ |
IslandClusterAlgo::VerbosityLevel | verbosity |
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 24 of file EgammaHLTIslandClusterProducer.h.
EgammaHLTIslandClusterProducer::EgammaHLTIslandClusterProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 37 of file EgammaHLTIslandClusterProducer.cc.
References barrelClusterCollection_, barrelHitCollection_, barrelHitToken_, doBarrel_, doEndcaps_, doIsolated_, endcapClusterCollection_, endcapHitCollection_, endcapHitToken_, edm::ParameterSet::getParameter(), island_p, l1LowerThr_, l1LowerThrIgnoreIsolation_, l1TagIsolated_, l1TagNonIsolated_, l1UpperThr_, nEvt_, IslandClusterAlgo::pDEBUG, IslandClusterAlgo::pERROR, IslandClusterAlgo::pINFO, posCalculator_, IslandClusterAlgo::pWARNING, regionEtaMargin_, regionPhiMargin_, AlCaHLTBitMon_QueryRunRegistry::string, and verbosity.
EgammaHLTIslandClusterProducer::~EgammaHLTIslandClusterProducer | ( | ) |
Definition at line 87 of file EgammaHLTIslandClusterProducer.cc.
References island_p.
|
private |
Definition at line 262 of file EgammaHLTIslandClusterProducer.cc.
References IslandClusterAlgo::barrel, barrelClusterCollection_, fastPrimaryVertexProducer_cfi::clusters, DetId::Ecal, EcalBarrel, EcalEndcap, EcalPreshower, endcapClusterCollection_, edm::EventSetup::get(), getCollection(), CaloGeometry::getSubdetectorGeometry(), island_p, IslandClusterAlgo::makeClusters(), eostools::move(), and edm::Event::put().
Referenced by produce().
|
inlineprivate |
Definition at line 62 of file EgammaHLTIslandClusterProducer.h.
References getCollection(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
static |
Definition at line 91 of file EgammaHLTIslandClusterProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 247 of file EgammaHLTIslandClusterProducer.cc.
References gather_cfg::cout, edm::Event::getByToken(), edm::HandleBase::isValid(), and edm::Handle< T >::product().
Referenced by clusterizeECALPart().
|
override |
Definition at line 115 of file EgammaHLTIslandClusterProducer.cc.
References IslandClusterAlgo::barrel, barrelClusterCollection_, barrelHitToken_, clusterizeECALPart(), doBarrel_, doEndcaps_, doIsolated_, L1CaloGeometry::emJetPhiBinHighEdge(), L1CaloGeometry::emJetPhiBinLowEdge(), IslandClusterAlgo::endcap, 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 47 of file EgammaHLTIslandClusterProducer.h.
Referenced by clusterizeECALPart(), EgammaHLTIslandClusterProducer(), and produce().
|
private |
Definition at line 42 of file EgammaHLTIslandClusterProducer.h.
Referenced by EgammaHLTIslandClusterProducer().
|
private |
Definition at line 44 of file EgammaHLTIslandClusterProducer.h.
Referenced by EgammaHLTIslandClusterProducer(), and produce().
|
private |
Definition at line 38 of file EgammaHLTIslandClusterProducer.h.
Referenced by EgammaHLTIslandClusterProducer(), and produce().
|
private |
Definition at line 39 of file EgammaHLTIslandClusterProducer.h.
Referenced by EgammaHLTIslandClusterProducer(), and produce().
|
private |
Definition at line 40 of file EgammaHLTIslandClusterProducer.h.
Referenced by EgammaHLTIslandClusterProducer(), and produce().
|
private |
Definition at line 48 of file EgammaHLTIslandClusterProducer.h.
Referenced by clusterizeECALPart(), EgammaHLTIslandClusterProducer(), and produce().
|
private |
Definition at line 43 of file EgammaHLTIslandClusterProducer.h.
Referenced by EgammaHLTIslandClusterProducer().
|
private |
Definition at line 45 of file EgammaHLTIslandClusterProducer.h.
Referenced by EgammaHLTIslandClusterProducer(), and produce().
|
private |
Definition at line 60 of file EgammaHLTIslandClusterProducer.h.
Referenced by clusterizeECALPart(), EgammaHLTIslandClusterProducer(), and ~EgammaHLTIslandClusterProducer().
|
private |
Definition at line 52 of file EgammaHLTIslandClusterProducer.h.
Referenced by EgammaHLTIslandClusterProducer(), and produce().
|
private |
Definition at line 54 of file EgammaHLTIslandClusterProducer.h.
Referenced by EgammaHLTIslandClusterProducer(), and produce().
|
private |
Definition at line 50 of file EgammaHLTIslandClusterProducer.h.
Referenced by EgammaHLTIslandClusterProducer(), and produce().
|
private |
Definition at line 51 of file EgammaHLTIslandClusterProducer.h.
Referenced by EgammaHLTIslandClusterProducer(), and produce().
|
private |
Definition at line 53 of file EgammaHLTIslandClusterProducer.h.
Referenced by EgammaHLTIslandClusterProducer(), and produce().
|
private |
Definition at line 34 of file EgammaHLTIslandClusterProducer.h.
Referenced by EgammaHLTIslandClusterProducer(), and produce().
|
private |
Definition at line 33 of file EgammaHLTIslandClusterProducer.h.
|
private |
Definition at line 59 of file EgammaHLTIslandClusterProducer.h.
Referenced by EgammaHLTIslandClusterProducer().
|
private |
Definition at line 56 of file EgammaHLTIslandClusterProducer.h.
Referenced by EgammaHLTIslandClusterProducer(), and produce().
|
private |
Definition at line 57 of file EgammaHLTIslandClusterProducer.h.
Referenced by EgammaHLTIslandClusterProducer(), and produce().
|
private |
Definition at line 36 of file EgammaHLTIslandClusterProducer.h.
Referenced by EgammaHLTIslandClusterProducer().