Main Page
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
_
a
d
e
f
l
m
o
p
s
t
u
v
Related Functions
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Package Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Alignment
CocoaUtilities
interface
GlobalOptionMgr.h
Go to the documentation of this file.
1
// COCOA class header file
2
//Id: GlobalOptionMgr.h
3
//CAT: Model
4
//
5
// Class to manage the sets of fitted entries (one set per each measurement data set)
6
//
7
// History: v1.0
8
// Pedro Arce
9
10
#ifndef _GlobalOptionMgr_HH
11
#define _GlobalOptionMgr_HH
12
13
#include "
Alignment/CocoaUtilities/interface/CocoaGlobals.h
"
14
#include <map>
15
16
class
ALIFileIn
;
17
18
class
GlobalOptionMgr
{
19
private
:
20
GlobalOptionMgr
(){};
21
22
public
:
23
//---------- Constructors / Destructor
24
~GlobalOptionMgr
(){};
25
static
GlobalOptionMgr
*
getInstance
();
26
27
public
:
29
void
setDefaultGlobalOptions
();
30
31
std::map<ALIstring, ALIdouble, std::less<ALIstring> >&
GlobalOptions
() {
return
theGlobalOptions
; }
32
33
ALIdouble
getGlobalOption
(
const
ALIstring
& sstr);
34
36
int
getGlobalOptionValue
(
const
ALIstring
& sstr,
ALIdouble
&
val
);
37
void
setGlobalOption
(
const
ALIstring
go,
const
ALIdouble
val
,
ALIFileIn
& filein);
38
bool
setGlobalOption
(
const
ALIstring
go,
const
ALIdouble
val
,
bool
bExit =
true
);
39
40
private
:
41
static
GlobalOptionMgr
*
theInstance
;
43
std::map<ALIstring, ALIdouble, std::less<ALIstring> >
theGlobalOptions
;
44
};
45
46
#endif
GlobalOptionMgr::GlobalOptions
std::map< ALIstring, ALIdouble, std::less< ALIstring > > & GlobalOptions()
Definition:
GlobalOptionMgr.h:31
GlobalOptionMgr
Definition:
GlobalOptionMgr.h:18
GlobalOptionMgr::getInstance
static GlobalOptionMgr * getInstance()
Definition:
GlobalOptionMgr.cc:18
ALIstring
std::string ALIstring
Definition:
CocoaGlobals.h:9
GlobalOptionMgr::theGlobalOptions
std::map< ALIstring, ALIdouble, std::less< ALIstring > > theGlobalOptions
global options
Definition:
GlobalOptionMgr.h:43
GlobalOptionMgr::getGlobalOptionValue
int getGlobalOptionValue(const ALIstring &sstr, ALIdouble &val)
--— Search a string in theGlobalOptions and return 1 if found
Definition:
GlobalOptionMgr.cc:115
GlobalOptionMgr::getGlobalOption
ALIdouble getGlobalOption(const ALIstring &sstr)
Definition:
GlobalOptionMgr.cc:90
GlobalOptionMgr::theInstance
static GlobalOptionMgr * theInstance
Definition:
GlobalOptionMgr.h:41
GlobalOptionMgr::setDefaultGlobalOptions
void setDefaultGlobalOptions()
Set the list of default global options.
Definition:
GlobalOptionMgr.cc:27
ALIdouble
long double ALIdouble
Definition:
CocoaGlobals.h:11
GlobalOptionMgr::setGlobalOption
void setGlobalOption(const ALIstring go, const ALIdouble val, ALIFileIn &filein)
Definition:
GlobalOptionMgr.cc:137
heppy_batch.val
val
Definition:
heppy_batch.py:351
GlobalOptionMgr::GlobalOptionMgr
GlobalOptionMgr()
Definition:
GlobalOptionMgr.h:20
GlobalOptionMgr::~GlobalOptionMgr
~GlobalOptionMgr()
Definition:
GlobalOptionMgr.h:24
CocoaGlobals.h
ALIFileIn
Definition:
ALIFileIn.h:20
Generated for CMSSW Reference Manual by
1.8.16