ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetDetDescr
SCT_Cabling
src
SCT_TestCablingAlg.h
Go to the documentation of this file.
1
// -*- C++ -*-
2
3
/*
4
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
#ifndef SCT_TestCablingAlg_h
8
#define SCT_TestCablingAlg_h
15
16
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
17
18
//package includes
19
#include "
SCT_Cabling/ISCT_CablingTool.h
"
20
21
//Gaudi
22
#include "GaudiKernel/ToolHandle.h"
23
24
//STL
25
#include <string>
26
27
class
ISvcLocator;
28
class
StatusCode
;
29
class
SCT_ID
;
30
35
class
SCT_TestCablingAlg
:
public
AthReentrantAlgorithm
{
36
public
:
37
SCT_TestCablingAlg
(
const
std::string& name, ISvcLocator* pSvcLocator);
38
~SCT_TestCablingAlg
() =
default
;
39
// Standard Gaudi functions
40
virtual
StatusCode
initialize
()
override
;
41
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
42
virtual
StatusCode
finalize
()
override
;
44
virtual
bool
isClonable
()
const override
{
return
true
; };
45
46
private
:
47
ToolHandle<ISCT_CablingTool>
m_cablingTool
{
this
,
"SCT_CablingTool"
,
"SCT_CablingTool"
,
"Tool to retrieve SCT Cabling"
};
48
const
SCT_ID
*
m_idHelper
{
nullptr
};
49
std::string
coordString
(
const
Identifier
& offlineId)
const
;
50
UnsignedIntegerProperty
m_POSIXtime
{
this
,
"POSIXtime"
, 0,
"POSIX time for database"
};
51
52
};
53
#endif
// SCT_TestCablingAlg_h
AthReentrantAlgorithm.h
ISCT_CablingTool.h
Header file for abstract interface to SCT cabling tool.
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
SCT_ID
This is an Identifier helper class for the SCT subdetector.
Definition
SCT_ID.h:68
SCT_TestCablingAlg::m_POSIXtime
UnsignedIntegerProperty m_POSIXtime
Definition
SCT_TestCablingAlg.h:50
SCT_TestCablingAlg::isClonable
virtual bool isClonable() const override
Make this algorithm clonable.
Definition
SCT_TestCablingAlg.h:44
SCT_TestCablingAlg::m_idHelper
const SCT_ID * m_idHelper
helper for offlineId/hash conversions
Definition
SCT_TestCablingAlg.h:48
SCT_TestCablingAlg::m_cablingTool
ToolHandle< ISCT_CablingTool > m_cablingTool
Definition
SCT_TestCablingAlg.h:47
SCT_TestCablingAlg::coordString
std::string coordString(const Identifier &offlineId) const
Definition
SCT_TestCablingAlg.cxx:52
SCT_TestCablingAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Gaudi executer.
Definition
SCT_TestCablingAlg.cxx:64
SCT_TestCablingAlg::~SCT_TestCablingAlg
~SCT_TestCablingAlg()=default
SCT_TestCablingAlg::initialize
virtual StatusCode initialize() override
Gaudi initialiser.
Definition
SCT_TestCablingAlg.cxx:44
SCT_TestCablingAlg::finalize
virtual StatusCode finalize() override
Gaudi finaliser.
Definition
SCT_TestCablingAlg.cxx:145
SCT_TestCablingAlg::SCT_TestCablingAlg
SCT_TestCablingAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
SCT_TestCablingAlg.cxx:38
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Identifier
Definition
IdentifierFieldParser.cxx:14
Generated on
for ATLAS Offline Software by
1.17.0