ATLAS Offline Software
CscROD_Encoder.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 MUONCSC_CNVTOOL_CSCROD_ENCODER_H
6 #define MUONCSC_CNVTOOL_CSCROD_ENCODER_H
7 
8 #include <inttypes.h>
9 
11 #include "CSC_Hid2RESrcID.h"
14 
16 class MsgStream;
17 class StatusCode;
18 
26 public:
30 
31  ~CscROD_Encoder() = default;
32 
35  void setRdo(const CscRawDataCollection* rdo) { m_cscRdo = rdo; }
36 
40  StatusCode fillROD(std::vector<uint32_t>& v, MsgStream& mLog);
41 
44  void setIdHelper(const CscIdHelper* cscIdHelper) { m_cscIdHelper = cscIdHelper; }
45 
46 private:
48  const CscIdHelper* m_cscIdHelper = nullptr;
49 };
50 
51 #endif
CscIdHelper.h
CscROD_Encoder::setIdHelper
void setIdHelper(const CscIdHelper *cscIdHelper)
setIdHelper
Definition: CscROD_Encoder.h:44
CscROD_Encoder::CscROD_Encoder
CscROD_Encoder()
constructor
Definition: CscROD_Encoder.cxx:19
RawEvent.h
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
CscROD_Encoder::setRdo
void setRdo(const CscRawDataCollection *rdo)
set CscRawDataCollection
Definition: CscROD_Encoder.h:35
CscRawDataCollection
Collection of CSC Raw Hits, arranged according to CSC Detector Elements Author: Ketevi A.
Definition: CscRawDataCollection.h:24
CscROD_Encoder::fillROD
StatusCode fillROD(std::vector< uint32_t > &v, MsgStream &mLog)
convert all CscRawDataCollections in the current list to a vector of 32bit words
Definition: CscROD_Encoder.cxx:23
CscROD_Encoder::m_cscIdHelper
const CscIdHelper * m_cscIdHelper
Definition: CscROD_Encoder.h:48
CscRawDataCollection.h
CSC_Hid2RESrcID.h
python.PyAthena.v
v
Definition: PyAthena.py:154
CscIdHelper
Definition: CscIdHelper.h:52
CscROD_Encoder::m_cscRdo
const CscRawDataCollection * m_cscRdo
Definition: CscROD_Encoder.h:47
CscROD_Encoder::~CscROD_Encoder
~CscROD_Encoder()=default
CscROD_Encoder
This class provides conversion from CSC RDO to ROD format.
Definition: CscROD_Encoder.h:25