Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:24:30

0001 #ifndef BtagPerformance_h
0002 #define BtagPerformance_h
0003 
0004 //#include "CondFormats/BTagPerformance/interface/BtagPerformanceInterface.h"
0005 
0006 #include "CondFormats/PhysicsToolsObjects/interface/PerformancePayload.h"
0007 #include "CondFormats/PhysicsToolsObjects/interface/PerformanceWorkingPoint.h"
0008 
0009 #include <string>
0010 #include <vector>
0011 
0012 class BtagPerformance {
0013 public:
0014   BtagPerformance(const PerformancePayload& p, const PerformanceWorkingPoint& w) : pl(p), wp(w) {}
0015 
0016   virtual float getResult(PerformanceResult::ResultType, const BinningPointByMap&) const;
0017 
0018   virtual bool isResultOk(PerformanceResult::ResultType, const BinningPointByMap&) const;
0019 
0020   virtual const PerformancePayload& payload() const { return pl; }
0021 
0022   virtual const PerformanceWorkingPoint& workingPoint() const { return wp; }
0023 
0024   virtual ~BtagPerformance(){};
0025 
0026 private:
0027   const PerformancePayload& pl;
0028   const PerformanceWorkingPoint& wp;
0029 };
0030 
0031 #endif