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 118 of file JetResolutionObject.h.

Constructor & Destructor Documentation

◆ Range() [1/2]

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

Definition at line 122 of file JetResolutionObject.h.

122  {
123  // Empty
124  }

◆ Range() [2/2]

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

Definition at line 126 of file JetResolutionObject.h.

References max, and min.

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

Member Function Documentation

◆ is_inside()

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

Definition at line 131 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 133 of file JetResolutionObject.h.

◆ cond::serialization::access

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

Definition at line 133 of file JetResolutionObject.h.

Member Data Documentation

◆ max

float JME::JetResolutionObject::Range::max

Definition at line 120 of file JetResolutionObject.h.

Referenced by is_inside(), and Range().

◆ min

float JME::JetResolutionObject::Range::min

Definition at line 119 of file JetResolutionObject.h.

Referenced by is_inside(), and Range().