CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
PerformanceWorkingPoint Class Reference

#include <PerformanceWorkingPoint.h>

Public Member Functions

float cut () const
 
bool cutBased () const
 
std::string discriminantName () const
 
 PerformanceWorkingPoint ()
 
 PerformanceWorkingPoint (float c, std::string s)
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

float cut_
 
std::string dname_
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

Definition at line 8 of file PerformanceWorkingPoint.h.

Constructor & Destructor Documentation

◆ PerformanceWorkingPoint() [1/2]

PerformanceWorkingPoint::PerformanceWorkingPoint ( )
inline

Definition at line 10 of file PerformanceWorkingPoint.h.

10 {}

◆ PerformanceWorkingPoint() [2/2]

PerformanceWorkingPoint::PerformanceWorkingPoint ( float  c,
std::string  s 
)
inline

Member Function Documentation

◆ cut()

float PerformanceWorkingPoint::cut ( ) const
inline

Definition at line 12 of file PerformanceWorkingPoint.h.

References cut_.

Referenced by main().

◆ cutBased()

bool PerformanceWorkingPoint::cutBased ( ) const
inline

Definition at line 14 of file PerformanceWorkingPoint.h.

References cut_.

14  {
15  if (cut_ == -9999)
16  return false;
17  return true;
18  }

◆ discriminantName()

std::string PerformanceWorkingPoint::discriminantName ( ) const
inline

Definition at line 13 of file PerformanceWorkingPoint.h.

References dname_.

Referenced by main().

13 { return dname_; }

◆ serialize()

template<class Archive >
void PerformanceWorkingPoint::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 24 of file PerformanceWorkingPoint.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 24 of file PerformanceWorkingPoint.h.

Member Data Documentation

◆ cut_

float PerformanceWorkingPoint::cut_
private

Definition at line 21 of file PerformanceWorkingPoint.h.

Referenced by cut(), and cutBased().

◆ dname_

std::string PerformanceWorkingPoint::dname_
private

Definition at line 22 of file PerformanceWorkingPoint.h.

Referenced by discriminantName().