Main Page
Namespaces
Classes
Package Documentation
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
11
#include <string>
12
#include <vector>
13
#include <iostream>
14
15
class
PerformancePayload
16
// : public PhysicsPerformancePayload
17
{
18
public
:
19
20
static
const
float
InvalidResult
;
21
22
// PerformancePayload(int stride_, std::string columns_,std::vector<float> table) : PhysicsPerformancePayload(stride_, columns_, table) {}
23
24
PerformancePayload
(){}
25
virtual
~PerformancePayload
() {};
26
27
virtual
void
initialize
() { }
28
29
virtual
float
getResult
(
PerformanceResult::ResultType
,
const
BinningPointByMap
&)
const
= 0;
// gets from the full payload
30
virtual
bool
isInPayload
(
PerformanceResult::ResultType
,
const
BinningPointByMap
&)
const
= 0;
31
protected
:
32
33
34
COND_SERIALIZABLE
;
35
};
36
37
#endif
38
PerformanceResult.h
PerformancePayload::getResult
virtual float getResult(PerformanceResult::ResultType, const BinningPointByMap &) const =0
BinningPointByMap.h
PerformancePayload::InvalidResult
static const float InvalidResult
Definition:
PerformancePayload.h:20
PerformancePayload::~PerformancePayload
virtual ~PerformancePayload()
Definition:
PerformancePayload.h:25
PerformancePayload::isInPayload
virtual bool isInPayload(PerformanceResult::ResultType, const BinningPointByMap &) const =0
PerformancePayload::initialize
virtual void initialize()
Definition:
PerformancePayload.h:27
PerformanceResult::ResultType
ResultType
Definition:
PerformanceResult.h:8
BinningPointByMap
Definition:
BinningPointByMap.h:9
PerformancePayload
Definition:
PerformancePayload.h:15
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:38
PerformancePayload::PerformancePayload
PerformancePayload()
Definition:
PerformancePayload.h:24
Serializable.h
Generated for CMSSW Reference Manual by
1.8.11