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

Constructor & Destructor Documentation

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

Definition at line 128 of file JetResolutionObject.h.

128  {
129  // Empty
130  }
JME::JetResolutionObject::Range::Range ( float  min,
float  max 
)
inline

Definition at line 132 of file JetResolutionObject.h.

References hpstanc_transforms::max, and min().

132  {
133  this->min = min;
134  this->max = max;
135  }

Member Function Documentation

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

Definition at line 137 of file JetResolutionObject.h.

References hpstanc_transforms::max.

137  {
138  return (value >= min) && (value <= max);
139  }
Definition: value.py:1
template<class Archive >
void JME::JetResolutionObject::Range::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 141 of file JetResolutionObject.h.

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

Definition at line 141 of file JetResolutionObject.h.

Member Data Documentation

float JME::JetResolutionObject::Range::max

Definition at line 126 of file JetResolutionObject.h.

float JME::JetResolutionObject::Range::min

Definition at line 125 of file JetResolutionObject.h.