CMS 3D CMS Logo

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 
10 
11 #include <vector>
12 
14 public:
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 
27 
28 protected:
29  int stride_;
30  std::vector<float> table_;
31 
33 };
34 
35 #endif
PhysicsPerformancePayload::table_
std::vector< float > table_
Definition: PhysicsPerformancePayload.h:30
PhysicsPerformancePayload::Row
std::vector< float > Row
Definition: PhysicsPerformancePayload.h:19
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
PhysicsPerformancePayload::payload
std::vector< float > payload() const
Definition: PhysicsPerformancePayload.h:24
PhysicsPerformancePayload
Definition: PhysicsPerformancePayload.h:13
PhysicsPerformancePayload::~PhysicsPerformancePayload
virtual ~PhysicsPerformancePayload()
Definition: PhysicsPerformancePayload.h:26
Serializable.h
PhysicsPerformancePayload::nRows
int nRows() const
Definition: PhysicsPerformancePayload.cc:5
PhysicsPerformancePayload::stride
int stride()
Definition: PhysicsPerformancePayload.h:17
PhysicsPerformancePayload::getRow
Row getRow(int n) const
Definition: PhysicsPerformancePayload.cc:7
PhysicsPerformancePayload::stride_
int stride_
Definition: PhysicsPerformancePayload.h:29
TableParser.table
table
Definition: TableParser.py:111
PhysicsPerformancePayload::PhysicsPerformancePayload
PhysicsPerformancePayload()
Definition: PhysicsPerformancePayload.h:15