#include <CaloTowersCreator.h>
Public Member Functions | |
CaloTowersCreator (const edm::ParameterSet &ps) | |
virtual void | produce (edm::Event &e, const edm::EventSetup &c) |
virtual | ~CaloTowersCreator () |
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 () |
Public Attributes | |
double | EBEScale |
double | EEEScale |
double | HBEScale |
double | HEDEScale |
double | HESEScale |
double | HF1EScale |
double | HF2EScale |
double | HOEScale |
Static Private Member Functions | |
static const std::vector < double > & | getGridValues () |
Private Attributes | |
CaloTowersCreationAlgo | algo_ |
bool | allowMissingInputs_ |
edm::ESWatcher < IdealGeometryRecord > | caloTowerConstituentsWatcher_ |
std::vector< edm::InputTag > | ecalLabels_ |
edm::ESWatcher < EcalSeverityLevelAlgoRcd > | ecalSevLevelWatcher_ |
EScales | eScales_ |
edm::ESWatcher < HcalChannelQualityRcd > | hcalChStatusWatcher_ |
edm::ESWatcher < HcalSeverityLevelComputerRcd > | hcalSevLevelWatcher_ |
std::vector< int > | theEcalSeveritiesToBeExcluded_ |
std::vector< int > | theEcalSeveritiesToBeUsedInBadTowers_ |
unsigned int | theHcalAcceptSeverityLevel_ |
unsigned int | theHcalAcceptSeverityLevelForRejectedHit_ |
bool | theRecoveredEcalHitsAreUsed_ |
bool | theRecoveredHcalHitsAreUsed_ |
edm::EDGetTokenT < HBHERecHitCollection > | tok_hbhe_ |
edm::EDGetTokenT < HFRecHitCollection > | tok_hf_ |
edm::EDGetTokenT < HORecHitCollection > | tok_ho_ |
std::vector< edm::EDGetTokenT < EcalRecHitCollection > > | toks_ecal_ |
bool | useRejectedHitsOnly_ |
bool | useRejectedRecoveredEcalHits_ |
bool | useRejectedRecoveredHcalHits_ |
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) |
Original author: J. Mans - Minnesota
Definition at line 25 of file CaloTowersCreator.h.
|
explicit |
Definition at line 11 of file CaloTowersCreator.cc.
References EBEScale, EScales::EBScale, ecalLabels_, EEEScale, EScales::EEScale, eScales_, edm::ParameterSet::getParameter(), HBEScale, EScales::HBScale, HEDEScale, EScales::HEDScale, HESEScale, EScales::HESScale, HF1EScale, EScales::HF1Scale, HF2EScale, EScales::HF2Scale, HOEScale, EScales::HOScale, i, EScales::instanceLabel, theEcalSeveritiesToBeExcluded_, theEcalSeveritiesToBeUsedInBadTowers_, tok_hbhe_, tok_hf_, tok_ho_, and toks_ecal_.
|
inlinevirtual |
Definition at line 28 of file CaloTowersCreator.h.
|
staticprivate |
|
virtual |
Implements edm::stream::EDProducerBase.
Definition at line 131 of file CaloTowersCreator.cc.
References algo_, allowMissingInputs_, CaloTowersCreationAlgo::begin(), caloTowerConstituentsWatcher_, edm::ESWatcher< T >::check(), EBEScale, EcalBarrel, EcalEndcap, ecalSevLevelWatcher_, EEEScale, eScales_, CaloTowersCreationAlgo::finish(), edm::EventSetup::get(), edm::Event::getByToken(), HBEScale, hcalChStatusWatcher_, hcalSevLevelWatcher_, HEDEScale, HESEScale, HF1EScale, HF2EScale, HOEScale, i, EScales::instanceLabel, CaloTowersCreationAlgo::makeEcalBadChs(), CaloTowersCreationAlgo::makeHcalDropChMap(), CaloTowersCreationAlgo::process(), parseEventContent::prod, edm::ESHandle< class >::product(), edm::Event::put(), CaloTowersCreationAlgo::setEBEScale(), CaloTowersCreationAlgo::setEbHandle(), CaloTowersCreationAlgo::setEcalChStatusFromDB(), CaloTowersCreationAlgo::setEcalSeveritiesToBeExcluded(), CaloTowersCreationAlgo::SetEcalSeveritiesToBeUsedInBadTowers(), CaloTowersCreationAlgo::setEcalSevLvlAlgo(), CaloTowersCreationAlgo::setEEEScale(), CaloTowersCreationAlgo::setEeHandle(), CaloTowersCreationAlgo::setGeometry(), CaloTowersCreationAlgo::setHBEScale(), CaloTowersCreationAlgo::setHcalAcceptSeverityLevel(), CaloTowersCreationAlgo::setHcalAcceptSeverityLevelForRejectedHit(), CaloTowersCreationAlgo::setHcalChStatusFromDB(), CaloTowersCreationAlgo::setHcalSevLvlComputer(), CaloTowersCreationAlgo::setHEDEScale(), CaloTowersCreationAlgo::setHESEScale(), CaloTowersCreationAlgo::setHF1EScale(), CaloTowersCreationAlgo::setHF2EScale(), CaloTowersCreationAlgo::setHOEScale(), CaloTowersCreationAlgo::setRecoveredEcalHitsAreUsed(), CaloTowersCreationAlgo::setRecoveredHcalHitsAreUsed(), CaloTowersCreationAlgo::setUseRejectedHitsOnly(), CaloTowersCreationAlgo::setUseRejectedRecoveredEcalHits(), CaloTowersCreationAlgo::setUseRejectedRecoveredHcalHits(), theEcalSeveritiesToBeExcluded_, theEcalSeveritiesToBeUsedInBadTowers_, theHcalAcceptSeverityLevel_, theHcalAcceptSeverityLevelForRejectedHit_, theRecoveredEcalHitsAreUsed_, theRecoveredHcalHitsAreUsed_, tok_hbhe_, tok_hf_, tok_ho_, toks_ecal_, useRejectedHitsOnly_, useRejectedRecoveredEcalHits_, and useRejectedRecoveredHcalHits_.
|
private |
Definition at line 37 of file CaloTowersCreator.h.
Referenced by produce().
|
private |
Definition at line 43 of file CaloTowersCreator.h.
Referenced by produce().
|
private |
Definition at line 75 of file CaloTowersCreator.h.
Referenced by produce().
double CaloTowersCreator::EBEScale |
Definition at line 30 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator(), and produce().
|
private |
Definition at line 41 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator().
|
private |
Definition at line 76 of file CaloTowersCreator.h.
Referenced by produce().
double CaloTowersCreator::EEEScale |
Definition at line 30 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator(), and produce().
|
private |
Definition at line 77 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator(), and produce().
double CaloTowersCreator::HBEScale |
Definition at line 30 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator(), and produce().
|
private |
Definition at line 74 of file CaloTowersCreator.h.
Referenced by produce().
|
private |
Definition at line 73 of file CaloTowersCreator.h.
Referenced by produce().
double CaloTowersCreator::HEDEScale |
Definition at line 31 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator(), and produce().
double CaloTowersCreator::HESEScale |
Definition at line 30 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator(), and produce().
double CaloTowersCreator::HF1EScale |
Definition at line 31 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator(), and produce().
double CaloTowersCreator::HF2EScale |
Definition at line 31 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator(), and produce().
double CaloTowersCreator::HOEScale |
Definition at line 31 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator(), and produce().
|
private |
Definition at line 49 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator(), and produce().
|
private |
Definition at line 61 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator(), and produce().
|
private |
Definition at line 48 of file CaloTowersCreator.h.
Referenced by produce().
|
private |
Definition at line 59 of file CaloTowersCreator.h.
Referenced by produce().
|
private |
Definition at line 53 of file CaloTowersCreator.h.
Referenced by produce().
|
private |
Definition at line 52 of file CaloTowersCreator.h.
Referenced by produce().
|
private |
Definition at line 38 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator(), and produce().
|
private |
Definition at line 40 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator(), and produce().
|
private |
Definition at line 39 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator(), and produce().
|
private |
Definition at line 42 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator(), and produce().
|
private |
Definition at line 58 of file CaloTowersCreator.h.
Referenced by produce().
|
private |
Definition at line 71 of file CaloTowersCreator.h.
Referenced by produce().
|
private |
Definition at line 70 of file CaloTowersCreator.h.
Referenced by produce().