CMS 3D CMS Logo

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
HistoDef::theMax
float theMax
Definition: HistoDef.h:34
HistoDef::name
ALIstring name() const
Definition: HistoDef.h:24
min
T min(T a, T b)
Definition: MathUtil.h:58
ALIstring
std::string ALIstring
Definition: CocoaGlobals.h:9
HistoDef::setMinimum
void setMinimum(float min)
Definition: HistoDef.h:28
HistoDef
Definition: HistoDef.h:17
HistoDef::setMaximum
void setMaximum(float max)
Definition: HistoDef.h:29
HistoDef::maximum
float maximum() const
Definition: HistoDef.h:26
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
HistoDef::~HistoDef
~HistoDef()
Definition: HistoDef.h:22
Entry
Definition: Entry.h:18
HistoDef::HistoDef
HistoDef()
Definition: HistoDef.h:20
HistoDef::minimum
float minimum() const
Definition: HistoDef.h:25
HistoDef::init
void init(ALIstring name)
Definition: HistoDef.cc:12
HistoDef::theName
ALIstring theName
Definition: HistoDef.h:32
HistoDef::theMin
float theMin
Definition: HistoDef.h:33
CocoaGlobals.h