CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
HistoDef Class Reference

#include <HistoDef.h>

Public Member Functions

 HistoDef ()
 
void init (ALIstring name)
 
float maximum () const
 
float minimum () const
 
ALIstring name () const
 
void setMaximum (float max)
 
void setMinimum (float min)
 
 ~HistoDef ()
 

Private Attributes

float theMax
 
float theMin
 
ALIstring theName
 

Detailed Description

Definition at line 17 of file HistoDef.h.

Constructor & Destructor Documentation

HistoDef::HistoDef ( )
inline

Definition at line 22 of file HistoDef.h.

22 { };
HistoDef::~HistoDef ( )
inline

Definition at line 24 of file HistoDef.h.

24 { };

Member Function Documentation

void HistoDef::init ( ALIstring  name)

Definition at line 12 of file HistoDef.cc.

References ALI_DBL_MAX, name(), theMax, theMin, and theName.

13 {
14  theName = name;
17 }
ALIstring theName
Definition: HistoDef.h:44
ALIstring name() const
Definition: HistoDef.h:26
float theMin
Definition: HistoDef.h:45
float theMax
Definition: HistoDef.h:46
const double ALI_DBL_MAX
Definition: CocoaGlobals.h:24
float HistoDef::maximum ( ) const
inline

Definition at line 32 of file HistoDef.h.

References theMax.

32  {
33  return theMax;
34  }
float theMax
Definition: HistoDef.h:46
float HistoDef::minimum ( ) const
inline

Definition at line 29 of file HistoDef.h.

References theMin.

29  {
30  return theMin;
31  }
float theMin
Definition: HistoDef.h:45
ALIstring HistoDef::name ( ) const
inline
void HistoDef::setMaximum ( float  max)
inline

Definition at line 39 of file HistoDef.h.

References bookConverter::max, and theMax.

39  {
40  theMax = max;
41  }
float theMax
Definition: HistoDef.h:46
void HistoDef::setMinimum ( float  min)
inline

Definition at line 36 of file HistoDef.h.

References min(), and theMin.

36  {
37  theMin = min;
38  }
float theMin
Definition: HistoDef.h:45
T min(T a, T b)
Definition: MathUtil.h:58

Member Data Documentation

float HistoDef::theMax
private

Definition at line 46 of file HistoDef.h.

Referenced by init(), maximum(), and setMaximum().

float HistoDef::theMin
private

Definition at line 45 of file HistoDef.h.

Referenced by init(), minimum(), and setMinimum().

ALIstring HistoDef::theName
private