Project
Toggle main menu visibility
Main Page
Related Pages
Topics
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
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
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
o
p
q
r
s
t
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
z
Concepts
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
r
s
t
u
v
w
x
Enumerations
a
b
c
d
e
f
g
h
i
k
l
m
n
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
r
s
t
u
v
w
x
y
z
Related Symbols
a
b
c
f
g
m
o
q
r
s
t
v
Files
File List
File 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
k
l
m
n
o
p
q
r
s
t
u
v
w
x
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
Enumerator
a
b
c
d
k
m
n
s
v
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Concepts
Loading...
Searching...
No Matches
InitContext.h
Go to the documentation of this file.
1
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3
// All rights not expressly granted are reserved.
4
//
5
// This software is distributed under the terms of the GNU General Public
6
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7
//
8
// In applying this license CERN does not waive the privileges and immunities
9
// granted to it by virtue of its status as an Intergovernmental Organization
10
// or submit itself to any jurisdiction.
11
#ifndef O2_FRAMEWORK_INIT_CONTEXT_H_
12
#define O2_FRAMEWORK_INIT_CONTEXT_H_
13
14
#include "
Framework/ServiceRegistryRef.h
"
15
16
namespace
o2::framework
17
{
18
19
class
ServiceRegistry;
20
class
ConfigParamRegistry;
21
22
// This is a utility class to reduce the amount of boilerplate when defining
23
// an algorithm.
24
class
InitContext
25
{
26
public
:
27
InitContext
(
ConfigParamRegistry
&
options
,
ServiceRegistryRef
services
)
28
:
mOptions
{
options
},
29
mServices
{
services
}
30
{
31
}
27
InitContext
(
ConfigParamRegistry
&
options
,
ServiceRegistryRef
services
) {
…
}
32
33
ConfigParamRegistry
const
&
options
() {
return
mOptions
; }
34
ServiceRegistryRef
services
() {
return
mServices
; }
35
36
ConfigParamRegistry
&
mOptions
;
37
ServiceRegistryRef
mServices
;
38
};
24
class
InitContext
{
…
};
39
40
}
// namespace o2::framework
41
42
#endif
// O2_FRAMEWORK_INIT_CONTEXT_H_
ServiceRegistryRef.h
o2::framework::ConfigParamRegistry
Definition
ConfigParamRegistry.h:70
o2::framework::InitContext
Definition
InitContext.h:25
o2::framework::InitContext::services
ServiceRegistryRef services()
Definition
InitContext.h:34
o2::framework::InitContext::InitContext
InitContext(ConfigParamRegistry &options, ServiceRegistryRef services)
Definition
InitContext.h:27
o2::framework::InitContext::options
ConfigParamRegistry const & options()
Definition
InitContext.h:33
o2::framework::InitContext::mOptions
ConfigParamRegistry & mOptions
Definition
InitContext.h:36
o2::framework::InitContext::mServices
ServiceRegistryRef mServices
Definition
InitContext.h:37
o2::framework::ServiceRegistryRef
Definition
ServiceRegistryRef.h:21
o2::framework
Defining PrimaryVertex explicitly as messageable.
Definition
TFIDInfo.h:20
Framework
Core
include
Framework
InitContext.h
Generated on Fri Apr 4 2025 16:08:58 for Project by
1.9.8