ATLAS Offline Software
NimCTP.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  NimCTP.h - description
6  -------------------
7  begin : August 2010
8  email : eleanor.dobson@cern.ch
9 ***************************************************************************/
10 
11 #ifndef TRIGT1INTERFACES_NIMCTP_H
12 #define TRIGT1INTERFACES_NIMCTP_H
13 
14 namespace LVL1 {
15 
21  class NimCTP {
22 
23  public:
24  NimCTP( unsigned int cableword0 = 0, unsigned int cableword1 = 0 , unsigned int cableword2 = 0 );
25  ~NimCTP();
26 
27  unsigned int cableWord0() const;
28  unsigned int cableWord1() const;
29  unsigned int cableWord2() const;
30 
31  void SetCableWord0(unsigned int cableword0);
32  void SetCableWord1(unsigned int cableword1);
33  void SetCableWord2(unsigned int cableword2);
34 
35  private:
36  unsigned int m_cableWord0;
37  unsigned int m_cableWord1;
38  unsigned int m_cableWord2;
39 
40  }; // class NimCTP
41 
42 } // namespace LVL1
43 
44 #include "AthenaKernel/CLASS_DEF.h"
45 CLASS_DEF( LVL1::NimCTP, 22423433, 1 )
46 
47 #endif // TRIGT1INTERFACES_NIMCTP_H
LVL1::NimCTP::NimCTP
NimCTP(unsigned int cableword0=0, unsigned int cableword1=0, unsigned int cableword2=0)
Definition: NimCTP.cxx:21
LVL1::NimCTP::~NimCTP
~NimCTP()
Definition: NimCTP.cxx:26
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::NimCTP::cableWord2
unsigned int cableWord2() const
Definition: NimCTP.cxx:38
LVL1::NimCTP::m_cableWord0
unsigned int m_cableWord0
Definition: NimCTP.h:46
LVL1::NimCTP::SetCableWord1
void SetCableWord1(unsigned int cableword1)
Definition: NimCTP.cxx:46
LVL1::NimCTP::m_cableWord1
unsigned int m_cableWord1
Definition: NimCTP.h:47
LVL1::NimCTP::cableWord1
unsigned int cableWord1() const
Definition: NimCTP.cxx:34
LVL1::NimCTP::m_cableWord2
unsigned int m_cableWord2
Definition: NimCTP.h:48
LVL1::NimCTP::SetCableWord2
void SetCableWord2(unsigned int cableword2)
Definition: NimCTP.cxx:50
LVL1::NimCTP
This class defines the NIM items.
Definition: NimCTP.h:26
LVL1::NimCTP::SetCableWord0
void SetCableWord0(unsigned int cableword0)
Definition: NimCTP.cxx:42
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
LVL1::NimCTP::cableWord0
unsigned int cableWord0() const
Definition: NimCTP.cxx:30
CLASS_DEF.h
macros to associate a CLID to a type