#include <DTTTrigCorrection.h>
Public Member Functions | |
void | analyze (const edm::Event &event, const edm::EventSetup &setup) override |
void | beginJob () override |
void | beginRun (const edm::Run &run, const edm::EventSetup &setup) override |
DTTTrigCorrection (const edm::ParameterSet &pset) | |
Constructor. More... | |
void | endJob () override |
~DTTTrigCorrection () override | |
Destructor. More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
~EDAnalyzer () override | |
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 |
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Attributes | |
dtCalibration::DTTTrigBaseCorrection * | correctionAlgo_ |
std::string | dbLabel_ |
edm::ESHandle< DTGeometry > | muonGeom_ |
const DTTtrig * | tTrigMap_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
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) |
Class which read a ttrig DB and correct it with the near SL (or the global average)
Definition at line 23 of file DTTTrigCorrection.h.
DTTTrigCorrection::DTTTrigCorrection | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 35 of file DTTTrigCorrection.cc.
References correctionAlgo_, reco::get(), and edm::ParameterSet::getParameter().
|
override |
Destructor.
Definition at line 45 of file DTTTrigCorrection.cc.
References correctionAlgo_.
|
inlineoverride |
Definition at line 35 of file DTTTrigCorrection.h.
|
inlineoverridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 33 of file DTTTrigCorrection.h.
References findQualityFiles::run, and GeneralSetup::setup().
|
override |
Definition at line 50 of file DTTTrigCorrection.cc.
References correctionAlgo_, dbLabel_, edm::EventSetup::get(), muonGeom_, dtCalibration::DTTTrigBaseCorrection::setES(), tTrigMap_, and DTTtrig::version().
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 64 of file DTTTrigCorrection.cc.
References dtCalibration::DTTTrigBaseCorrection::correction(), correctionAlgo_, MillePedeFileConverter_cfg::e, cms::Exception::explainSelf(), DTTtrig::get(), DTAnalyzerDetailed_cfi::kFactor, dtCalibration::DTTTrigData::kFactor, dtCalibration::DTTTrigData::mean, muonGeom_, DTTimeUnits::ns, record, DTTtrig::set(), dtCalibration::DTTTrigData::sigma, mps_update::status, DTGeometry::superLayers(), and tTrigMap_.
Referenced by o2olib.O2ORunMgr::executeJob().
|
private |
Definition at line 46 of file DTTTrigCorrection.h.
Referenced by beginRun(), DTTTrigCorrection(), endJob(), and ~DTTTrigCorrection().
|
private |
Definition at line 41 of file DTTTrigCorrection.h.
Referenced by beginRun().
|
private |
Definition at line 44 of file DTTTrigCorrection.h.
Referenced by beginRun(), and endJob().
|
private |
Definition at line 43 of file DTTTrigCorrection.h.
Referenced by beginRun(), and endJob().