ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetConditions
TRT_ConditionsAlgs
src
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
8
#include "
AthenaBaseComps/AthCondAlgorithm.h
"
9
#include "
StoreGate/WriteCondHandleKey.h
"
10
#include "
StoreGate/ReadCondHandleKey.h
"
11
#include "GaudiKernel/ToolHandle.h"
12
#include "
TRT_ConditionsData/AliveStraws.h
"
13
#include "
TRT_ConditionsData/StrawStatusMultChanContainer.h
"
14
#include "
TRT_ConditionsData/StrawStatusSummary.h
"
15
#include "
TRT_ReadoutGeometry/TRT_DetElementContainer.h
"
16
17
class
TRT_ID
;
18
19
class
TRTStrawCondAlg
:
public
AthCondAlgorithm
20
{
21
public
:
22
typedef
TRTCond::StrawStatusMultChanContainer
StrawStatusContainer
;
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
AliveStraws.h
AthCondAlgorithm.h
Base class for conditions algorithms.
ReadCondHandleKey.h
StrawStatusMultChanContainer.h
StrawStatusSummary.h
TRT_DetElementContainer.h
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::StrawStatusMultChanContainer
A COOL multichannel container for StrawStatus.
Definition
StrawStatusMultChanContainer.h:19
TRTStrawCondAlg::m_trtId
const TRT_ID * m_trtId
Definition
TRTStrawCondAlg.h:37
TRTStrawCondAlg::StrawStatusContainer
TRTCond::StrawStatusMultChanContainer StrawStatusContainer
Definition
TRTStrawCondAlg.h:22
TRTStrawCondAlg::TRTStrawCondAlg
TRTStrawCondAlg(const std::string &name, ISvcLocator *pSvcLocator)
Definition
TRTStrawCondAlg.cxx:8
TRTStrawCondAlg::findArrayLocalWheelIndex
int findArrayLocalWheelIndex(const int det, const int lay) const
Definition
TRTStrawCondAlg.cxx:146
TRTStrawCondAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
TRTStrawCondAlg.cxx:31
TRTStrawCondAlg::m_strawStatusSummaryKey
SG::ReadCondHandleKey< TRTCond::StrawStatusSummary > m_strawStatusSummaryKey
Definition
TRTStrawCondAlg.h:34
TRTStrawCondAlg::m_trtDetEleContKey
SG::ReadCondHandleKey< InDetDD::TRT_DetElementContainer > m_trtDetEleContKey
Definition
TRTStrawCondAlg.h:33
TRTStrawCondAlg::initialize
virtual StatusCode initialize() override
Definition
TRTStrawCondAlg.cxx:14
TRTStrawCondAlg::m_strawWriteKey
SG::WriteCondHandleKey< TRTCond::AliveStraws > m_strawWriteKey
Definition
TRTStrawCondAlg.h:35
TRTStrawCondAlg::findArrayTotalIndex
int findArrayTotalIndex(const int det, const int lay) const
Definition
TRTStrawCondAlg.cxx:128
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