Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
{
15
public
:
16
PhysicsPerformancePayload
(){}
17
PhysicsPerformancePayload
(
int
stride
,
const
std::vector<float>&
table
);
18
int
stride
(){
return
stride_
;}
19
20
typedef
std::vector<float>
Row
;
21
22
Row
getRow
(
int
n
)
const
;
23
int
nRows
()
const
;
24
25
std::vector<float>
payload
()
const
{
return
table_
;}
26
27
28
virtual
~PhysicsPerformancePayload
() {}
29
30
31
protected
:
32
int
stride_
;
33
std::vector<float>
table_
;
34
35
COND_SERIALIZABLE
;
36
};
37
38
#endif
39
PhysicsPerformancePayload::stride_
int stride_
Definition:
PhysicsPerformancePayload.h:32
PhysicsPerformancePayload::stride
int stride()
Definition:
PhysicsPerformancePayload.h:18
PhysicsPerformancePayload::table_
std::vector< float > table_
Definition:
PhysicsPerformancePayload.h:33
PhysicsPerformancePayload::PhysicsPerformancePayload
PhysicsPerformancePayload()
Definition:
PhysicsPerformancePayload.h:16
PhysicsPerformancePayload::nRows
int nRows() const
Definition:
PhysicsPerformancePayload.cc:5
PhysicsPerformancePayload::Row
std::vector< float > Row
Definition:
PhysicsPerformancePayload.h:20
PhysicsPerformancePayload::getRow
Row getRow(int n) const
Definition:
PhysicsPerformancePayload.cc:9
table
#define table(NAME)
Definition:
DbCore.h:49
n
int n
Definition:
DTDataIntegrityTask.cc:30
PhysicsPerformancePayload::payload
std::vector< float > payload() const
Definition:
PhysicsPerformancePayload.h:25
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:37
PhysicsPerformancePayload::~PhysicsPerformancePayload
virtual ~PhysicsPerformancePayload()
Definition:
PhysicsPerformancePayload.h:28
Serializable.h
PhysicsPerformancePayload
Definition:
PhysicsPerformancePayload.h:13
Generated for CMSSW Reference Manual by
1.8.5