ATLAS Offline Software
CPMCMXData.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  // 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 
16  #include "AthenaKernel/CLASS_DEF.h"
18 
19  namespace LVL1 {
20 
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:
51  int m_crate;
52  int m_module;
53  int m_type;
54  std::vector <unsigned int> m_DataWords;
55 
56  };
57  } // end of namespace
58 
59 #ifndef CPMCMXData_ClassDEF_H
61 #endif
62 
63 #endif
LVL1::CPMCMXData::type
int type() const
TOB type (EM/Tau)
Definition: CPMCMXData.cxx:131
LVL1::CPMCMXData::m_crate
int m_crate
Internal data.
Definition: CPMCMXData.h:51
LVL1::CPMCMXData::overflow
bool overflow() const
Report whether TOB overflow occurred.
Definition: CPMCMXData.cxx:295
LVL1::CPMCMXData::m_DataWords
std::vector< unsigned int > m_DataWords
Definition: CPMCMXData.h:54
LVL1::CPMCMXData::module
int module() const
module number
Definition: CPMCMXData.cxx:126
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::CPMCMXData::m_type
int m_type
Definition: CPMCMXData.h:53
LVL1::CPMCMXData::presenceMap
unsigned int presenceMap() const
16 bit presence map
Definition: CPMCMXData.cxx:136
LVL1::CPMCMXData::crate
int crate() const
Data accessors.
Definition: CPMCMXData.cxx:121
CPMTobRoI.h
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
LVL1::CPMCMXData::~CPMCMXData
virtual ~CPMCMXData()
Destructor.
Definition: CPMCMXData.cxx:114
LVL1::CPMCMXData::m_module
int m_module
Definition: CPMCMXData.h:52
LVL1::CPMCMXData
The CPMCMXData object contains the data transferred from the CPM to one of the CMXes (EM or Tau) in t...
Definition: CPMCMXData.h:25
LVL1::CPMCMXData::TOBWords
std::vector< unsigned int > TOBWords() const
Data words (2b LC + 5b Isol + 8b ET) for up to 5 TOBs.
Definition: CPMCMXData.cxx:169
LVL1::CPMCMXData::DataWords
std::vector< unsigned int > DataWords() const
the 4 raw backplane data words
Definition: CPMCMXData.cxx:142
LVL1::CPMCMXData::TOBPresenceBits
std::vector< unsigned int > TOBPresenceBits() const
Locations in Presence Map for up to 5 TOBs.
Definition: CPMCMXData.cxx:148
LVL1::CPMCMXData::TopoTOBs
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.
Definition: CPMCMXData.cxx:230
CPMCMXData_ClassDEF.h
LVL1::CPMCMXData::CPMCMXData
CPMCMXData()
Constructors.
Definition: CPMCMXData.cxx:10
CLASS_DEF.h
macros to associate a CLID to a type