#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) |
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::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_, HLT_FULL_cff::clusters, DetId::Ecal, EcalBarrel, EcalEndcap, EcalPreshower, endcapClusterCollection_, edm::EventSetup::get(), getCollection(), island_p, IslandClusterAlgo::makeClusters(), and edm::Event::put().
Referenced by produce().
|
inlineprivate |
Definition at line 62 of file EgammaHLTIslandClusterProducer.h.
References nEvt_, and nMaxPrintout_.
|
static |
Definition at line 91 of file EgammaHLTIslandClusterProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), HLT_FULL_cff::InputTag, 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().
|
overridevirtual |
Implements edm::EDProducer.
Definition at line 115 of file EgammaHLTIslandClusterProducer.cc.
References IslandClusterAlgo::barrel, barrelClusterCollection_, barrelHitToken_, clusterizeECALPart(), doBarrel_, doEndcaps_, doIsolated_, IslandClusterAlgo::endcap, endcapClusterCollection_, endcapHitToken_, edm::EventSetup::get(), edm::Event::getByToken(), l1LowerThr_, l1LowerThrIgnoreIsolation_, l1TagIsolated_, l1TagNonIsolated_, l1UpperThr_, nEvt_, HLT_FULL_cff::region, 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 counterExceeded(), EgammaHLTIslandClusterProducer(), and produce().
|
private |
Definition at line 33 of file EgammaHLTIslandClusterProducer.h.
Referenced by counterExceeded().
|
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().