1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#ifndef PhysicsPerformancePayload_h
#define PhysicsPerformancePayload_h
//
// File: CondFormats/PhysicsPerformancePayload/interface/PhysicsPerformancePayload.h
//
// Zongru Wan, Kansas State University
//
#include "CondFormats/Serialization/interface/Serializable.h"
#include <vector>
class PhysicsPerformancePayload {
public:
PhysicsPerformancePayload() {}
PhysicsPerformancePayload(int stride, const std::vector<float>& table);
int stride() { return stride_; }
typedef std::vector<float> Row;
Row getRow(int n) const;
int nRows() const;
std::vector<float> payload() const { return table_; }
virtual ~PhysicsPerformancePayload() {}
protected:
int stride_;
std::vector<float> table_;
COND_SERIALIZABLE;
};
#endif
|