ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonPhaseII
MuonCnv
MuonTGC_CnvToolsR4
src
TgcDigitToPrepDataCnvTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
#ifndef MUONTGC_CNVTOOLSR4_TGCDIGITPREPDATACNVTOOL_H
5
#define MUONTGC_CNVTOOLSR4_TGCDIGITPREPDATACNVTOOL_H
6
7
#include "
AthenaBaseComps/AthAlgTool.h
"
8
#include "
MuonCnvToolInterfaces/IMuonRdoToPrepDataTool.h
"
9
10
#include <
StoreGate/ReadHandleKey.h
>
11
#include <
StoreGate/WriteHandleKey.h
>
12
13
#include <
ActsGeometryInterfaces/GeometryContext.h
>
14
#include <
MuonReadoutGeometryR4/MuonDetectorManager.h
>
15
#include <
MuonIdHelpers/IMuonIdHelperSvc.h
>
16
17
#include <
MuonDigitContainer/TgcDigitContainer.h
>
18
#include <
xAODMuonPrepData/TgcStripContainer.h
>
19
20
21
namespace
MuonR4
{
25
class
TgcDigitToPrepDataCnvTool
:
public
extends<AthAlgTool, Muon::IMuonRdoToPrepDataTool> {
26
public
:
27
using
base_class::base_class;
28
29
30
StatusCode
initialize
()
override
final
;
31
32
StatusCode
decode
(
const
EventContext& ctx,
33
const
std::vector<IdentifierHash>& idVect)
const
override
final
;
35
StatusCode
decode
(
const
EventContext& ctx,
36
const
std::vector<uint32_t>& robIds)
const
override
final
;
37
38
StatusCode
provideEmptyContainer
(
const
EventContext& ctx)
const
override
final
;
39
private
:
40
ServiceHandle<Muon::IMuonIdHelperSvc>
m_idHelperSvc
{
this
,
"MuonIdHelperSvc"
,
"Muon::MuonIdHelperSvc/MuonIdHelperSvc"
};
41
42
SG::ReadHandleKey<TgcDigitContainer>
m_readKey
{
this
,
"ReadKey"
,
"TGC_DIGITS"
,
"Digit container to retrieve"
};
43
44
SG::WriteHandleKey<xAOD::TgcStripContainer>
m_writeKey
{
this
,
"WriteKey"
,
"xTgcStrips"
,
"Output container"
};
45
48
Gaudi::Property<bool>
m_convertAllBCs
{
this
,
"convertAllBCs"
,
true
};
49
50
const
MuonGMR4::MuonDetectorManager
*
m_detMgr
{};
51
};
52
}
53
54
55
#endif
AthAlgTool.h
GeometryContext.h
IMuonIdHelperSvc.h
IMuonRdoToPrepDataTool.h
MuonDetectorManager.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
TgcDigitContainer.h
TgcStripContainer.h
MuonGMR4::MuonDetectorManager
Definition
MuonPhaseII/MuonDetDescr/MuonReadoutGeometryR4/MuonReadoutGeometryR4/MuonDetectorManager.h:62
MuonR4::TgcDigitToPrepDataCnvTool
Conversion tool from Tgc digits -> Tgc xAOD uncalibrated measurements.
Definition
TgcDigitToPrepDataCnvTool.h:25
MuonR4::TgcDigitToPrepDataCnvTool::m_convertAllBCs
Gaudi::Property< bool > m_convertAllBCs
Convert hits from all bunch crossings.
Definition
TgcDigitToPrepDataCnvTool.h:48
MuonR4::TgcDigitToPrepDataCnvTool::initialize
StatusCode initialize() override final
Definition
TgcDigitToPrepDataCnvTool.cxx:32
MuonR4::TgcDigitToPrepDataCnvTool::decode
StatusCode decode(const EventContext &ctx, const std::vector< IdentifierHash > &idVect) const override final
Definition
TgcDigitToPrepDataCnvTool.cxx:39
MuonR4::TgcDigitToPrepDataCnvTool::m_detMgr
const MuonGMR4::MuonDetectorManager * m_detMgr
Definition
TgcDigitToPrepDataCnvTool.h:50
MuonR4::TgcDigitToPrepDataCnvTool::m_readKey
SG::ReadHandleKey< TgcDigitContainer > m_readKey
Definition
TgcDigitToPrepDataCnvTool.h:42
MuonR4::TgcDigitToPrepDataCnvTool::m_idHelperSvc
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
Definition
TgcDigitToPrepDataCnvTool.h:40
MuonR4::TgcDigitToPrepDataCnvTool::provideEmptyContainer
StatusCode provideEmptyContainer(const EventContext &ctx) const override final
Definition
TgcDigitToPrepDataCnvTool.cxx:112
MuonR4::TgcDigitToPrepDataCnvTool::m_writeKey
SG::WriteHandleKey< xAOD::TgcStripContainer > m_writeKey
Definition
TgcDigitToPrepDataCnvTool.h:44
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
ServiceHandle
Definition
ClusterMakerTool.h:36
MuonR4
This header ties the generic definitions in this package.
Definition
GlobalPattern.h:14
Generated on
for ATLAS Offline Software by
1.17.0