ATLAS Offline Software
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 
10 #include "GaudiKernel/ToolHandle.h"
13 #include "Gaudi/Property.h"
14 
15 class TRT_ID;
16 
18 {
19  public:
21  TRTPhaseCondAlg(const std::string& name, ISvcLocator* pSvcLocator);
22  virtual ~TRTPhaseCondAlg() override;
23 
24  virtual StatusCode initialize() override;
25  virtual StatusCode execute() 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
TRTPhaseCondAlg::initialize
virtual StatusCode initialize() override
Definition: TRTPhaseCondAlg.cxx:19
TRTPhaseCondAlg
Definition: TRTPhaseCondAlg.h:18
WriteCondHandleKey.h
TRTPhaseCondAlg::m_trtId
const TRT_ID * m_trtId
Definition: TRTPhaseCondAlg.h:33
TRTPhaseCondAlg::StrawT0Container
TRTCond::StrawT0MultChanContainer StrawT0Container
Definition: TRTPhaseCondAlg.h:20
AthAlgorithm.h
AverageT0.h
TRTPhaseCondAlg::m_caldbtool
ToolHandle< ITRT_CalDbTool > m_caldbtool
Definition: TRTPhaseCondAlg.h:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TRTPhaseCondAlg::m_T0ReadKey
SG::ReadCondHandleKey< StrawT0Container > m_T0ReadKey
Definition: TRTPhaseCondAlg.h:30
TRTPhaseCondAlg::m_T0WriteKey
SG::WriteCondHandleKey< TRTCond::AverageT0 > m_T0WriteKey
Definition: TRTPhaseCondAlg.h:31
ITRT_CalDbTool.h
abstract interface to TRT calibration constants
AthAlgorithm
Definition: AthAlgorithm.h:47
TRTPhaseCondAlg::~TRTPhaseCondAlg
virtual ~TRTPhaseCondAlg() override
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
TRTPhaseCondAlg::finalize
virtual StatusCode finalize() override
Definition: TRTPhaseCondAlg.cxx:131
TRTPhaseCondAlg::execute
virtual StatusCode execute() override
Definition: TRTPhaseCondAlg.cxx:36
SG::ReadCondHandleKey< StrawT0Container >
TRT_ID
Definition: TRT_ID.h:84
TRTPhaseCondAlg::TRTPhaseCondAlg
TRTPhaseCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TRTPhaseCondAlg.cxx:10
SG::WriteCondHandleKey< TRTCond::AverageT0 >
TRTCond::StrawT0MultChanContainer
Definition: StrawT0MultChanContainer.h:31