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

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

#include <TrtCTP.h>

Inheritance diagram for LVL1::TrtCTP:
Collaboration diagram for LVL1::TrtCTP:

Public Member Functions

 TrtCTP (uint32_t word0=0)
 
uint32_t cableWord0 (void) const
 Returns an unsigned integer trigger word containing 1 bit of information. 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 1 bit of information. More...
 

Detailed Description

TRT input class to the CTP simulation.

   A StoreGate class to contain the output status of the
   level 1 TRTfast trigger simulation for input into the CTP simulation.
Author
Bilge M. Demirkoz demir.nosp@m.koz@.nosp@m.cern..nosp@m.ch
Revision
187728
Date
2009-05-27 18:18:06 +0200 (Wed, 27 May 2009)

Definition at line 28 of file TrtCTP.h.

Constructor & Destructor Documentation

◆ TrtCTP()

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

Definition at line 16 of file TrtCTP.cxx.

17  : m_cableWord0(word0) {}

Member Function Documentation

◆ cableWord0()

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

Returns an unsigned integer trigger word containing 1 bit of information.

Definition at line 36 of file TrtCTP.h.

36  {
37  return m_cableWord0;
38  }

◆ dump()

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

dump raw object content to string

Definition at line 19 of file TrtCTP.cxx.

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

◆ print()

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

print object content in a human readable form to string

Definition at line 29 of file TrtCTP.cxx.

30  {
31  std::ostringstream s;
32 
33  s << std::setfill( '0' )
34  << "TRT bit pattern: " << BitOp::printBits(m_cableWord0, 0, 31)
35  << std::setfill(' ') << std::endl;
36 
37  return s.str();
38  }

Member Data Documentation

◆ m_cableWord0

const uint32_t LVL1::TrtCTP::m_cableWord0
private

A data member to contain 1 bit of information.

Definition at line 47 of file TrtCTP.h.


The documentation for this class was generated from the following files:
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
LVL1::TrtCTP::m_cableWord0
const uint32_t m_cableWord0
A data member to contain 1 bit of information.
Definition: TrtCTP.h:47
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