CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Member Functions | Friends
JME::JetResolutionObject::Range Struct Reference

#include <JetResolutionObject.h>

Public Member Functions

bool is_inside (float value) const
 
 Range ()
 
 Range (float min, float max)
 

Public Attributes

float max
 
float min
 

Private Member Functions

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

Friends

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

Detailed Description

Definition at line 119 of file JetResolutionObject.h.

Constructor & Destructor Documentation

◆ Range() [1/2]

JME::JetResolutionObject::Range::Range ( )
inline

Definition at line 123 of file JetResolutionObject.h.

123  {
124  // Empty
125  }

◆ Range() [2/2]

JME::JetResolutionObject::Range::Range ( float  min,
float  max 
)
inline

Definition at line 127 of file JetResolutionObject.h.

References max, and min.

127  {
128  this->min = min;
129  this->max = max;
130  }

Member Function Documentation

◆ is_inside()

bool JME::JetResolutionObject::Range::is_inside ( float  value) const
inline

Definition at line 132 of file JetResolutionObject.h.

References max, and min.

◆ serialize()

template<class Archive >
void JME::JetResolutionObject::Range::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 134 of file JetResolutionObject.h.

◆ cond::serialization::access

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

Definition at line 134 of file JetResolutionObject.h.

Member Data Documentation

◆ max

float JME::JetResolutionObject::Range::max

Definition at line 121 of file JetResolutionObject.h.

Referenced by is_inside(), and Range().

◆ min

float JME::JetResolutionObject::Range::min

Definition at line 120 of file JetResolutionObject.h.

Referenced by is_inside(), and Range().