ATLAS Offline Software
Loading...
Searching...
No Matches
TRTActiveCondAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TRTACTIVECONDALG_H
6#define TRTACTIVECONDALG_H
7
11#include "GaudiKernel/ToolHandle.h"
14#include "Gaudi/Property.h"
16
17class TRT_ID;
18
19//* Fills a eta,phi binned map of the fraction of straws, and posts it on CondStore
21{
22 public:
24 TRTActiveCondAlg(const std::string& name, ISvcLocator* pSvcLocator);
25 virtual ~TRTActiveCondAlg() override;
26
27 virtual StatusCode initialize() override;
28 virtual StatusCode execute(const EventContext& ctx) const override;
29
30
31 private:
32 SG::ReadCondHandleKey<StrawStatusContainer> m_strawReadKey{this,"StrawReadKey","/TRT/Cond/Status","Straw Status in-key"};
33 SG::ReadCondHandleKey<InDetDD::TRT_DetElementContainer> m_trtDetEleContKey{this, "TRTDetEleContKey", "TRT_DetElementContainer", "Key of TRT_DetElementContainer for TRT"};
34
35 SG::WriteCondHandleKey<TRTCond::ActiveFraction> m_strawWriteKey{this,"ActiveWriteKey","ActiveFraction","ActiveFraction out-key"};
36
37 ToolHandle<ITRT_StrawStatusSummaryTool> m_strawStatus{this, "TRTStrawStatusSummaryTool", "TRT_StrawStatusSummaryTool"};
38 const TRT_ID *m_trtId{};
39
40};
41#endif
Base class for conditions algorithms.
abstract interface to TRT straw status constants
Base class for conditions algorithms.
TRTActiveCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
const TRT_ID * m_trtId
virtual StatusCode initialize() override
TRTCond::StrawStatusMultChanContainer StrawStatusContainer
ToolHandle< ITRT_StrawStatusSummaryTool > m_strawStatus
virtual StatusCode execute(const EventContext &ctx) const override
virtual ~TRTActiveCondAlg() override
SG::ReadCondHandleKey< InDetDD::TRT_DetElementContainer > m_trtDetEleContKey
SG::WriteCondHandleKey< TRTCond::ActiveFraction > m_strawWriteKey
SG::ReadCondHandleKey< StrawStatusContainer > m_strawReadKey
A COOL multichannel container for StrawStatus.
This is an Identifier helper class for the TRT subdetector.
Definition TRT_ID.h:82