The Gaudi Framework
v36r1 (3e2fb5a8)
HistoAlgorithm.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 HISTOGRAMS_HISTOALGORITHM_H
12
#define HISTOGRAMS_HISTOALGORITHM_H 1
13
14
// Include files
15
#include "
GaudiKernel/Algorithm.h
"
16
17
#include "AIDA/IAxis.h"
18
#include "AIDA/IHistogram1D.h"
19
#include "AIDA/IHistogram2D.h"
20
#include "AIDA/IHistogram3D.h"
21
#include "AIDA/IHistogramFactory.h"
22
#include "AIDA/IProfile1D.h"
23
#include "AIDA/IProfile2D.h"
24
25
using namespace
AIDA
;
26
// Forward declarations
27
class
HistogramSvc
;
28
29
class
HistoAlgorithm
:
public
Algorithm
{
30
31
public
:
32
// Constructor of this form must be provided
33
HistoAlgorithm
(
const
std::string
&
name
,
ISvcLocator
* pSvcLocator );
34
35
// Three mandatory member functions of any algorithm
36
StatusCode
initialize()
override
;
37
StatusCode
execute
()
override
;
38
StatusCode
finalize()
override
;
39
40
private
:
41
IHistogram1D*
m_h1D
;
42
IHistogram1D*
m_h1DVar
;
43
IHistogram2D*
m_h2D
;
44
IHistogram2D*
m_h2DVar
;
45
IHistogram3D*
m_h3D
;
46
IHistogram3D*
m_h3DVar
;
47
IProfile1D*
m_p1D
;
48
IProfile2D*
m_p2D
;
49
};
50
51
#endif // HISTOGRAMS_HISTOALGORITHM_H
HistoAlgorithm::m_h1DVar
IHistogram1D * m_h1DVar
Definition:
HistoAlgorithm.h:42
AIDA
GaudiKernel.
Definition:
Fill.h:20
HistoAlgorithm::m_h3DVar
IHistogram3D * m_h3DVar
Definition:
HistoAlgorithm.h:46
std::string
STL class.
HistoAlgorithm::m_h3D
IHistogram3D * m_h3D
Definition:
HistoAlgorithm.h:45
ISvcLocator
Definition:
ISvcLocator.h:46
Algorithm
Alias for backward compatibility.
Definition:
Algorithm.h:58
Algorithm.h
TimingHistograms.name
name
Definition:
TimingHistograms.py:23
StatusCode
Definition:
StatusCode.h:65
HistogramSvc
Definition:
HistogramSvc.h:61
GaudiPython.Pythonizations.execute
execute
Definition:
Pythonizations.py:566
HistoAlgorithm::m_h2DVar
IHistogram2D * m_h2DVar
Definition:
HistoAlgorithm.h:44
HistoAlgorithm::m_h1D
IHistogram1D * m_h1D
Definition:
HistoAlgorithm.h:41
HistoAlgorithm::m_p1D
IProfile1D * m_p1D
Definition:
HistoAlgorithm.h:47
HistoAlgorithm::m_h2D
IHistogram2D * m_h2D
Definition:
HistoAlgorithm.h:43
HistoAlgorithm::m_p2D
IProfile2D * m_p2D
Definition:
HistoAlgorithm.h:48
HistoAlgorithm
Definition:
HistoAlgorithm.h:29
GaudiExamples
src
Histograms
HistoAlgorithm.h
Generated on Tue Sep 21 2021 12:27:41 for The Gaudi Framework by
1.8.18