#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 | |
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) |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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 |
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) |
Original author: J. Mans - Minnesota
Definition at line 25 of file CaloTowersCreator.h.
|
explicit |
Definition at line 12 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, mps_fire::i, EScales::instanceLabel, theEcalSeveritiesToBeExcluded_, theEcalSeveritiesToBeUsedInBadTowers_, tok_hbhe_, tok_hf_, tok_ho_, and toks_ecal_.
|
inlinevirtual |
Definition at line 28 of file CaloTowersCreator.h.
References EnergyCorrector::c, MillePedeFileConverter_cfg::e, fillDescriptions(), and produce().
|
static |
Definition at line 296 of file CaloTowersCreator.cc.
References edm::ParameterSetDescription::add(), and edm::ConfigurationDescriptions::addDefault().
Referenced by ~CaloTowersCreator().
|
staticprivate |
|
virtual |
Definition at line 133 of file CaloTowersCreator.cc.
References algo_, allowMissingInputs_, CaloTowersCreationAlgo::begin(), edm::SortedCollection< T, SORT >::begin(), caloTowerConstituentsWatcher_, edm::ESWatcher< T >::check(), EBEScale, RecoEcal_EventContent_cff::ec, EcalBarrel, EcalEndcap, ecalSevLevelWatcher_, EEEScale, eScales_, CaloTowersCreationAlgo::finish(), edm::EventSetup::get(), edm::Event::getByToken(), HBEScale, photonIsolationHIProducer_cfi::hbhe, hcalChStatusWatcher_, hcalSevLevelWatcher_, HEDEScale, HESEScale, photonIsolationHIProducer_cfi::hf, HF1EScale, HF2EScale, photonIsolationHIProducer_cfi::ho, HOEScale, mps_fire::i, EScales::instanceLabel, CaloTowersCreationAlgo::makeEcalBadChs(), CaloTowersCreationAlgo::makeHcalDropChMap(), eostools::move(), CaloTowersCreationAlgo::process(), parseEventContent::prod, edm::ESHandle< T >::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(), edm::SortedCollection< T, SORT >::size(), theEcalSeveritiesToBeExcluded_, theEcalSeveritiesToBeUsedInBadTowers_, theHcalAcceptSeverityLevel_, theHcalAcceptSeverityLevelForRejectedHit_, theRecoveredEcalHitsAreUsed_, theRecoveredHcalHitsAreUsed_, tok_hbhe_, tok_hf_, tok_ho_, toks_ecal_, useRejectedHitsOnly_, useRejectedRecoveredEcalHits_, and useRejectedRecoveredHcalHits_.
Referenced by ~CaloTowersCreator().
|
private |
Definition at line 38 of file CaloTowersCreator.h.
Referenced by produce().
|
private |
Definition at line 44 of file CaloTowersCreator.h.
Referenced by produce().
|
private |
Definition at line 76 of file CaloTowersCreator.h.
Referenced by produce().
double CaloTowersCreator::EBEScale |
Definition at line 31 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator(), and produce().
|
private |
Definition at line 42 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator().
|
private |
Definition at line 77 of file CaloTowersCreator.h.
Referenced by produce().
double CaloTowersCreator::EEEScale |
Definition at line 31 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator(), and produce().
|
private |
Definition at line 78 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator(), and produce().
double CaloTowersCreator::HBEScale |
Definition at line 31 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator(), and produce().
|
private |
Definition at line 75 of file CaloTowersCreator.h.
Referenced by produce().
|
private |
Definition at line 74 of file CaloTowersCreator.h.
Referenced by produce().
double CaloTowersCreator::HEDEScale |
Definition at line 32 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator(), and produce().
double CaloTowersCreator::HESEScale |
Definition at line 31 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator(), and produce().
double CaloTowersCreator::HF1EScale |
Definition at line 32 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator(), and produce().
double CaloTowersCreator::HF2EScale |
Definition at line 32 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator(), and produce().
double CaloTowersCreator::HOEScale |
Definition at line 32 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator(), and produce().
|
private |
Definition at line 50 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator(), and produce().
|
private |
Definition at line 62 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator(), and produce().
|
private |
Definition at line 49 of file CaloTowersCreator.h.
Referenced by produce().
|
private |
Definition at line 60 of file CaloTowersCreator.h.
Referenced by produce().
|
private |
Definition at line 54 of file CaloTowersCreator.h.
Referenced by produce().
|
private |
Definition at line 53 of file CaloTowersCreator.h.
Referenced by produce().
|
private |
Definition at line 39 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator(), and produce().
|
private |
Definition at line 41 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 43 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator(), and produce().
|
private |
Definition at line 59 of file CaloTowersCreator.h.
Referenced by produce().
|
private |
Definition at line 72 of file CaloTowersCreator.h.
Referenced by produce().
|
private |
Definition at line 71 of file CaloTowersCreator.h.
Referenced by produce().