Main Page
Namespaces
Classes
Package Documentation
Alignment
CocoaFit
interface
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
13
#include "
Alignment/CocoaUtilities/interface/CocoaGlobals.h
"
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
:
44
ALIstring
theName
;
45
float
theMin
;
46
float
theMax
;
47
48
};
49
50
#endif
51
Entry
Definition:
Entry.h:18
HistoDef::theName
ALIstring theName
Definition:
HistoDef.h:44
HistoDef::setMinimum
void setMinimum(float min)
Definition:
HistoDef.h:36
HistoDef::name
ALIstring name() const
Definition:
HistoDef.h:26
HistoDef::theMin
float theMin
Definition:
HistoDef.h:45
CocoaGlobals.h
HistoDef::minimum
float minimum() const
Definition:
HistoDef.h:29
min
T min(T a, T b)
Definition:
MathUtil.h:58
SiStripPI::max
Definition:
SiStripPayloadInspectorHelper.h:17
HistoDef::HistoDef
HistoDef()
Definition:
HistoDef.h:22
HistoDef::~HistoDef
~HistoDef()
Definition:
HistoDef.h:24
HistoDef::init
void init(ALIstring name)
Definition:
HistoDef.cc:12
ALIstring
std::string ALIstring
Definition:
CocoaGlobals.h:9
HistoDef
Definition:
HistoDef.h:17
HistoDef::maximum
float maximum() const
Definition:
HistoDef.h:32
HistoDef::theMax
float theMax
Definition:
HistoDef.h:46
HistoDef::setMaximum
void setMaximum(float max)
Definition:
HistoDef.h:39
Generated for CMSSW Reference Manual by
1.8.11