Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  master (d98a2936)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
HistoAlgorithm.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2025 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 #pragma once
12 
13 // Include files
14 #include <GaudiKernel/Algorithm.h>
15 
16 #include <AIDA/IAxis.h>
17 #include <AIDA/IHistogram1D.h>
18 #include <AIDA/IHistogram2D.h>
19 #include <AIDA/IHistogram3D.h>
20 #include <AIDA/IHistogramFactory.h>
21 #include <AIDA/IProfile1D.h>
22 #include <AIDA/IProfile2D.h>
23 
24 using namespace AIDA;
25 // Forward declarations
26 class HistogramSvc;
27 
28 class HistoAlgorithm : public Algorithm {
29 
30 public:
31  // Constructor of this form must be provided
32  HistoAlgorithm( const std::string& name, ISvcLocator* pSvcLocator );
33 
34  // Three mandatory member functions of any algorithm
35  StatusCode initialize() override;
36  StatusCode execute() override;
37  StatusCode finalize() override;
38 
39 private:
40  IHistogram1D* m_h1D;
41  IHistogram1D* m_h1DVar;
42  IHistogram2D* m_h2D;
43  IHistogram2D* m_h2DVar;
44  IHistogram3D* m_h3D;
45  IHistogram3D* m_h3DVar;
46  IProfile1D* m_p1D;
47  IProfile2D* m_p2D;
48 };
HistoAlgorithm::m_h1DVar
IHistogram1D * m_h1DVar
Definition: HistoAlgorithm.h:41
AIDA
Definition: Annotation.h:21
HistoAlgorithm::m_h3DVar
IHistogram3D * m_h3DVar
Definition: HistoAlgorithm.h:45
HistoAlgorithm::m_h3D
IHistogram3D * m_h3D
Definition: HistoAlgorithm.h:44
ISvcLocator
Definition: ISvcLocator.h:42
Algorithm
Alias for backward compatibility.
Definition: Algorithm.h:58
Algorithm.h
StatusCode
Definition: StatusCode.h:64
HistogramSvc
Definition: HistogramSvc.h:60
GaudiPython.Pythonizations.execute
execute
Definition: Pythonizations.py:578
HistoAlgorithm::m_h2DVar
IHistogram2D * m_h2DVar
Definition: HistoAlgorithm.h:43
HistoAlgorithm::m_h1D
IHistogram1D * m_h1D
Definition: HistoAlgorithm.h:40
ConditionsStallTest.name
name
Definition: ConditionsStallTest.py:77
HistoAlgorithm::m_p1D
IProfile1D * m_p1D
Definition: HistoAlgorithm.h:46
HistoAlgorithm::m_h2D
IHistogram2D * m_h2D
Definition: HistoAlgorithm.h:42
HistoAlgorithm::m_p2D
IProfile2D * m_p2D
Definition: HistoAlgorithm.h:47
HistoAlgorithm
Definition: HistoAlgorithm.h:28