#include <PerformancePayloadFromBinnedTFormula.h>
Public Member Functions | |
const std::vector< PhysicsTFormulaPayload > & | formulaPayloads () const |
float | getResult (PerformanceResult::ResultType, const BinningPointByMap &) const override |
void | initialize () override |
bool | isInPayload (PerformanceResult::ResultType, const BinningPointByMap &) const override |
virtual bool | isParametrizedInVariable (const BinningVariables::BinningVariablesType p) const |
PerformancePayloadFromBinnedTFormula (const std::vector< PerformanceResult::ResultType > &r, const std::vector< BinningVariables::BinningVariablesType > &b, const std::vector< PhysicsTFormulaPayload > &in) | |
PerformancePayloadFromBinnedTFormula () | |
void | printFormula (PerformanceResult::ResultType res, const BinningPointByMap &) const |
~PerformancePayloadFromBinnedTFormula () override | |
Public Member Functions inherited from PerformancePayload | |
PerformancePayload () | |
virtual | ~PerformancePayload () |
Static Public Attributes | |
static const int | InvalidPos = -1 |
Static Public Attributes inherited from PerformancePayload | |
static const float | InvalidResult = -100. |
Protected Member Functions | |
const std::shared_ptr< TFormula > & | getFormula (PerformanceResult::ResultType, const BinningPointByMap &) const |
bool | isOk (const BinningPointByMap &p, unsigned int &) const |
virtual int | limitPos (const BinningVariables::BinningVariablesType b) const |
virtual std::vector< BinningVariables::BinningVariablesType > | myBinning () const |
virtual int | resultPos (PerformanceResult::ResultType r) const |
Protected Attributes | |
std::vector< std::vector< std::shared_ptr< TFormula > > > | compiledFormulas_ |
std::vector< PhysicsTFormulaPayload > | pls |
std::vector< PerformanceResult::ResultType > | results_ |
std::vector< BinningVariables::BinningVariablesType > | variables_ |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Definition at line 17 of file PerformancePayloadFromBinnedTFormula.h.
|
inline |
Definition at line 22 of file PerformancePayloadFromBinnedTFormula.h.
References initialize().
|
inline |
Definition at line 31 of file PerformancePayloadFromBinnedTFormula.h.
|
inlineoverride |
Definition at line 32 of file PerformancePayloadFromBinnedTFormula.h.
References compiledFormulas_, and getResult().
|
inline |
Definition at line 43 of file PerformancePayloadFromBinnedTFormula.h.
References pls, and printFormula().
Referenced by PhysicsPerformanceDBWriterTFormula_fromfile_WPandPL::beginJob().
|
protected |
Definition at line 30 of file PerformancePayloadFromBinnedTFormula.cc.
References Exception, convertSQLiteXML::ok, and HLT_2018_cff::region.
Referenced by resultPos().
|
overridevirtual |
Implements PerformancePayload.
Definition at line 47 of file PerformancePayloadFromBinnedTFormula.cc.
References pfMETCorrectionType0_cfi::formula, mps_fire::i, PerformancePayload::InvalidResult, AlCaHLTBitMon_ParallelJobs::p, OrderedSet::t, BinningPointByMap::value(), and contentValuesCheck::values.
Referenced by ~PerformancePayloadFromBinnedTFormula().
|
overridevirtual |
Reimplemented from PerformancePayload.
Definition at line 14 of file PerformancePayloadFromBinnedTFormula.cc.
References relval_steps::gen(), mps_fire::i, findQualityFiles::size, AlCaHLTBitMon_QueryRunRegistry::string, OrderedSet::t, groupFilesInBlocks::temp, createJobs::tmp, groupFilesInBlocks::tt, and createPayload::uuid.
Referenced by PerformancePayloadFromBinnedTFormula().
|
overridevirtual |
Implements PerformancePayload.
Definition at line 110 of file PerformancePayloadFromBinnedTFormula.cc.
References InvalidPos.
Referenced by isParametrizedInVariable().
|
protected |
Definition at line 81 of file PerformancePayloadFromBinnedTFormula.cc.
References BinningPointByMap::isKeyAvailable(), TH2PolyOfflineMaps::limits, AlCaHLTBitMon_ParallelJobs::p, mps_fire::result, OrderedSet::t, findQualityFiles::v, and BinningPointByMap::value().
Referenced by resultPos().
|
inlinevirtual |
Definition at line 37 of file PerformancePayloadFromBinnedTFormula.h.
References InvalidPos, isInPayload(), and limitPos().
|
inlineprotectedvirtual |
Definition at line 50 of file PerformancePayloadFromBinnedTFormula.h.
References b, spr::find(), InvalidPos, AlCaHLTBitMon_ParallelJobs::p, and variables_.
Referenced by isParametrizedInVariable().
|
inlineprotectedvirtual |
Definition at line 48 of file PerformancePayloadFromBinnedTFormula.h.
References variables_.
void PerformancePayloadFromBinnedTFormula::printFormula | ( | PerformanceResult::ResultType | res, |
const BinningPointByMap & | point | ||
) | const |
Definition at line 121 of file PerformancePayloadFromBinnedTFormula.cc.
References gather_cfg::cout, pfMETCorrectionType0_cfi::formula, InvalidPos, TH2PolyOfflineMaps::limits, and OrderedSet::t.
Referenced by formulaPayloads().
|
inlineprotectedvirtual |
Definition at line 58 of file PerformancePayloadFromBinnedTFormula.h.
References spr::find(), getFormula(), InvalidPos, isOk(), AlCaHLTBitMon_ParallelJobs::p, alignCSCRings::r, and results_.
|
private |
|
friend |
Definition at line 88 of file PerformancePayloadFromBinnedTFormula.h.
|
friend |
Definition at line 88 of file PerformancePayloadFromBinnedTFormula.h.
|
protected |
Definition at line 85 of file PerformancePayloadFromBinnedTFormula.h.
Referenced by ~PerformancePayloadFromBinnedTFormula().
|
static |
Definition at line 20 of file PerformancePayloadFromBinnedTFormula.h.
Referenced by isInPayload(), isParametrizedInVariable(), limitPos(), printFormula(), and resultPos().
|
protected |
Definition at line 73 of file PerformancePayloadFromBinnedTFormula.h.
Referenced by formulaPayloads().
|
protected |
Definition at line 77 of file PerformancePayloadFromBinnedTFormula.h.
Referenced by resultPos().
|
protected |
Definition at line 78 of file PerformancePayloadFromBinnedTFormula.h.
Referenced by limitPos(), and myBinning().