ATLAS Offline Software
EfexTrexFibrePacker.h
Go to the documentation of this file.
1 
2 #ifndef EFEX_TREX_FIBRE_PACKER_H
3 #define EFEX_TREX_FIBRE_PACKER_H
4 
5 #include <vector>
6 #include <cstdint>
8 #include "defsL1Calo/EfexDefs.h"
9 
20 public:
22  virtual ~EfexTrexFibrePacker() {}
23 
32  virtual std::vector<myDataWord> getPackedData(const std::vector<myDataWord>& inFrame,myDataWord bcNumber, InputDataFrameType frameType) const override;
33  virtual std::vector<myDataWord> getPackedControl(const std::vector<myDataWord>& inFrame,myDataWord bcNumber, InputDataFrameType frameType) const override;
34 
35  virtual bool checkCRC(const std::vector<myDataWord>& encodedData, InputDataFrameType frameType) const override;
36  virtual myDataWord getBcNumber(const std::vector<myDataWord>& encodedData, InputDataFrameType frameType) const override;
37  virtual myDataWord getBcMask(InputDataFrameType frameType) const override;
38 
46  virtual std::vector<myDataWord> getUnpackedData(const std::vector<myDataWord>& encodedData, InputDataFrameType frameType) const override;
47 
48 private:
49 
50 };
51 
52 #endif
EfexTrexFibrePacker::EfexTrexFibrePacker
EfexTrexFibrePacker()
Class implementing packing and unpacking data into TREX eFex format.
Definition: EfexTrexFibrePacker.h:21
EfexTrexFibrePacker::getBcNumber
virtual myDataWord getBcNumber(const std::vector< myDataWord > &encodedData, InputDataFrameType frameType) const override
Definition: EfexTrexFibrePacker.cxx:116
EfexTrexFibrePacker::getBcMask
virtual myDataWord getBcMask(InputDataFrameType frameType) const override
Definition: EfexTrexFibrePacker.cxx:122
EfexTrexFibrePacker
Definition: EfexTrexFibrePacker.h:10
EfexTrexFibrePacker::getUnpackedData
virtual std::vector< myDataWord > getUnpackedData(const std::vector< myDataWord > &encodedData, InputDataFrameType frameType) const override
Function unpacking the data from LATOME format, either standard or alignement frame.
Definition: EfexTrexFibrePacker.cxx:127
EfexTrexFibrePacker::getPackedControl
virtual std::vector< myDataWord > getPackedControl(const std::vector< myDataWord > &inFrame, myDataWord bcNumber, InputDataFrameType frameType) const override
Function returning control words.
Definition: EfexTrexFibrePacker.cxx:72
EfexTrexFibrePacker::~EfexTrexFibrePacker
virtual ~EfexTrexFibrePacker()
Definition: EfexTrexFibrePacker.h:22
FibrePackerBase.h
EfexTrexFibrePacker::getPackedData
virtual std::vector< myDataWord > getPackedData(const std::vector< myDataWord > &inFrame, myDataWord bcNumber, InputDataFrameType frameType) const override
Function packing the data into the LATOME format, either standard or alignement frame.
Definition: EfexTrexFibrePacker.cxx:9
EfexTrexFibrePacker::checkCRC
virtual bool checkCRC(const std::vector< myDataWord > &encodedData, InputDataFrameType frameType) const override
Definition: EfexTrexFibrePacker.cxx:93
FibrePackerBase::InputDataFrameType
InputDataFrameType
type of input data frame
Definition: FibrePackerBase.h:37
FibrePackerBase::myDataWord
uint32_t myDataWord
Definition: FibrePackerBase.h:25
FibrePackerBase
Definition: FibrePackerBase.h:9
EfexDefs.h