CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 public:
19  //---------- Constructors / Destructor
20  HistoDef(){};
21  void init(ALIstring name);
22  ~HistoDef(){};
23 
24  ALIstring name() const { return theName; }
25  float minimum() const { return theMin; }
26  float maximum() const { return theMax; }
27 
28  void setMinimum(float min) { theMin = min; }
29  void setMaximum(float max) { theMax = max; }
30 
31 private:
33  float theMin;
34  float theMax;
35 };
36 
37 #endif
Definition: Entry.h:18
ALIstring theName
Definition: HistoDef.h:32
void setMinimum(float min)
Definition: HistoDef.h:28
ALIstring name() const
Definition: HistoDef.h:24
float theMin
Definition: HistoDef.h:33
float minimum() const
Definition: HistoDef.h:25
T min(T a, T b)
Definition: MathUtil.h:58
HistoDef()
Definition: HistoDef.h:20
~HistoDef()
Definition: HistoDef.h:22
void init(ALIstring name)
Definition: HistoDef.cc:12
std::string ALIstring
Definition: CocoaGlobals.h:9
float maximum() const
Definition: HistoDef.h:26
float theMax
Definition: HistoDef.h:34
void setMaximum(float max)
Definition: HistoDef.h:29