ATLAS Offline Software
BptxCTP.h
Go to the documentation of this file.
1 // Dear emacs, this is -*- c++ -*-
2 /*
3  Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
4 */
5 #ifndef TRIGT1INTERFACES_BPTX_CTP_H
6 #define TRIGT1INTERFACES_BPTX_CTP_H
7 
8 // std include(s):
9 #include <stdint.h>
10 #include <string>
11 
12 namespace LVL1 {
13 
26  class BptxCTP {
27 
28  public:
29  BptxCTP( uint32_t word0 = 0 );
30 
34  uint32_t cableWord0(void) const {
35  return m_cableWord0;
36  }
37 
39  const std::string dump() const;
41  const std::string print() const;
42 
43  private:
46 
47  }; // class BptxCTP
48 
49 } // namespace LVL1
50 
51 #include "AthenaKernel/CLASS_DEF.h"
52 CLASS_DEF( LVL1::BptxCTP , 215712302 , 1 )
53 
54 #endif // TRIGT1INTERFACES_BPTX_CTP_H
LVL1::BptxCTP::print
const std::string print() const
print object content in a human readable form to string
Definition: BptxCTP.cxx:30
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
LVL1::BptxCTP::BptxCTP
BptxCTP(uint32_t word0=0)
Definition: BptxCTP.cxx:15
LVL1
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...
Definition: ICMMCPHitsCnvTool.h:18
LVL1::BptxCTP
BPTX input class to the CTP simulation.
Definition: BptxCTP.h:26
LVL1::BptxCTP::cableWord0
uint32_t cableWord0(void) const
Returns an unsigned integer trigger word containing 3bits.
Definition: BptxCTP.h:34
LVL1::BptxCTP::m_cableWord0
const uint32_t m_cableWord0
A data member to contain two 3bit trigger multiplicities.
Definition: BptxCTP.h:45
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
CLASS_DEF.h
macros to associate a CLID to a type
LVL1::BptxCTP::dump
const std::string dump() const
dump raw object content to string
Definition: BptxCTP.cxx:20