|
void | analyze (const edm::Event &, const edm::EventSetup &) override |
|
void | beginJob () override |
|
void | endJob () override |
|
| QGLikelihoodSystematicsDBWriter (const edm::ParameterSet &) |
|
| ~QGLikelihoodSystematicsDBWriter () override |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzer () |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () |
|
SerialTaskQueue * | globalRunsQueue () |
|
ModuleDescription const & | moduleDescription () const |
|
std::string | workerType () const |
|
| ~EDAnalyzer () override |
|
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 &&)=default |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
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 & | operator= (EDConsumerBase &&)=default |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
typedef EDAnalyzer | ModuleType |
|
typedef ProductLabels | Labels |
|
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 () |
|
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes () |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
|
void QGLikelihoodSystematicsDBWriter::beginJob |
( |
void |
| ) |
|
|
overridevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 38 of file QGLikelihoodSystematicsDBWriter.cc.
42 std::ifstream database;
44 if (!database.is_open()) {
49 while (std::getline(database,
line)) {
50 float ptMin,
ptMax,
etaMin,
etaMax,
rhoMin,
rhoMax, a_q, b_q, a_g, b_g, lmin, lmax;
51 char tag[1023], leadchar;
52 sscanf(
line.c_str(),
"%c", &leadchar);
53 if ((leadchar ==
'#') || (leadchar ==
'!'))
56 "%s %f %f %f %f %f %f %f %f %f %f %f %f",
86 quarkEntry.
lmin = lmin;
87 quarkEntry.
lmax = lmax;
95 payload->data.push_back(quarkEntry);
96 payload->data.push_back(gluonEntry);
101 edm::LogInfo(
"UserOutput") <<
"Opening PoolDBOutputService" << std::endl;
103 if (
s.isAvailable()) {
104 edm::LogInfo(
"UserOutput") <<
"Setting up payload with " <<
payload->data.size() <<
" entries and tag "
111 edm::LogInfo(
"UserOutput") <<
"Wrote in CondDB QGLikelihoodSystematic payload label: " <<
payloadTag << std::endl;
References QGLikelihoodSystematicsObject::Entry::a, QGLikelihoodSystematicsObject::Entry::b, taus_updatedMVAIds_cff::category, ALCARECOTkAlBeamHalo_cff::etaMax, ALCARECOTkAlBeamHalo_cff::etaMin, fileName, contentValuesFiles::fullPath, recoMuon::in, mps_splice::line, QGLikelihoodSystematicsObject::Entry::lmax, QGLikelihoodSystematicsObject::Entry::lmin, jets_cff::payload, payloadTag, AlignmentTrackSelector_cfi::ptMax, ptMin, QGLikelihoodCategory::QGIndex, HLT_2018_cff::rhoMax, electronConversionRejectionValidator::rhoMin, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, QGLikelihoodSystematicsObject::Entry::systCategory, and GlobalPosition_Frontier_DevDB_cff::tag.