ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
(
const
EventContext& ctx);
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
AthAlgorithm.h
ITileCalibTool.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
IROBDataProviderSvc
Interface class for managing ROB for both online and offline.
Definition
IROBDataProviderSvc.h:23
ServiceHandle
Definition
ClusterMakerTool.h:36
TileLaserCalibAlg::m_runNo
int m_runNo
Definition
TileLaserCalibAlg.h:57
TileLaserCalibAlg::m_runType
int m_runType
Definition
TileLaserCalibAlg.h:58
TileLaserCalibAlg::m_outfile
TFile * m_outfile
Definition
TileLaserCalibAlg.h:46
TileLaserCalibAlg::execute
StatusCode execute(const EventContext &ctx)
Execute method.
Definition
TileLaserCalibAlg.cxx:73
TileLaserCalibAlg::initialize
StatusCode initialize()
implementing the Gaudi Hooks
Definition
TileLaserCalibAlg.cxx:50
TileLaserCalibAlg::lastools_t
ToolHandleArray< ITileCalibTool > lastools_t
Definition
TileLaserCalibAlg.h:34
TileLaserCalibAlg::~TileLaserCalibAlg
virtual ~TileLaserCalibAlg()
Definition
TileLaserCalibAlg.cxx:43
TileLaserCalibAlg::m_lasTools
lastools_t m_lasTools
Definition
TileLaserCalibAlg.h:36
TileLaserCalibAlg::m_fileName
std::string m_fileName
Definition
TileLaserCalibAlg.h:47
TileLaserCalibAlg::m_RobSvc
ServiceHandle< IROBDataProviderSvc > m_RobSvc
Definition
TileLaserCalibAlg.h:39
TileLaserCalibAlg::finalize
StatusCode finalize()
Definition
TileLaserCalibAlg.cxx:110
TileLaserCalibAlg::TileLaserCalibAlg
TileLaserCalibAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TileLaserCalibAlg.cxx:31
Generated on
for ATLAS Offline Software by
1.17.0