Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) override |
virtual void | beginJob () override |
virtual void | endJob () override |
QGLikelihoodDBWriter (const edm::ParameterSet &) | |
~QGLikelihoodDBWriter () | |
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 |
virtual | ~EDAnalyzer () |
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) |
Private Member Functions | |
bool | getVectorFromFile (TFile *, std::vector< float > &, const TString &) |
QGLikelihoodObject::Histogram | transformToHistogramObject (TH1 *) |
void | tryToMerge (std::map< std::vector< int >, QGLikelihoodCategory > &, std::map< std::vector< int >, TH1 * > &, std::vector< int > &, int) |
Private Attributes | |
std::string | inputRootFile |
std::string | payloadTag |
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 &) |
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 24 of file QGLikelihoodDBWriter.cc.
QGLikelihoodDBWriter::QGLikelihoodDBWriter | ( | const edm::ParameterSet & | pSet | ) |
Definition at line 41 of file QGLikelihoodDBWriter.cc.
References edm::ParameterSet::getParameter(), inputRootFile, payloadTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 30 of file QGLikelihoodDBWriter.cc.
References getVectorFromFile(), genParticles_cff::map, transformToHistogramObject(), and tryToMerge().
|
inlineoverridevirtual |
Definition at line 28 of file QGLikelihoodDBWriter.cc.
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 89 of file QGLikelihoodDBWriter.cc.
References cond::service::PoolDBOutputService::appendSinceTime(), cond::service::PoolDBOutputService::beginOfTime(), myMessageLogger_cff::categories, QGLikelihoodObject::Entry::category, python.rootplot.argparse::category, cond::service::PoolDBOutputService::createNewIOV(), QGLikelihoodObject::data, DEFINE_FWK_MODULE, cond::service::PoolDBOutputService::endOfTime(), mps_splice::entry, QGLikelihoodCategory::EtaMax, QGLikelihoodCategory::EtaMin, f, getVectorFromFile(), QGLikelihoodObject::Entry::histogram, mps_fire::i, inputRootFile, createfilelist::int, edm::Service< T >::isAvailable(), cond::service::PoolDBOutputService::isNewTagRequest(), gen::k, crabWrapper::key, QGLikelihoodObject::Entry::mean, jetCorrFactors_cfi::payload, payloadTag, QGLikelihoodCategory::PtMax, QGLikelihoodCategory::PtMin, QGLikelihoodCategory::QGIndex, QGLikelihoodObject::qgValidRange, QGLikelihoodCategory::RhoMax, QGLikelihoodCategory::RhoMin, alignCSCRings::s, findQualityFiles::size, transformToHistogramObject(), tryToMerge(), and QGLikelihoodCategory::VarIndex.
|
inlineoverridevirtual |
|
private |
Definition at line 48 of file QGLikelihoodDBWriter.cc.
References mps_fire::i.
Referenced by beginJob(), and ~QGLikelihoodDBWriter().
|
private |
Definition at line 58 of file QGLikelihoodDBWriter.cc.
References PhysicsTools::Calibration::Histogram< Value_t, Axis_t >::setBinContent().
Referenced by beginJob(), and ~QGLikelihoodDBWriter().
|
private |
Definition at line 66 of file QGLikelihoodDBWriter.cc.
References myMessageLogger_cff::categories, Gflash::EtaMax, Gflash::EtaMin, HLT_HIPhoton15_DQM_cfi::PtMax, HIPixelMedianVertex_cfi::PtMin, and hltL2MuonIsolationsCR_cfi::RhoMax.
Referenced by beginJob(), and ~QGLikelihoodDBWriter().
|
private |
Definition at line 36 of file QGLikelihoodDBWriter.cc.
Referenced by beginJob(), and QGLikelihoodDBWriter().
|
private |
Definition at line 36 of file QGLikelihoodDBWriter.cc.
Referenced by beginJob(), and QGLikelihoodDBWriter().