ATLAS Offline Software
TileCalorimeter
TileCalib
TileCalibAlgs
src
TileLaserCalibAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TILECALIBALGS_TILELASERCALIBALG_H
6
#define TILECALIBALGS_TILELASERCALIBALG_H
7
8
// Gaudi includes
9
#include "GaudiKernel/ToolHandle.h"
10
#include "GaudiKernel/ServiceHandle.h"
11
12
// Athena includes
13
#include "
AthenaBaseComps/AthAlgorithm.h
"
14
15
#include "
TileCalibAlgs/ITileCalibTool.h
"
16
17
#include <string>
18
19
class
TFile;
20
class
IROBDataProviderSvc
;
21
22
class
TileLaserCalibAlg
:
public
AthAlgorithm
{
23
public
:
24
TileLaserCalibAlg
(
const
std::string&
name
, ISvcLocator* pSvcLocator);
25
virtual
~TileLaserCalibAlg
();
26
27
// Functions
28
StatusCode
initialize
();
29
StatusCode
execute
();
30
StatusCode
finalize
();
31
32
private
:
33
34
typedef
ToolHandleArray<ITileCalibTool>
lastools_t
;
35
36
lastools_t
m_lasTools
{
this
,
37
"Tools"
,{},
"Tile laser calibration tools"
};
38
39
ServiceHandle<IROBDataProviderSvc>
m_RobSvc
;
40
41
// jobOptions
42
43
// Name of the output ROOT file
44
// Trees names are defined in the respective tools (Default,...)
45
46
TFile*
m_outfile
;
47
std::string
m_fileName
;
48
49
//Run number and type
50
// Type is defined as follows:
51
//
52
// 0 : Physics
53
// 1 : Calibration
54
// 2 : Cosmics
55
// 15 : Test
56
57
int
m_runNo
;
58
int
m_runType
;
59
60
};
61
62
#endif // #ifndef TILECALIBALGS_TILELASERCALIBALG_H
TileLaserCalibAlg::m_fileName
std::string m_fileName
Definition:
TileLaserCalibAlg.h:47
TileLaserCalibAlg::lastools_t
ToolHandleArray< ITileCalibTool > lastools_t
Definition:
TileLaserCalibAlg.h:34
TileLaserCalibAlg::~TileLaserCalibAlg
virtual ~TileLaserCalibAlg()
Definition:
TileLaserCalibAlg.cxx:43
TileLaserCalibAlg::TileLaserCalibAlg
TileLaserCalibAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
TileLaserCalibAlg.cxx:31
TileLaserCalibAlg
Definition:
TileLaserCalibAlg.h:22
TileLaserCalibAlg::m_lasTools
lastools_t m_lasTools
Definition:
TileLaserCalibAlg.h:36
AthAlgorithm.h
TileLaserCalibAlg::m_runNo
int m_runNo
Definition:
TileLaserCalibAlg.h:57
ITileCalibTool.h
IROBDataProviderSvc
Interface class for managing ROB for both online and offline.
Definition:
IROBDataProviderSvc.h:23
TileLaserCalibAlg::finalize
StatusCode finalize()
Definition:
TileLaserCalibAlg.cxx:110
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgorithm
Definition:
AthAlgorithm.h:47
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:221
TileLaserCalibAlg::execute
StatusCode execute()
Definition:
TileLaserCalibAlg.cxx:73
TileLaserCalibAlg::m_RobSvc
ServiceHandle< IROBDataProviderSvc > m_RobSvc
Definition:
TileLaserCalibAlg.h:39
TileLaserCalibAlg::m_runType
int m_runType
Definition:
TileLaserCalibAlg.h:58
TileLaserCalibAlg::initialize
StatusCode initialize()
implementing the Gaudi Hooks
Definition:
TileLaserCalibAlg.cxx:50
TileLaserCalibAlg::m_outfile
TFile * m_outfile
Definition:
TileLaserCalibAlg.h:46
ServiceHandle< IROBDataProviderSvc >
Generated on Thu Nov 7 2024 21:28:16 for ATLAS Offline Software by
1.8.18