 |
ATLAS Offline Software
|
Go to the documentation of this file.
12 #ifndef GFEXINPUTBYTESTREAMTOOL_H
13 #define GFEXINPUTBYTESTREAMTOOL_H
25 #include "Gaudi/Property.h"
42 typedef std::array<std::array<uint32_t, 7>, 100>
gfiber;
43 typedef std::array<std::array<int, 6>, 32>
gEngines;
44 typedef std::array<std::array<int, 12>, 32>
gtFPGA;
45 typedef std::array<std::array<int, 20>, 100>
gFields;
46 typedef std::array<std::array<int, 16>, 100>
gCaloTwr;
47 typedef std::array<std::array<int, 8>, 100>
gSatur;
49 typedef std::array<std::array<int, 20>, 4>
gType;
50 typedef std::array<std::array<char, 20>, 4>
gTypeChar;
59 virtual StatusCode convertFromBS(
const std::vector<const OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment*>& vrobf,
const EventContext& eventContext)
const override;
62 virtual StatusCode convertToBS(std::vector<OFFLINE_FRAGMENTS_NAMESPACE_WRITE::ROBFragment*>& vrobf,
const EventContext& eventContext)
override;
65 virtual const std::vector<uint32_t>&
robIds()
const override {
72 ToolHandle<GenericMonitoringTool>
m_monTool{
this,
"MonTool",
"",
"Monitoring tool"};
77 this,
"gFexFiberTowerMapping",
78 "Run3L1CaloSimulation/L1CaloFEXAlgos/gFEX/gFex_gCaloTowerMap_weighted_v1.txt",
79 "Text file to convert from hardware fiber to eta-phi location"};
84 Gaudi::Property<std::vector<uint32_t>>
m_robIds {
this,
"ROBIDs", {},
"List of ROB IDs required for conversion to/from xAOD RoI"};
105 const std::array<int, gPos::MAX_FIBERS> &XMPD_NFI,
106 const std::array<int, gPos::MAX_FIBERS> &XCALO_TYPE,
108 const gType & XMPD_DSTRT_ARR,
110 const std::array<int, gPos::MAX_FIBERS> &XMSK,
115 virtual int crc9d32(
const std::array<uint32_t, 6> &inWords,
int numWords,
int reverse)
const;
118 virtual void undoMLE(
int &datumPtr )
const;
122 virtual void signExtend(
int *xptr,
int upto)
const;
132 #endif // GFEXINPUTBYTESTREAMTOOL_H
constexpr int MAX_E_FIELDS
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
::StatusCode StatusCode
StatusCode definition for legacy code.
Header file to be included by clients of the Monitored infrastructure.
setScale setgFexType iEta