#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) |
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 () |
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_, HLT_25ns14e33_v3_cff::posCalcParameters, posCalculator_, 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_, HLT_25ns14e33_v1_cff::clusters, reco::CaloID::DET_ECAL_BARREL, DetId::Ecal, EcalBarrel, EcalEndcap, EcalPreshower, endcapClusterCollection_, edm::EventSetup::get(), getCollection(), island_p, Multi5x5ClusterAlgo::makeClusters(), and edm::Event::put().
Referenced by produce().
|
inlineprivate |
|
private |
Definition at line 107 of file Multi5x5ClusterProducer.cc.
References edm::Event::getByToken(), and edm::Handle< T >::product().
Referenced by clusterizeECALPart().
|
private |
|
virtual |
Implements edm::stream::EDProducerBase.
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 counterExceeded(), Multi5x5ClusterProducer(), and produce().
|
private |
Definition at line 37 of file Multi5x5ClusterProducer.h.
Referenced by counterExceeded().
|
private |
Definition at line 50 of file Multi5x5ClusterProducer.h.
Referenced by Multi5x5ClusterProducer().