Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework
master (f31105fd)
Main Page
Related Pages
Modules
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
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
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
Typedefs
a
b
c
d
e
f
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
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
Enumerations
a
c
d
e
f
i
l
m
n
o
p
q
r
s
t
v
Enumerator
a
b
c
d
e
f
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Properties
Related Functions
:
a
b
c
d
e
g
h
i
m
o
p
r
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
b
c
e
f
g
h
i
l
m
n
o
p
r
s
t
u
z
Variables
a
b
c
d
e
g
h
i
m
o
p
q
r
s
t
v
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
Enumerations
Enumerator
c
e
f
p
u
v
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
THistWrite.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2024 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#ifndef THIST_THISTWRITE_H
12
#define THIST_THISTWRITE_H 1
13
14
// Include files
15
#include <
GaudiKernel/Algorithm.h
>
16
#include <
GaudiKernel/ServiceHandle.h
>
17
18
class
TH1F;
19
class
ITHistSvc
;
20
class
TDirectory;
21
22
class
THistWrite
:
public
Algorithm
{
23
24
public
:
25
// Constructor of this form must be provided
26
THistWrite
(
const
std::string
&
name
,
ISvcLocator
* pSvcLocator );
27
28
// Three mandatory member functions of any algorithm
29
StatusCode
initialize
()
override
;
30
StatusCode
execute
()
override
;
31
StatusCode
finalize
()
override
;
32
33
private
:
34
ServiceHandle<ITHistSvc>
m_ths
{
this
,
"HistSvc"
,
"THistSvc"
};
35
36
void
listKeys
( TDirectory* td );
37
};
38
39
#endif // THIST_HISTOALGORITHM_H
THistWrite::execute
StatusCode execute() override
Definition:
THistWrite.cpp:143
std::string
STL class.
THistWrite::finalize
StatusCode finalize() override
Definition:
THistWrite.cpp:264
Gaudi::Algorithm::name
const std::string & name() const override
The identifying name of the algorithm object.
Definition:
Algorithm.cpp:526
ServiceHandle< ITHistSvc >
ISvcLocator
Definition:
ISvcLocator.h:46
Algorithm
Alias for backward compatibility.
Definition:
Algorithm.h:58
Algorithm.h
ServiceHandle.h
THistWrite::initialize
StatusCode initialize() override
Definition:
THistWrite.cpp:38
THistWrite::listKeys
void listKeys(TDirectory *td)
Definition:
THistWrite.cpp:243
StatusCode
Definition:
StatusCode.h:65
THistWrite
Definition:
THistWrite.h:22
THistWrite::THistWrite
THistWrite(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
THistWrite.cpp:32
ITHistSvc
Definition:
ITHistSvc.h:34
THistWrite::m_ths
ServiceHandle< ITHistSvc > m_ths
Definition:
THistWrite.h:34
GaudiTestSuite
src
THist
THistWrite.h
Generated on Mon Apr 7 2025 16:26:26 for The Gaudi Framework by
1.8.18