test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HistoDef.h
Go to the documentation of this file.
1 // COCOA class header file
2 //Id: HistoDef.h
3 //CAT: Model
4 //
5 // Class to store the data of a fitted entry (only those of quality 'unk')
6 //
7 // History: v1.0
8 // Pedro Arce
9 
10 #ifndef HistoDef_HH
11 #define HistoDef_HH
12 
14 #include <vector>
15 class Entry;
16 
17 class HistoDef
18 {
19 
20 public:
21  //---------- Constructors / Destructor
22  HistoDef(){ };
23  void init( ALIstring name );
24  ~HistoDef(){ };
25 
26  ALIstring name() const {
27  return theName;
28  }
29  float minimum() const {
30  return theMin;
31  }
32  float maximum() const {
33  return theMax;
34  }
35 
36  void setMinimum( float min ){
37  theMin = min;
38  }
39  void setMaximum( float max ){
40  theMax = max;
41  }
42 
43 private:
45  float theMin;
46  float theMax;
47 
48 };
49 
50 #endif
51 
Definition: Entry.h:18
ALIstring theName
Definition: HistoDef.h:44
void setMinimum(float min)
Definition: HistoDef.h:36
ALIstring name() const
Definition: HistoDef.h:26
float theMin
Definition: HistoDef.h:45
float minimum() const
Definition: HistoDef.h:29
T min(T a, T b)
Definition: MathUtil.h:58
HistoDef()
Definition: HistoDef.h:22
~HistoDef()
Definition: HistoDef.h:24
void init(ALIstring name)
Definition: HistoDef.cc:12
std::string ALIstring
Definition: CocoaGlobals.h:9
float maximum() const
Definition: HistoDef.h:32
float theMax
Definition: HistoDef.h:46
void setMaximum(float max)
Definition: HistoDef.h:39