#include <IslandClusterProducer.h>
Public Member Functions | |
IslandClusterProducer (const edm::ParameterSet &ps) | |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
~IslandClusterProducer () | |
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 | |
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 std::string &clusterShapeAssociation, const IslandClusterAlgo::EcalPart &ecalPart) |
bool | counterExceeded () const |
const EcalRecHitCollection * | getCollection (edm::Event &evt, const edm::EDGetTokenT< EcalRecHitCollection > &token) |
void | outputValidationInfo (reco::CaloClusterPtrVector &clusterPtrVector) |
Private Attributes | |
std::string | barrelClusterCollection_ |
std::string | barrelClusterShapeAssociation_ |
edm::EDGetTokenT < EcalRecHitCollection > | barrelRecHits_ |
std::string | clustershapecollectionEB_ |
std::string | clustershapecollectionEE_ |
std::string | endcapClusterCollection_ |
std::string | endcapClusterShapeAssociation_ |
edm::EDGetTokenT < EcalRecHitCollection > | endcapRecHits_ |
IslandClusterAlgo * | island_p |
int | nEvt_ |
int | nMaxPrintout_ |
PositionCalc | posCalculator_ |
ClusterShapeAlgo | shapeAlgo_ |
IslandClusterAlgo::VerbosityLevel | verbosity |
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 |
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::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 27 of file IslandClusterProducer.h.
IslandClusterProducer::IslandClusterProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 39 of file IslandClusterProducer.cc.
References barrelClusterCollection_, barrelClusterShapeAssociation_, barrelRecHits_, clustershapecollectionEB_, clustershapecollectionEE_, endcapClusterCollection_, endcapClusterShapeAssociation_, endcapRecHits_, edm::ParameterSet::getParameter(), island_p, nEvt_, IslandClusterAlgo::pDEBUG, IslandClusterAlgo::pERROR, IslandClusterAlgo::pINFO, HLT_25ns14e33_v3_cff::posCalcParameters, posCalculator_, IslandClusterAlgo::pWARNING, shapeAlgo_, AlCaHLTBitMon_QueryRunRegistry::string, and verbosity.
IslandClusterProducer::~IslandClusterProducer | ( | ) |
|
private |
Definition at line 112 of file IslandClusterProducer.cc.
References IslandClusterAlgo::barrel, barrelClusterCollection_, ClusterShapeAlgo::Calculate(), HLT_25ns14e33_v1_cff::clusters, clustershapecollectionEB_, clustershapecollectionEE_, DetId::Ecal, EcalBarrel, EcalEndcap, EcalPreshower, endcapClusterCollection_, edm::EventSetup::get(), getCollection(), i, island_p, IslandClusterAlgo::makeClusters(), edm::Event::put(), shapeAlgo_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by produce().
|
inlineprivate |
|
private |
Definition at line 104 of file IslandClusterProducer.cc.
References edm::Event::getByToken(), and edm::Handle< T >::product().
Referenced by clusterizeECALPart().
|
private |
|
overridevirtual |
Implements edm::stream::EDProducerBase.
Definition at line 96 of file IslandClusterProducer.cc.
References IslandClusterAlgo::barrel, barrelClusterCollection_, barrelClusterShapeAssociation_, barrelRecHits_, clusterizeECALPart(), IslandClusterAlgo::endcap, endcapClusterCollection_, endcapClusterShapeAssociation_, endcapRecHits_, and nEvt_.
|
private |
Definition at line 48 of file IslandClusterProducer.h.
Referenced by clusterizeECALPart(), IslandClusterProducer(), and produce().
|
private |
Definition at line 55 of file IslandClusterProducer.h.
Referenced by IslandClusterProducer(), and produce().
|
private |
Definition at line 45 of file IslandClusterProducer.h.
Referenced by IslandClusterProducer(), and produce().
|
private |
Definition at line 51 of file IslandClusterProducer.h.
Referenced by clusterizeECALPart(), and IslandClusterProducer().
|
private |
Definition at line 52 of file IslandClusterProducer.h.
Referenced by clusterizeECALPart(), and IslandClusterProducer().
|
private |
Definition at line 49 of file IslandClusterProducer.h.
Referenced by clusterizeECALPart(), IslandClusterProducer(), and produce().
|
private |
Definition at line 56 of file IslandClusterProducer.h.
Referenced by IslandClusterProducer(), and produce().
|
private |
Definition at line 46 of file IslandClusterProducer.h.
Referenced by IslandClusterProducer(), and produce().
|
private |
Definition at line 60 of file IslandClusterProducer.h.
Referenced by clusterizeECALPart(), IslandClusterProducer(), and ~IslandClusterProducer().
|
private |
Definition at line 40 of file IslandClusterProducer.h.
Referenced by counterExceeded(), IslandClusterProducer(), and produce().
|
private |
Definition at line 39 of file IslandClusterProducer.h.
Referenced by counterExceeded().
|
private |
Definition at line 58 of file IslandClusterProducer.h.
Referenced by IslandClusterProducer().
|
private |
Definition at line 59 of file IslandClusterProducer.h.
Referenced by clusterizeECALPart(), and IslandClusterProducer().
|
private |
Definition at line 42 of file IslandClusterProducer.h.
Referenced by IslandClusterProducer().