The Gaudi Framework
v36r9p1 (5c15b2bb)
THistWrite.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2019 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
17
class
TH1F;
18
class
ITHistSvc
;
19
class
TDirectory;
20
21
class
THistWrite
:
public
Algorithm
{
22
23
public
:
24
// Constructor of this form must be provided
25
THistWrite
(
const
std::string
&
name
,
ISvcLocator
* pSvcLocator );
26
27
// Three mandatory member functions of any algorithm
28
StatusCode
initialize
()
override
;
29
StatusCode
execute
()
override
;
30
StatusCode
finalize
()
override
;
31
32
private
:
33
ITHistSvc
*
m_ths
;
34
35
void
listKeys
( TDirectory* td );
36
};
37
38
#endif // THIST_HISTOALGORITHM_H
THistWrite::execute
StatusCode execute() override
Definition:
THistWrite.cpp:152
std::string
STL class.
THistWrite::finalize
StatusCode finalize() override
Definition:
THistWrite.cpp:279
Gaudi::Algorithm::name
const std::string & name() const override
The identifying name of the algorithm object.
Definition:
Algorithm.cpp:542
ISvcLocator
Definition:
ISvcLocator.h:46
Algorithm
Alias for backward compatibility.
Definition:
Algorithm.h:58
Algorithm.h
THistWrite::initialize
StatusCode initialize() override
Definition:
THistWrite.cpp:39
THistWrite::m_ths
ITHistSvc * m_ths
Definition:
THistWrite.h:33
THistWrite::listKeys
void listKeys(TDirectory *td)
Definition:
THistWrite.cpp:258
StatusCode
Definition:
StatusCode.h:65
THistWrite
Definition:
THistWrite.h:21
THistWrite::THistWrite
THistWrite(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
THistWrite.cpp:32
ITHistSvc
Definition:
ITHistSvc.h:34
GaudiExamples
src
THist
THistWrite.h
Generated on Fri Feb 3 2023 18:02:55 for The Gaudi Framework by
1.8.18