src
CondFormats
PhysicsToolsObjects
interface
PerformancePayload.h
Go to the documentation of this file.
1
#ifndef PerformancePayload_h
2
#define PerformancePayload_h
3
4
#include "
CondFormats/Serialization/interface/Serializable.h
"
5
6
//#include "CondFormats/PerformanceDBObjects/interface/PhysicsPerformancePayload.h"
7
#include "
CondFormats/PhysicsToolsObjects/interface/BinningPointByMap.h
"
8
#include "
CondFormats/PhysicsToolsObjects/interface/PerformanceResult.h
"
9
10
#include <string>
11
#include <vector>
12
#include <iostream>
13
14
class
PerformancePayload
15
// : public PhysicsPerformancePayload
16
{
17
public
:
18
static
const
float
InvalidResult
;
19
20
// PerformancePayload(int stride_, std::string columns_,std::vector<float> table) : PhysicsPerformancePayload(stride_, columns_, table) {}
21
22
PerformancePayload
() {}
23
virtual
~PerformancePayload
() {}
24
25
virtual
void
initialize
() {}
26
27
virtual
float
getResult
(
PerformanceResult::ResultType
,
28
const
BinningPointByMap
&)
const
= 0;
// gets from the full payload
29
virtual
bool
isInPayload
(
PerformanceResult::ResultType
,
const
BinningPointByMap
&)
const
= 0;
30
31
protected
:
32
COND_SERIALIZABLE
;
33
};
34
35
#endif
PerformanceResult.h
BinningPointByMap.h
PerformancePayload::isInPayload
virtual bool isInPayload(PerformanceResult::ResultType, const BinningPointByMap &) const =0
PerformancePayload::InvalidResult
static const float InvalidResult
Definition:
PerformancePayload.h:18
PerformancePayload::~PerformancePayload
virtual ~PerformancePayload()
Definition:
PerformancePayload.h:23
PerformancePayload::initialize
virtual void initialize()
Definition:
PerformancePayload.h:25
PerformanceResult::ResultType
ResultType
Definition:
PerformanceResult.h:8
BinningPointByMap
Definition:
BinningPointByMap.h:8
PerformancePayload::getResult
virtual float getResult(PerformanceResult::ResultType, const BinningPointByMap &) const =0
PerformancePayload
Definition:
PerformancePayload.h:14
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
PerformancePayload::PerformancePayload
PerformancePayload()
Definition:
PerformancePayload.h:22
Serializable.h
Generated for CMSSW Reference Manual by
1.8.14