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

Definition at line 11 of file PerformanceWorkingPoint.h.

11 : cut_(c), dname_(s) {}

Member Function Documentation

◆ cut()

float PerformanceWorkingPoint::cut ( ) const
inline

Definition at line 12 of file PerformanceWorkingPoint.h.

12 { return cut_; }

References cut_.

Referenced by main().

◆ cutBased()

bool PerformanceWorkingPoint::cutBased ( ) const
inline

Definition at line 14 of file PerformanceWorkingPoint.h.

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

References cut_.

◆ discriminantName()

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

Definition at line 13 of file PerformanceWorkingPoint.h.

13 { return dname_; }

References dname_.

Referenced by main().

◆ 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().

alignCSCRings.s
s
Definition: alignCSCRings.py:92
PerformanceWorkingPoint::dname_
std::string dname_
Definition: PerformanceWorkingPoint.h:22
PerformanceWorkingPoint::cut_
float cut_
Definition: PerformanceWorkingPoint.h:21
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56