ATLAS Offline Software
Loading...
Searching...
No Matches
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
15class 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;
34
35};
36#endif
abstract interface to TRT calibration constants
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
A COOL Multichannel container for StrawT0 objects.
TRTPhaseCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode execute() override
virtual StatusCode finalize() override
ToolHandle< ITRT_CalDbTool > m_caldbtool
SG::ReadCondHandleKey< StrawT0Container > m_T0ReadKey
virtual StatusCode initialize() override
TRTCond::StrawT0MultChanContainer StrawT0Container
SG::WriteCondHandleKey< TRTCond::AverageT0 > m_T0WriteKey
const TRT_ID * m_trtId
virtual ~TRTPhaseCondAlg() override
This is an Identifier helper class for the TRT subdetector.
Definition TRT_ID.h:82