ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
LVL1::MbtsCTP Class Reference

MBTS input class to the CTP simulation. More...

#include <MbtsCTP.h>

Collaboration diagram for LVL1::MbtsCTP:

Public Member Functions

 MbtsCTP (uint32_t word0=0)
 
uint32_t cableWord0 (void) const
 Returns an unsigned integer trigger word containing two 3bit trigger multiplicities: backward and forward triggers above threshold. More...
 
const std::string dump () const
 dump raw object content to string More...
 
const std::string print () const
 print object content in a human readable form to string More...
 

Private Attributes

const uint32_t m_cableWord0
 A data member to contain two 3bit trigger multiplicities. More...
 

Detailed Description

MBTS input class to the CTP simulation.

   A StoreGate class to contain the output status of the
   level 1 MBTS trigger simulation for input into the CTP
   simulation. This class contains the trigger multiplicities
   and single inputs above threshold for one side.
Author
William H. Bell w.bel.nosp@m.l@ph.nosp@m.ysics.nosp@m..gla.nosp@m..ac.u.nosp@m.k
Revision
187728
Date
2009-05-27 18:18:06 +0200 (Wed, 27 May 2009)

Definition at line 27 of file MbtsCTP.h.

Constructor & Destructor Documentation

◆ MbtsCTP()

LVL1::MbtsCTP::MbtsCTP ( uint32_t  word0 = 0)

Definition at line 15 of file MbtsCTP.cxx.

16  : m_cableWord0(word0)
17  {
18  }

Member Function Documentation

◆ cableWord0()

uint32_t LVL1::MbtsCTP::cableWord0 ( void  ) const
inline

Returns an unsigned integer trigger word containing two 3bit trigger multiplicities: backward and forward triggers above threshold.

Definition at line 37 of file MbtsCTP.h.

37  {
38  return m_cableWord0;
39  }

◆ dump()

const std::string LVL1::MbtsCTP::dump ( ) const

dump raw object content to string

Definition at line 20 of file MbtsCTP.cxx.

21  {
22  std::ostringstream s;
23 
24  s << " 0x" << std::hex << std::setw(8) << std::setfill( '0' ) << m_cableWord0
25  << std::dec << std::setfill(' ') << std::endl;
26 
27  return s.str();
28  }

◆ print()

const std::string LVL1::MbtsCTP::print ( ) const

print object content in a human readable form to string

Definition at line 30 of file MbtsCTP.cxx.

31  {
32  std::ostringstream s;
33 
34  s << std::setfill( '0' )
35  << " bits:" << std::setw(6) << BitOp::printBits(m_cableWord0, 0, 20)
36  << std::setfill(' ') << std::endl;
37 
38  return s.str();
39  }

Member Data Documentation

◆ m_cableWord0

const uint32_t LVL1::MbtsCTP::m_cableWord0
private

A data member to contain two 3bit trigger multiplicities.

Definition at line 48 of file MbtsCTP.h.


The documentation for this class was generated from the following files:
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
BitOp::printBits
static const std::string printBits(const int value, const int startbit, const int endbit)
print selected bit range into string
Definition: BitOp.cxx:100
LVL1::MbtsCTP::m_cableWord0
const uint32_t m_cableWord0
A data member to contain two 3bit trigger multiplicities.
Definition: MbtsCTP.h:48