ATLAS Offline Software
Loading...
Searching...
No Matches
CPMCMXData.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
5 //***************************************************************************
6 // CPMCMXData.h - description
7 // -------------------
8 // begin : 04 04 2014
9 // email : Alan.Watson@cern.ch
10 // ***************************************************************************/
11
12
13 #ifndef CPMCMXDATA_H
14 #define CPMCMXDATA_H
15
17 #include <vector>
18
19 namespace LVL1 {
20
24
25 class CPMCMXData {
26 public:
27
29 CPMCMXData();
30 CPMCMXData(int crate, int module, int type,
31 const std::vector<unsigned int>& tobWords);
32 CPMCMXData(int crate, int module, int type,
33 const DataVector<CPMTobRoI>* tobs);
34
36 virtual ~CPMCMXData();
37
39 int crate() const;
40 int module() const;
41 int type() const;
42 unsigned int presenceMap() const;
43 bool overflow() const;
44 std::vector<unsigned int> DataWords() const;
45 std::vector<unsigned int> TOBPresenceBits() const;
46 std::vector<unsigned int> TOBWords() const;
47 std::vector<unsigned int> TopoTOBs() const;
48
50 private:
53 int m_type;
54 std::vector <unsigned int> m_DataWords;
55
56 };
57 } // end of namespace
58
60
61#endif
Derived DataVector<T>.
Definition DataVector.h:795
int module() const
module number
std::vector< unsigned int > DataWords() const
the 4 raw backplane data words
std::vector< unsigned int > m_DataWords
Definition CPMCMXData.h:54
int type() const
TOB type (EM/Tau)
unsigned int presenceMap() const
16 bit presence map
int crate() const
Data accessors.
std::vector< unsigned int > TopoTOBs() const
L1Topo TOB words (1bRO + 4b CPM + 3b Chip + 3b LC + 5b Isol + 8b ET) for up to 5 TOBs.
std::vector< unsigned int > TOBWords() const
Data words (2b LC + 5b Isol + 8b ET) for up to 5 TOBs.
virtual ~CPMCMXData()
Destructor.
std::vector< unsigned int > TOBPresenceBits() const
Locations in Presence Map for up to 5 TOBs.
bool overflow() const
Report whether TOB overflow occurred.
int m_crate
Internal data.
Definition CPMCMXData.h:51
CPMCMXData()
Constructors.
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...