ATLAS Offline Software
Loading...
Searching...
No Matches
TRTStrawCondAlg.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 TRTSTRAWCONDALG_H
6#define TRTSTRAWCONDALG_H
7
11#include "GaudiKernel/ToolHandle.h"
16
17class TRT_ID;
18
20{
21 public:
23
24 TRTStrawCondAlg(const std::string& name, ISvcLocator* pSvcLocator);
25
26 virtual StatusCode initialize() override;
27 virtual StatusCode execute(const EventContext &ctx) const override;
28
29 int findArrayTotalIndex(const int det, const int lay) const;
30 int findArrayLocalWheelIndex(const int det, const int lay) const;
31
32 private:
33 SG::ReadCondHandleKey<InDetDD::TRT_DetElementContainer> m_trtDetEleContKey{this, "TRTDetEleContKey", "TRT_DetElementContainer", "Key of TRT_DetElementContainer for TRT"};
34 SG::ReadCondHandleKey<TRTCond::StrawStatusSummary> m_strawStatusSummaryKey{this, "StrawStatusSummarKey", "StrawStatusSummary", "Key of StrawStatusSummary"};
35 SG::WriteCondHandleKey<TRTCond::AliveStraws> m_strawWriteKey{this,"StrawWriteKey","AliveStraws","AliveStraws out-key"};
36
37 const TRT_ID *m_trtId{};
38};
39#endif
Base class for conditions algorithms.
Base class for conditions algorithms.
A COOL multichannel container for StrawStatus.
const TRT_ID * m_trtId
TRTCond::StrawStatusMultChanContainer StrawStatusContainer
TRTStrawCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
int findArrayLocalWheelIndex(const int det, const int lay) const
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadCondHandleKey< TRTCond::StrawStatusSummary > m_strawStatusSummaryKey
SG::ReadCondHandleKey< InDetDD::TRT_DetElementContainer > m_trtDetEleContKey
virtual StatusCode initialize() override
SG::WriteCondHandleKey< TRTCond::AliveStraws > m_strawWriteKey
int findArrayTotalIndex(const int det, const int lay) const
This is an Identifier helper class for the TRT subdetector.
Definition TRT_ID.h:82