CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_1/src/CondFormats/PhysicsToolsObjects/interface/PerformanceWorkingPoint.h

Go to the documentation of this file.
00001 #ifndef PerformanceWorkingPoint_h
00002 #define PerformanceWorkingPoint_h
00003 
00004 
00005 #include "string"
00006 
00007 class PerformanceWorkingPoint {
00008  public:
00009   PerformanceWorkingPoint(){}
00010   PerformanceWorkingPoint(float c, std::string s) : cut_(c), dname_ (s) {}
00011   float cut()const {return cut_;}
00012   std::string discriminantName()const {return dname_;}
00013   bool cutBased()const {if (cut_==-9999) return false; return true;}
00014 
00015  private: 
00016   float cut_;
00017   std::string dname_;
00018 };
00019 
00020 
00021 #endif