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
std::vector< float > payload() const
#define COND_SERIALIZABLE
Definition: Serializable.h:39