CondFormats
PhysicsToolsObjects
interface
PhysicsPerformancePayload.h
Go to the documentation of this file.
1
#ifndef PhysicsPerformancePayload_h
2
#define PhysicsPerformancePayload_h
3
//
4
// File: CondFormats/PhysicsPerformancePayload/interface/PhysicsPerformancePayload.h
5
//
6
// Zongru Wan, Kansas State University
7
//
8
9
#include "
CondFormats/Serialization/interface/Serializable.h
"
10
11
#include <vector>
12
13
class
PhysicsPerformancePayload
{
14
public
:
15
PhysicsPerformancePayload
() {}
16
PhysicsPerformancePayload
(
int
stride
,
const
std::vector<float>&
table
);
17
int
stride
() {
return
stride_
; }
18
19
typedef
std::vector<float>
Row
;
20
21
Row
getRow
(
int
n
)
const
;
22
int
nRows
()
const
;
23
24
std::vector<float>
payload
()
const
{
return
table_
; }
25
26
virtual
~PhysicsPerformancePayload
() {}
27
28
protected
:
29
int
stride_
;
30
std::vector<float>
table_
;
31
32
COND_SERIALIZABLE
;
33
};
34
35
#endif
PhysicsPerformancePayload::stride_
int stride_
Definition:
PhysicsPerformancePayload.h:29
TableParser.table
table
Definition:
TableParser.py:111
PhysicsPerformancePayload::stride
int stride()
Definition:
PhysicsPerformancePayload.h:17
PhysicsPerformancePayload::getRow
Row getRow(int n) const
Definition:
PhysicsPerformancePayload.cc:7
PhysicsPerformancePayload::nRows
int nRows() const
Definition:
PhysicsPerformancePayload.cc:5
dqmiodumpmetadata.n
n
Definition:
dqmiodumpmetadata.py:28
PhysicsPerformancePayload::table_
std::vector< float > table_
Definition:
PhysicsPerformancePayload.h:30
PhysicsPerformancePayload::PhysicsPerformancePayload
PhysicsPerformancePayload()
Definition:
PhysicsPerformancePayload.h:15
PhysicsPerformancePayload::payload
std::vector< float > payload() const
Definition:
PhysicsPerformancePayload.h:24
PhysicsPerformancePayload::Row
std::vector< float > Row
Definition:
PhysicsPerformancePayload.h:19
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
PhysicsPerformancePayload::~PhysicsPerformancePayload
virtual ~PhysicsPerformancePayload()
Definition:
PhysicsPerformancePayload.h:26
Serializable.h
PhysicsPerformancePayload
Definition:
PhysicsPerformancePayload.h:13
Generated for CMSSW Reference Manual by
1.8.14