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

Constructor & Destructor Documentation

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

Definition at line 132 of file JetResolutionObject.h.

132  {
133  // Empty
134  }
JME::JetResolutionObject::Range::Range ( float  min,
float  max 
)
inline

Definition at line 136 of file JetResolutionObject.h.

References SiStripPI::max, and min().

136  {
137  this->min = min;
138  this->max = max;
139  }

Member Function Documentation

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

Definition at line 141 of file JetResolutionObject.h.

References SiStripPI::max.

141  {
142  return (value >= min) && (value <= max);
143  }
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 145 of file JetResolutionObject.h.

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

Definition at line 145 of file JetResolutionObject.h.

Member Data Documentation

float JME::JetResolutionObject::Range::max

Definition at line 130 of file JetResolutionObject.h.

float JME::JetResolutionObject::Range::min

Definition at line 129 of file JetResolutionObject.h.