Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
BinningPointByMap.h
PerformancePayload::isInPayload
virtual bool isInPayload(PerformanceResult::ResultType, const BinningPointByMap &) const =0
PerformancePayload::COND_SERIALIZABLE
COND_SERIALIZABLE
Definition:
PerformancePayload.h:34
PerformancePayload::InvalidResult
static const float InvalidResult
Definition:
PerformancePayload.h:20
PerformancePayload::~PerformancePayload
virtual ~PerformancePayload()
Definition:
PerformancePayload.h:25
PerformancePayload::initialize
virtual void initialize()
Definition:
PerformancePayload.h:27
PerformanceResult::ResultType
ResultType
Definition:
PerformanceResult.h:8
BinningPointByMap
Definition:
BinningPointByMap.h:9
PerformancePayload::getResult
virtual float getResult(PerformanceResult::ResultType, const BinningPointByMap &) const =0
PerformancePayload
Definition:
PerformancePayload.h:15
PerformancePayload::PerformancePayload
PerformancePayload()
Definition:
PerformancePayload.h:24
Serializable.h
Generated for CMSSW Reference Manual by
1.8.5