ATLAS Offline Software
NSWCommonDecoder.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef _MUON_NSW_COMMON_DECODER_H_
5 #define _MUON_NSW_COMMON_DECODER_H_
6 
7 #include <stdint.h>
8 #include <vector>
9 
10 #include "eformat/eformat.h"
11 
12 namespace Muon
13 {
14  namespace nsw
15  {
16  class NSWElink;
17  class VMMChannel;
18 
20  {
21  public:
22  explicit NSWCommonDecoder (const eformat::read::ROBFragment &rob);
23  virtual ~NSWCommonDecoder ();
24 
25  const std::vector <Muon::nsw::NSWElink *> &get_elinks () const {return m_elinks;};
26  const std::vector <Muon::nsw::VMMChannel *> &get_channels () const {return m_channels;};
27 
28  bool has_error () {return m_has_error;};
29 
30  private:
32 
33  std::vector <Muon::nsw::NSWElink *> m_elinks;
34  std::vector <Muon::nsw::VMMChannel *> m_channels;
35  };
36  }
37 }
38 
39 #endif // _MUON_NSW_COMMON_DECODER_H_
Muon::nsw::NSWCommonDecoder::has_error
bool has_error()
Definition: NSWCommonDecoder.h:28
Muon::nsw::NSWCommonDecoder::~NSWCommonDecoder
virtual ~NSWCommonDecoder()
Definition: NSWCommonDecoder.cxx:73
Muon::nsw::NSWCommonDecoder::m_channels
std::vector< Muon::nsw::VMMChannel * > m_channels
Definition: NSWCommonDecoder.h:34
Muon::nsw::NSWCommonDecoder::m_has_error
bool m_has_error
Definition: NSWCommonDecoder.h:28
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:49
Muon::nsw::NSWCommonDecoder::m_elinks
std::vector< Muon::nsw::NSWElink * > m_elinks
Definition: NSWCommonDecoder.h:33
Muon::nsw::NSWCommonDecoder
Definition: NSWCommonDecoder.h:20
Muon::nsw::NSWCommonDecoder::get_elinks
const std::vector< Muon::nsw::NSWElink * > & get_elinks() const
Definition: NSWCommonDecoder.h:25
OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment
eformat::ROBFragment< PointerType > ROBFragment
Definition: RawEvent.h:27
Muon::nsw::NSWCommonDecoder::get_channels
const std::vector< Muon::nsw::VMMChannel * > & get_channels() const
Definition: NSWCommonDecoder.h:26
Muon::nsw::NSWCommonDecoder::NSWCommonDecoder
NSWCommonDecoder(const eformat::read::ROBFragment &rob)
Definition: NSWCommonDecoder.cxx:12