#include <CaloTowersCreator.h>
Public Member Functions | |
CaloTowersCreator (const edm::ParameterSet &ps) | |
void | produce (edm::Event &e, const edm::EventSetup &c) override |
~CaloTowersCreator () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Static Public Member Functions | |
static void | fillDescriptions (edm::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 |
Original author: J. Mans - Minnesota
Definition at line 25 of file CaloTowersCreator.h.
|
explicit |
Definition at line 13 of file CaloTowersCreator.cc.
References algo_, allowMissingInputs_, gather_cfg::cout, 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, CaloTowersCreationAlgo::setMissingHcalRescaleFactorForEcal(), theEcalSeveritiesToBeExcluded_, theEcalSeveritiesToBeUsedInBadTowers_, tok_hbhe_, tok_hf_, tok_ho_, toks_ecal_, and useRejectedHitsOnly_.
|
inlineoverride |
Definition at line 28 of file CaloTowersCreator.h.
References EnergyCorrector::c, MillePedeFileConverter_cfg::e, fillDescriptions(), and produce().
|
static |
Definition at line 308 of file CaloTowersCreator.cc.
References edm::ParameterSetDescription::add(), and edm::ConfigurationDescriptions::addDefault().
Referenced by ~CaloTowersCreator().
|
staticprivate |
|
override |
Definition at line 139 of file CaloTowersCreator.cc.
References algo_, allowMissingInputs_, CaloTowersCreationAlgo::begin(), edm::SortedCollection< T, SORT >::begin(), caloTowerConstituentsWatcher_, edm::ESWatcher< T >::check(), gather_cfg::cout, EBEScale, RecoEcal_EventContent_cff::ec, EcalBarrel, EcalEndcap, ecalSevLevelWatcher_, EEEScale, edm::SortedCollection< T, SORT >::empty(), 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(), 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 CaloTowersCreator(), and produce().
|
private |
Definition at line 44 of file CaloTowersCreator.h.
Referenced by CaloTowersCreator(), and 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 CaloTowersCreator(), and 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().