ATLAS Offline Software
Loading...
Searching...
No Matches
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
9
12
16
19
20
21namespace 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
51 };
52}
53
54
55#endif
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
Conversion tool from Tgc digits -> Tgc xAOD uncalibrated measurements.
Gaudi::Property< bool > m_convertAllBCs
Convert hits from all bunch crossings.
StatusCode decode(const EventContext &ctx, const std::vector< IdentifierHash > &idVect) const override final
const MuonGMR4::MuonDetectorManager * m_detMgr
SG::ReadHandleKey< TgcDigitContainer > m_readKey
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
StatusCode provideEmptyContainer(const EventContext &ctx) const override final
SG::WriteHandleKey< xAOD::TgcStripContainer > m_writeKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
This header ties the generic definitions in this package.