ATLAS Offline Software
TgcRDO_Decoder.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONTGC_CNVTOOLS_TGCRDO_DECODER_H
6 #define MUONTGC_CNVTOOLS_TGCRDO_DECODER_H
7 
9 
11 
13 
14 class TgcDigit;
15 class TgcRawData;
16 class Identifier;
17 class ITGCcablingSvc;
18 
19 namespace Muon
20 {
21 
32  class TgcRDO_Decoder : virtual public ITGC_RDO_Decoder, public AthAlgTool
33  {
34  public:
35 
37  TgcRDO_Decoder(const std::string& type, const std::string& name,
38  const IInterface* parent);
41 
43  virtual StatusCode initialize();
45  virtual StatusCode finalize();
46 
49  void applyPatch(bool patch);
51  TgcDigit * getDigit(const TgcRawData * rawData, bool orFlag) const;
53  Identifier getOfflineData(const TgcRawData * rawData, bool orFlag, uint16_t& bctag) const;
54 
55  private:
57 
60 
61  };
62 
63 } // end of namespace
64 
65 #endif // MUONTGC_CNVTOOLS_TGCRDO_DECODER_H
Muon::TgcRDO_Decoder::m_applyPatch
bool m_applyPatch
Definition: TgcRDO_Decoder.h:59
Muon::TgcRDO_Decoder::TgcRDO_Decoder
TgcRDO_Decoder(const std::string &type, const std::string &name, const IInterface *parent)
Constructor.
Definition: TgcRDO_Decoder.cxx:15
Muon::TgcRDO_Decoder::finalize
virtual StatusCode finalize()
Finalizer.
Definition: TgcRDO_Decoder.cxx:36
ITGCcablingSvc
Definition: ITGCcablingSvc.h:31
Muon::TgcRDO_Decoder::getCabling
StatusCode getCabling()
Definition: TgcRDO_Decoder.cxx:154
ITGC_RDO_Decoder.h
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:49
Muon::TgcRDO_Decoder::getOfflineData
Identifier getOfflineData(const TgcRawData *rawData, bool orFlag, uint16_t &bctag) const
Get offline ID and bcTag from TGC RDO.
Definition: TgcRDO_Decoder.cxx:98
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:88
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
Muon::TgcRDO_Decoder::applyPatch
void applyPatch(bool patch)
Set a flag for application of patch.
Definition: TgcRDO_Decoder.cxx:41
test_pyathena.parent
parent
Definition: test_pyathena.py:15
TgcDigit
Definition: TgcDigit.h:21
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
Muon::ITGC_RDO_Decoder
Definition: ITGC_RDO_Decoder.h:25
Muon::TgcRDO_Decoder
Definition: TgcRDO_Decoder.h:33
Muon::TgcRDO_Decoder::m_cabling
const ITGCcablingSvc * m_cabling
Definition: TgcRDO_Decoder.h:58
Muon::TgcRDO_Decoder::initialize
virtual StatusCode initialize()
Initializer.
Definition: TgcRDO_Decoder.cxx:23
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
TgcRawData
An unit object of TGC ROD output.
Definition: TgcRawData.h:23
Muon::TgcRDO_Decoder::~TgcRDO_Decoder
~TgcRDO_Decoder()
Destructor.
Definition: TgcRDO_Decoder.h:40
Muon::TgcRDO_Decoder::getDigit
TgcDigit * getDigit(const TgcRawData *rawData, bool orFlag) const
Get TGC Digit from TGC RDO.
Definition: TgcRDO_Decoder.cxx:46
AthAlgTool
Definition: AthAlgTool.h:26
checker_macros.h
Define macros for attributes used to control the static checker.