ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetConditions
TRT_ConditionsAlgs
src
TRTPhaseCondAlg.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRTPHASECONDALG_H
6
#define TRTPHASECONDALG_H
7
8
#include "
AthenaBaseComps/AthCondAlgorithm.h
"
9
#include "
StoreGate/WriteCondHandleKey.h
"
10
#include "GaudiKernel/ToolHandle.h"
11
#include "
TRT_ConditionsData/AverageT0.h
"
12
#include "
TRT_ConditionsServices/ITRT_CalDbTool.h
"
13
#include "Gaudi/Property.h"
14
15
class
TRT_ID
;
16
17
class
TRTPhaseCondAlg
:
public
AthCondAlgorithm
18
{
19
public
:
20
typedef
TRTCond::StrawT0MultChanContainer
StrawT0Container
;
21
TRTPhaseCondAlg
(
const
std::string& name, ISvcLocator* pSvcLocator);
22
virtual
~TRTPhaseCondAlg
()
override
;
23
24
virtual
StatusCode
initialize
()
override
;
25
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
26
virtual
StatusCode
finalize
()
override
;
27
28
29
private
:
30
SG::ReadCondHandleKey<StrawT0Container>
m_T0ReadKey
{
this
,
"T0ReadKey"
,
"/TRT/Calib/T0"
,
"T0 in-key"
};
31
SG::WriteCondHandleKey<TRTCond::AverageT0>
m_T0WriteKey
{
this
,
"T0WriteKey"
,
"AverageT0"
,
"Average T0 out-key"
};
32
ToolHandle<ITRT_CalDbTool>
m_caldbtool
;
33
const
TRT_ID
*
m_trtId
;
34
35
};
36
#endif
AthCondAlgorithm.h
Base class for conditions algorithms.
AverageT0.h
ITRT_CalDbTool.h
abstract interface to TRT calibration constants
WriteCondHandleKey.h
AthCondAlgorithm
Base class for conditions algorithms.
Definition
AthCondAlgorithm.h:22
SG::ReadCondHandleKey
Definition
ReadCondHandleKey.h:21
SG::WriteCondHandleKey
Definition
WriteCondHandleKey.h:22
TRTCond::StrawT0MultChanContainer
A COOL Multichannel container for StrawT0 objects.
Definition
StrawT0MultChanContainer.h:31
TRTPhaseCondAlg::TRTPhaseCondAlg
TRTPhaseCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TRTPhaseCondAlg.cxx:10
TRTPhaseCondAlg::finalize
virtual StatusCode finalize() override
Definition
TRTPhaseCondAlg.cxx:131
TRTPhaseCondAlg::m_caldbtool
ToolHandle< ITRT_CalDbTool > m_caldbtool
Definition
TRTPhaseCondAlg.h:32
TRTPhaseCondAlg::m_T0ReadKey
SG::ReadCondHandleKey< StrawT0Container > m_T0ReadKey
Definition
TRTPhaseCondAlg.h:30
TRTPhaseCondAlg::initialize
virtual StatusCode initialize() override
Definition
TRTPhaseCondAlg.cxx:19
TRTPhaseCondAlg::StrawT0Container
TRTCond::StrawT0MultChanContainer StrawT0Container
Definition
TRTPhaseCondAlg.h:20
TRTPhaseCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
TRTPhaseCondAlg.cxx:36
TRTPhaseCondAlg::m_T0WriteKey
SG::WriteCondHandleKey< TRTCond::AverageT0 > m_T0WriteKey
Definition
TRTPhaseCondAlg.h:31
TRTPhaseCondAlg::m_trtId
const TRT_ID * m_trtId
Definition
TRTPhaseCondAlg.h:33
TRTPhaseCondAlg::~TRTPhaseCondAlg
virtual ~TRTPhaseCondAlg() override
TRT_ID
This is an Identifier helper class for the TRT subdetector.
Definition
TRT_ID.h:84
Generated on
for ATLAS Offline Software by
1.17.0