00001 #ifndef PerformancePayload_h 00002 #define PerformancePayload_h 00003 00004 //#include "CondFormats/PerformanceDBObjects/interface/PhysicsPerformancePayload.h" 00005 #include "CondFormats/PhysicsToolsObjects/interface/BinningPointByMap.h" 00006 #include "CondFormats/PhysicsToolsObjects/interface/PerformanceResult.h" 00007 00008 00009 #include <string> 00010 #include <vector> 00011 00012 class PerformancePayload 00013 // : public PhysicsPerformancePayload 00014 { 00015 public: 00016 00017 static const float InvalidResult; 00018 00019 // PerformancePayload(int stride_, std::string columns_,std::vector<float> table) : PhysicsPerformancePayload(stride_, columns_, table) {} 00020 00021 PerformancePayload(){} 00022 00023 virtual float getResult(PerformanceResult::ResultType,BinningPointByMap) const = 0; // gets from the full payload 00024 virtual bool isInPayload(PerformanceResult::ResultType,BinningPointByMap) const = 0; 00025 protected: 00026 00027 }; 00028 00029 #endif 00030