Main Page
Namespaces
Classes
Package Documentation
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
{
if
(
cut_
==-9999)
return
false
;
return
true
;}
15
16
private
:
17
float
cut_
;
18
std::string
dname_
;
19
20
COND_SERIALIZABLE
;
21
};
22
23
24
#endif
PerformanceWorkingPoint::PerformanceWorkingPoint
PerformanceWorkingPoint(float c, std::string s)
Definition:
PerformanceWorkingPoint.h:11
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
EnergyCorrector.c
c
Definition:
EnergyCorrector.py:44
PerformanceWorkingPoint::PerformanceWorkingPoint
PerformanceWorkingPoint()
Definition:
PerformanceWorkingPoint.h:10
PerformanceWorkingPoint::dname_
std::string dname_
Definition:
PerformanceWorkingPoint.h:18
PerformanceWorkingPoint::cut_
float cut_
Definition:
PerformanceWorkingPoint.h:17
PerformanceWorkingPoint::cut
float cut() const
Definition:
PerformanceWorkingPoint.h:12
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition:
Serializable.h:38
PerformanceWorkingPoint::cutBased
bool cutBased() const
Definition:
PerformanceWorkingPoint.h:14
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.11