CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes | Private Member Functions | Friends
PhysicsTools::Calibration::Range< Axis_t > Struct Template Reference

#include <Histogram.h>

Public Member Functions

 Range ()
 
 Range (Axis_t min, Axis_t max)
 
template<typename OAxis_t >
 Range (const Range< OAxis_t > &orig)
 
Axis_t width () const
 
 ~Range ()
 

Public Attributes

Axis_t max
 
Axis_t 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

template<typename Axis_t>
struct PhysicsTools::Calibration::Range< Axis_t >

Definition at line 17 of file Histogram.h.

Constructor & Destructor Documentation

◆ Range() [1/3]

template<typename Axis_t>
PhysicsTools::Calibration::Range< Axis_t >::Range ( )
inline

Definition at line 18 of file Histogram.h.

18 {}

◆ Range() [2/3]

template<typename Axis_t>
template<typename OAxis_t >
PhysicsTools::Calibration::Range< Axis_t >::Range ( const Range< OAxis_t > &  orig)
inline

Definition at line 21 of file Histogram.h.

21 : min(orig.min), max(orig.max) {}

◆ Range() [3/3]

template<typename Axis_t>
PhysicsTools::Calibration::Range< Axis_t >::Range ( Axis_t  min,
Axis_t  max 
)
inline

Definition at line 23 of file Histogram.h.

23 : min(min), max(max) {}

◆ ~Range()

template<typename Axis_t>
PhysicsTools::Calibration::Range< Axis_t >::~Range ( )
inline

Definition at line 25 of file Histogram.h.

25 {}

Member Function Documentation

◆ serialize()

template<typename Axis_t>
template<class Archive >
void PhysicsTools::Calibration::Range< Axis_t >::serialize ( Archive &  ar,
const unsigned int  version 
)
private

◆ width()

template<typename Axis_t>
Axis_t PhysicsTools::Calibration::Range< Axis_t >::width ( ) const
inline

Definition at line 27 of file Histogram.h.

27 { return max - min; }

Friends And Related Function Documentation

◆ boost::serialization::access

template<typename Axis_t>
friend class boost::serialization::access
friend

Definition at line 31 of file Histogram.h.

◆ cond::serialization::access

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

Definition at line 31 of file Histogram.h.

Member Data Documentation

◆ max

template<typename Axis_t>
Axis_t PhysicsTools::Calibration::Range< Axis_t >::max

◆ min

template<typename Axis_t>
Axis_t PhysicsTools::Calibration::Range< Axis_t >::min
PhysicsTools::Calibration::Range::max
Axis_t max
Definition: Histogram.h:29
PhysicsTools::Calibration::Range::min
Axis_t min
Definition: Histogram.h:29