ATLAS Offline Software
ICSC_ROD_Decoder.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONCSC_CNVTOOL_ICSC_ROD_Decoder_H
6 #define MUONCSC_CNVTOOL_ICSC_ROD_Decoder_H
7 
8 #include <string>
9 #include <vector>
10 
12 #include "GaudiKernel/IAlgTool.h"
14 
16 class MsgStream;
17 class EventInfo;
18 class Identifier;
19 
20 namespace Muon {
21 
27  class ICSC_ROD_Decoder : virtual public IAlgTool {
28  public:
30 
31  virtual void fillCollection(const xAOD::EventInfo& eventInfo, const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment& robFrag,
32  CscRawDataContainer& rdoIDC) const = 0;
33 
34  virtual Identifier getChannelId(const uint32_t word, std::string detdesription) const = 0;
35  virtual uint32_t getHashId(const uint32_t word, std::string detdesription) const = 0;
36  virtual void getSamples(const std::vector<uint32_t>& words, std::vector<uint16_t>& samples) const = 0;
37  };
38 
39 } // namespace Muon
40 
41 #endif
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
Muon::ICSC_ROD_Decoder::getSamples
virtual void getSamples(const std::vector< uint32_t > &words, std::vector< uint16_t > &samples) const =0
Muon
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
Definition: TrackSystemController.h:45
Muon::ICSC_ROD_Decoder::getHashId
virtual uint32_t getHashId(const uint32_t word, std::string detdesription) const =0
Muon::ICSC_ROD_Decoder
This class provides conversion from ROD data to CSC RDO Author: Ketevi A.
Definition: ICSC_ROD_Decoder.h:27
eformat::ROBFragment
Definition: L1CaloBsDecoderUtil.h:12
RawEvent.h
Muon::ICSC_ROD_Decoder::getChannelId
virtual Identifier getChannelId(const uint32_t word, std::string detdesription) const =0
Muon::ICSC_ROD_Decoder::fillCollection
virtual void fillCollection(const xAOD::EventInfo &eventInfo, const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment &robFrag, CscRawDataContainer &rdoIDC) const =0
Muon::ICSC_ROD_Decoder::DeclareInterfaceID
DeclareInterfaceID(ICSC_ROD_Decoder, 1, 0)
EventInfo
This class provides general information about an event. Event information is provided by the accessor...
Definition: EventInfo/EventInfo/EventInfo.h:43
EventInfo.h
xAOD::EventInfo_v1
Class describing the basic event information.
Definition: EventInfo_v1.h:43
CscRawDataContainer
This container provides access to collections of CSC RDOs and a mechanism for recording them.
Definition: CscRawDataContainer.h:23
checkFileSG.words
words
Definition: checkFileSG.py:76
Identifier
Definition: IdentifierFieldParser.cxx:14