1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#ifndef PerformanceWorkingPoint_h
#define PerformanceWorkingPoint_h
#include "CondFormats/Serialization/interface/Serializable.h"
#include "string"
class PerformanceWorkingPoint {
public:
PerformanceWorkingPoint() {}
PerformanceWorkingPoint(float c, std::string s) : cut_(c), dname_(s) {}
float cut() const { return cut_; }
std::string discriminantName() const { return dname_; }
bool cutBased() const {
if (cut_ == -9999)
return false;
return true;
}
private:
float cut_;
std::string dname_;
COND_SERIALIZABLE;
};
#endif
|