ATLAS Offline Software
JetCMXData.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3 */
4 
5  //***************************************************************************
6  // JetCMXData.h - description
7  // -------------------
8  // begin : 04 04 2014
9  // email : Alan.Watson@cern.ch
10  // ***************************************************************************/
11 
12 
13  #ifndef JETCMXDATA_H
14  #define JETCMXDATA_H
15 
16  #include "AthenaKernel/CLASS_DEF.h"
18 
19  namespace LVL1 {
20 
25  class JetCMXData {
26  public:
27 
29  JetCMXData();
30  JetCMXData(int crate, int module,
31  const std::vector<unsigned int>& tobWords);
32  JetCMXData(int crate, int module,
33  const DataVector<JEMTobRoI>* tobs);
34 
36  virtual ~JetCMXData();
37 
39  int crate() const;
40  int module() const;
41  unsigned int presenceMap() const;
42  bool overflow() const;
43  std::vector<unsigned int> DataWords() const;
44  std::vector<unsigned int> TOBPresenceBits() const;
45  std::vector<unsigned int> TOBWords() const;
46  std::vector<unsigned int> TopoTOBs() const;
47 
49  private:
50  int m_crate;
51  int m_module;
52  std::vector <unsigned int> m_DataWords;
53 
54  };
55  } // end of namespace
56 
57 #ifndef JetCMXData_ClassDEF_H
59 #endif
60 
61 #endif
LVL1::JetCMXData::m_DataWords
std::vector< unsigned int > m_DataWords
Definition: JetCMXData.h:52
LVL1::JetCMXData::module
int module() const
module number
Definition: JetCMXData.cxx:119
LVL1::JetCMXData::overflow
bool overflow() const
Report whether TOB overflow occurred.
Definition: JetCMXData.cxx:131
LVL1::JetCMXData::~JetCMXData
virtual ~JetCMXData()
Destructor.
Definition: JetCMXData.cxx:106
LVL1::JetCMXData
The JetCMXData object contains the data transferred from the CPM to one of the Jet CMX in the crate.
Definition: JetCMXData.h:25
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::JetCMXData::m_crate
int m_crate
Internal data.
Definition: JetCMXData.h:50
LVL1::JetCMXData::crate
int crate() const
Data accessors.
Definition: JetCMXData.cxx:114
LVL1::JetCMXData::presenceMap
unsigned int presenceMap() const
8 bit presence map
Definition: JetCMXData.cxx:125
LVL1::JetCMXData::TopoTOBs
std::vector< unsigned int > TopoTOBs() const
L1Topo TOB words (1bRO + 4b JEM + 3b Frame + 2b LC + 9b Small ET + 10b Large ET) for up to 4 TOBs.
Definition: JetCMXData.cxx:236
JEMTobRoI.h
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
JetCMXData_ClassDEF.h
LVL1::JetCMXData::TOBPresenceBits
std::vector< unsigned int > TOBPresenceBits() const
Locations in Presence Map for up to 4 TOBs.
Definition: JetCMXData.cxx:158
LVL1::JetCMXData::m_module
int m_module
Definition: JetCMXData.h:51
LVL1::JetCMXData::TOBWords
std::vector< unsigned int > TOBWords() const
Data words (2b LC + 9b Small ET + 10b Large ET) for up to 4 TOBs.
Definition: JetCMXData.cxx:179
CLASS_DEF.h
macros to associate a CLID to a type
LVL1::JetCMXData::DataWords
std::vector< unsigned int > DataWords() const
the 4 raw backplane data words
Definition: JetCMXData.cxx:153
LVL1::JetCMXData::JetCMXData
JetCMXData()
Constructors.
Definition: JetCMXData.cxx:10