CMS 3D CMS Logo

Public Member Functions | Public Attributes

PhysicsTools::Calibration::Range< Axis_t > Struct Template Reference

#include <Histogram.h>

List of all members.

Public Member Functions

 Range ()
template<class Tp >
 Range (boost::shared_ptr< ora::QueryableVectorData< Tp > > &data)
template<typename OAxis_t >
 Range (const Range< OAxis_t > &orig)
 Range (Axis_t min, Axis_t max)
Axis_t width () const
 ~Range ()

Public Attributes

Axis_t max
Axis_t min

Detailed Description

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

Definition at line 11 of file Histogram.h.


Constructor & Destructor Documentation

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

Definition at line 12 of file Histogram.h.

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

Definition at line 15 of file Histogram.h.

                                                 :
                min(orig.min), max(orig.max) {}
template<typename Axis_t>
PhysicsTools::Calibration::Range< Axis_t >::Range ( Axis_t  min,
Axis_t  max 
) [inline]

Definition at line 18 of file Histogram.h.

: min(min), max(max) {}
template<typename Axis_t>
PhysicsTools::Calibration::Range< Axis_t >::~Range ( ) [inline]

Definition at line 20 of file Histogram.h.

{}
template<typename Axis_t>
template<class Tp >
PhysicsTools::Calibration::Range< Axis_t >::Range ( boost::shared_ptr< ora::QueryableVectorData< Tp > > &  data)

Definition at line 7 of file QueryableVectorImpl.h.

                                                                                         :m_data(data){
}

Member Function Documentation

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

Definition at line 22 of file Histogram.h.

{ return max - min; }

Member Data Documentation

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

Definition at line 24 of file Histogram.h.

Referenced by PhysicsTools::Calibration::Range< AxisX_t >::width().

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

Definition at line 24 of file Histogram.h.

Referenced by PhysicsTools::Calibration::Range< AxisX_t >::width().