CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/src/CondFormats/PhysicsToolsObjects/interface/PhysicsPerformancePayload.h

Go to the documentation of this file.
00001 #ifndef PhysicsPerformancePayload_h
00002 #define PhysicsPerformancePayload_h
00003 //
00004 // File: CondFormats/PhysicsPerformancePayload/interface/PhysicsPerformancePayload.h
00005 //
00006 // Zongru Wan, Kansas State University
00007 //
00008 
00009 #include <vector>
00010 
00011 class PhysicsPerformancePayload
00012 {
00013  public:
00014   PhysicsPerformancePayload(){}
00015   PhysicsPerformancePayload(int stride, std::vector<float> table);
00016   int stride(){return stride_;}
00017 
00018   typedef std::vector<float> Row;
00019   
00020   Row getRow(int n) const;
00021   int nRows() const ;
00022   
00023   std::vector<float> payload() const {return table_;}
00024 
00025 
00026   virtual ~PhysicsPerformancePayload() {}
00027 
00028   
00029  protected:
00030   int stride_;
00031   std::vector<float> table_;
00032 };
00033 
00034 #endif
00035