ATLAS Offline Software
MM_RDO_Decoder.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONBYTESTREAMMMRDODECODER_H
6 #define MUONBYTESTREAMMMRDODECODER_H
7 
9 
10 #include "MuonRDO/MM_RawData.h"
13 
16 
17 #include <inttypes.h>
18 #include <vector>
19 
21 
22 namespace Muon {
23  // Decoder class for conversion from MM RDOs to MM digits
24  // Adapted for MMs from Alexandre Laurier - June 2019
25 
26  class MM_RDO_Decoder: public AthAlgTool, virtual public IMM_RDO_Decoder {
27 
28  public:
29 
30  MM_RDO_Decoder( const std::string& type, const std::string& name,
31  const IInterface* parent ) ;
32 
33  virtual StatusCode initialize() override final;
34 
35  std::unique_ptr<MmDigit> getDigit(const EventContext& ctx,
36  const Muon::MM_RawData * data) const override final;
37 
38  private:
39 
40  const MmIdHelper* m_mmIdHelper{nullptr};
41  ToolHandle<Muon::INSWCalibTool> m_calibTool{this,"CalibrationTool", ""};
42 
43  };
44 
45 }
46 
47 
48 
49 #endif
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
Muon::MM_RDO_Decoder::m_calibTool
ToolHandle< Muon::INSWCalibTool > m_calibTool
Definition: MM_RDO_Decoder.h:41
INSWCalibTool.h
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:49
MmDigit.h
Muon::MM_RDO_Decoder::MM_RDO_Decoder
MM_RDO_Decoder(const std::string &type, const std::string &name, const IInterface *parent)
Definition: MM_RDO_Decoder.cxx:9
Muon::MM_RawData
Temporary class to hold the MM RDO.
Definition: MM_RawData.h:20
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
MmIdHelper.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
Muon::MM_RDO_Decoder::m_mmIdHelper
const MmIdHelper * m_mmIdHelper
Definition: MM_RDO_Decoder.h:40
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
MM_RawData.h
Muon::MM_RDO_Decoder
Definition: MM_RDO_Decoder.h:26
Muon::MM_RDO_Decoder::initialize
virtual StatusCode initialize() override final
Definition: MM_RDO_Decoder.cxx:16
MmIdHelper
Definition: MmIdHelper.h:54
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
Muon::IMM_RDO_Decoder
Definition: IMM_RDO_Decoder.h:18
NswCalibDbTimeChargeData
Definition: NswCalibDbTimeChargeData.h:19
IMM_RDO_Decoder.h
AthAlgTool
Definition: AthAlgTool.h:26
Muon::MM_RDO_Decoder::getDigit
std::unique_ptr< MmDigit > getDigit(const EventContext &ctx, const Muon::MM_RawData *data) const override final
Definition: MM_RDO_Decoder.cxx:25