#include <Multi5x5ClusterProducer.h>
Public Member Functions | |
Multi5x5ClusterProducer (const edm::ParameterSet &ps) | |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
~Multi5x5ClusterProducer () | |
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) |
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) |
Private Member Functions | |
void | clusterizeECALPart (edm::Event &evt, const edm::EventSetup &es, const edm::EDGetTokenT< EcalRecHitCollection > &token, const std::string &clusterCollection, const reco::CaloID::Detectors detector) |
bool | counterExceeded () const |
const EcalRecHitCollection * | getCollection (edm::Event &evt, const edm::EDGetTokenT< EcalRecHitCollection > &token) |
void | outputValidationInfo (reco::CaloClusterPtrVector &clusterPtrVector) |
Private Attributes | |
std::string | barrelClusterCollection_ |
edm::EDGetTokenT< EcalRecHitCollection > | barrelHitToken_ |
bool | doBarrel_ |
bool | doEndcap_ |
std::string | endcapClusterCollection_ |
edm::EDGetTokenT< EcalRecHitCollection > | endcapHitToken_ |
Multi5x5ClusterAlgo * | island_p |
int | nEvt_ |
int | nMaxPrintout_ |
PositionCalc | posCalculator_ |
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 |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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 25 of file Multi5x5ClusterProducer.h.
Multi5x5ClusterProducer::Multi5x5ClusterProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 38 of file Multi5x5ClusterProducer.cc.
References barrelClusterCollection_, barrelHitToken_, doBarrel_, doEndcap_, endcapClusterCollection_, endcapHitToken_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), island_p, nEvt_, cleanAndMergeSuperClusters_cfi::posCalcParameters, posCalculator_, multi5x5BasicClusters_cfi::reassignSeedCrysToClusterItSeeds, and AlCaHLTBitMon_QueryRunRegistry::string.
Multi5x5ClusterProducer::~Multi5x5ClusterProducer | ( | ) |
Definition at line 87 of file Multi5x5ClusterProducer.cc.
References island_p.
|
private |
Definition at line 115 of file Multi5x5ClusterProducer.cc.
References barrelClusterCollection_, fastPrimaryVertexProducer_cfi::clusters, reco::CaloID::DET_ECAL_BARREL, DetId::Ecal, EcalBarrel, EcalEndcap, EcalPreshower, endcapClusterCollection_, edm::EventSetup::get(), getCollection(), CaloGeometry::getSubdetectorGeometry(), island_p, Multi5x5ClusterAlgo::makeClusters(), eostools::move(), and edm::Event::put().
Referenced by counterExceeded(), and produce().
|
inlineprivate |
Definition at line 53 of file Multi5x5ClusterProducer.h.
References clusterizeECALPart(), gamEcalExtractorBlocks_cff::detector, getCollection(), outputValidationInfo(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 107 of file Multi5x5ClusterProducer.cc.
References edm::Event::getByToken(), and edm::Handle< T >::product().
Referenced by clusterizeECALPart(), and counterExceeded().
|
private |
Referenced by counterExceeded().
|
virtual |
Definition at line 93 of file Multi5x5ClusterProducer.cc.
References barrelClusterCollection_, barrelHitToken_, clusterizeECALPart(), reco::CaloID::DET_ECAL_BARREL, reco::CaloID::DET_ECAL_ENDCAP, doBarrel_, doEndcap_, endcapClusterCollection_, endcapHitToken_, and nEvt_.
|
private |
Definition at line 47 of file Multi5x5ClusterProducer.h.
Referenced by clusterizeECALPart(), Multi5x5ClusterProducer(), and produce().
|
private |
Definition at line 44 of file Multi5x5ClusterProducer.h.
Referenced by Multi5x5ClusterProducer(), and produce().
|
private |
Definition at line 41 of file Multi5x5ClusterProducer.h.
Referenced by Multi5x5ClusterProducer(), and produce().
|
private |
Definition at line 42 of file Multi5x5ClusterProducer.h.
Referenced by Multi5x5ClusterProducer(), and produce().
|
private |
Definition at line 48 of file Multi5x5ClusterProducer.h.
Referenced by clusterizeECALPart(), Multi5x5ClusterProducer(), and produce().
|
private |
Definition at line 45 of file Multi5x5ClusterProducer.h.
Referenced by Multi5x5ClusterProducer(), and produce().
|
private |
Definition at line 51 of file Multi5x5ClusterProducer.h.
Referenced by clusterizeECALPart(), Multi5x5ClusterProducer(), and ~Multi5x5ClusterProducer().
|
private |
Definition at line 38 of file Multi5x5ClusterProducer.h.
Referenced by Multi5x5ClusterProducer(), and produce().
|
private |
Definition at line 37 of file Multi5x5ClusterProducer.h.
|
private |
Definition at line 50 of file Multi5x5ClusterProducer.h.
Referenced by Multi5x5ClusterProducer().