src
CondFormats
PhysicsToolsObjects
interface
PerformanceWorkingPoint.h
Go to the documentation of this file.
1
#ifndef PerformanceWorkingPoint_h
2
#define PerformanceWorkingPoint_h
3
4
#include "
CondFormats/Serialization/interface/Serializable.h
"
5
6
#include "string"
7
8
class
PerformanceWorkingPoint
{
9
public
:
10
PerformanceWorkingPoint
() {}
11
PerformanceWorkingPoint
(
float
c
,
std::string
s
) :
cut_
(
c
),
dname_
(
s
) {}
12
float
cut
()
const
{
return
cut_
; }
13
std::string
discriminantName
()
const
{
return
dname_
; }
14
bool
cutBased
()
const
{
15
if
(
cut_
== -9999)
16
return
false
;
17
return
true
;
18
}
19
20
private
:
21
float
cut_
;
22
std::string
dname_
;
23
24
COND_SERIALIZABLE
;
25
};
26
27
#endif
PerformanceWorkingPoint::PerformanceWorkingPoint
PerformanceWorkingPoint(float c, std::string s)
Definition:
PerformanceWorkingPoint.h:11
PerformanceWorkingPoint::cut
float cut() const
Definition:
PerformanceWorkingPoint.h:12
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
PerformanceWorkingPoint::PerformanceWorkingPoint
PerformanceWorkingPoint()
Definition:
PerformanceWorkingPoint.h:10
HltBtagPostValidation_cff.c
c
Definition:
HltBtagPostValidation_cff.py:31
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
PerformanceWorkingPoint::dname_
std::string dname_
Definition:
PerformanceWorkingPoint.h:22
PerformanceWorkingPoint::cut_
float cut_
Definition:
PerformanceWorkingPoint.h:21
PerformanceWorkingPoint::cutBased
bool cutBased() const
Definition:
PerformanceWorkingPoint.h:14
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:39
PerformanceWorkingPoint
Definition:
PerformanceWorkingPoint.h:8
Serializable.h
PerformanceWorkingPoint::discriminantName
std::string discriminantName() const
Definition:
PerformanceWorkingPoint.h:13
Generated for CMSSW Reference Manual by
1.8.14