CMS 3D CMS Logo

L1GtParameters Class Reference

Description: L1 GT parameters. More...

#include <CondFormats/L1TObjects/interface/L1GtParameters.h>

List of all members.

Public Member Functions

const unsigned int gtBstLengthBytes () const
 get / set length of BST message (in bytes) for L1 GT EVM record
const boost::uint16_t gtDaqActiveBoards () const
 get / set the active boards for L1 GT DAQ record
const boost::uint16_t gtEvmActiveBoards () const
 get / set the active boards for L1 GT EVM record
const int gtTotalBxInEvent () const
 get / set the total Bx's in the event
 L1GtParameters ()
void print (std::ostream &) const
 print all the L1 GT parameters
void setGtBstLengthBytes (const unsigned int &)
void setGtDaqActiveBoards (const boost::uint16_t &)
void setGtEvmActiveBoards (const boost::uint16_t &)
void setGtTotalBxInEvent (const int &)
virtual ~L1GtParameters ()

Private Attributes

unsigned int m_bstLengthBytes
 length of BST message (in bytes)
boost::uint16_t m_daqActiveBoards
 active boards in the L1 DAQ record
boost::uint16_t m_evmActiveBoards
 active boards in the L1 EVM record
int m_totalBxInEvent
 total Bx's in the event


Detailed Description

Description: L1 GT parameters.

Implementation: <TODO: enter implementation details>

Author:
: Vasile Mihai Ghete - HEPHY Vienna
$Date$ $Revision$

Definition at line 31 of file L1GtParameters.h.


Constructor & Destructor Documentation

L1GtParameters::L1GtParameters (  ) 

Definition at line 30 of file L1GtParameters.cc.

00031 {
00032     // empty
00033 }

L1GtParameters::~L1GtParameters (  )  [virtual]

Definition at line 36 of file L1GtParameters.cc.

00037 {
00038     // empty
00039 }


Member Function Documentation

const unsigned int L1GtParameters::gtBstLengthBytes (  )  const [inline]

get / set length of BST message (in bytes) for L1 GT EVM record

Definition at line 72 of file L1GtParameters.h.

References m_bstLengthBytes.

Referenced by L1GlobalTrigger::produce(), and L1GlobalTriggerEvmRawToDigi::produce().

00073     {
00074         return m_bstLengthBytes;
00075     }

const boost::uint16_t L1GtParameters::gtDaqActiveBoards (  )  const [inline]

get / set the active boards for L1 GT DAQ record

Definition at line 54 of file L1GtParameters.h.

References m_daqActiveBoards.

Referenced by L1GlobalTrigger::produce().

00055     {
00056         return m_daqActiveBoards;
00057     }

const boost::uint16_t L1GtParameters::gtEvmActiveBoards (  )  const [inline]

get / set the active boards for L1 GT EVM record

Definition at line 63 of file L1GtParameters.h.

References m_evmActiveBoards.

Referenced by L1GlobalTrigger::produce().

00064     {
00065         return m_evmActiveBoards;
00066     }

const int L1GtParameters::gtTotalBxInEvent (  )  const [inline]

get / set the total Bx's in the event

Definition at line 45 of file L1GtParameters.h.

References m_totalBxInEvent.

Referenced by L1GlobalTrigger::produce().

00046     {
00047         return m_totalBxInEvent;
00048     }

void L1GtParameters::print ( std::ostream &  myCout  )  const

print all the L1 GT parameters

Definition at line 72 of file L1GtParameters.cc.

References lat::endl(), m_bstLengthBytes, m_daqActiveBoards, m_evmActiveBoards, and m_totalBxInEvent.

00073 {
00074     myCout
00075     << "\nL1 GT Parameters" << std::endl;
00076 
00077     myCout
00078     << "\n  Total Bx's in the event             = " << m_totalBxInEvent << std::endl;
00079 
00080     myCout
00081     << "\n  Active boards in L1 GT DAQ record (hex format) = "
00082     << std::hex << std::setw(sizeof(m_daqActiveBoards)*2) << std::setfill('0')
00083     << m_daqActiveBoards
00084     << std::dec << std::setfill(' ')
00085     << std::endl;
00086 
00087     myCout
00088     << "\n  Active boards in L1 GT EVM record (hex format) = "
00089     << std::hex << std::setw(sizeof(m_evmActiveBoards)*2) << std::setfill('0')
00090     << m_evmActiveBoards
00091     << std::dec << std::setfill(' ')
00092     << std::endl;
00093 
00094     myCout
00095     << "\n  Length of the BST message = "
00096     << m_bstLengthBytes
00097     << std::endl;
00098 
00099     myCout
00100     << "\n" << std::endl;
00101 
00102 }

void L1GtParameters::setGtBstLengthBytes ( const unsigned int bstLengthBytesValue  ) 

Definition at line 65 of file L1GtParameters.cc.

References m_bstLengthBytes.

00065                                                                                 {
00066     
00067     m_bstLengthBytes = bstLengthBytesValue;
00068         
00069 }

void L1GtParameters::setGtDaqActiveBoards ( const boost::uint16_t &  activeBoardsValue  ) 

Definition at line 50 of file L1GtParameters.cc.

References m_daqActiveBoards.

00051 {
00052 
00053     m_daqActiveBoards = activeBoardsValue;
00054 
00055 }

void L1GtParameters::setGtEvmActiveBoards ( const boost::uint16_t &  activeBoardsValue  ) 

Definition at line 58 of file L1GtParameters.cc.

References m_evmActiveBoards.

00059 {
00060 
00061     m_evmActiveBoards = activeBoardsValue;
00062 
00063 }

void L1GtParameters::setGtTotalBxInEvent ( const int totalBxInEventValue  ) 

Definition at line 42 of file L1GtParameters.cc.

References m_totalBxInEvent.

00043 {
00044 
00045     m_totalBxInEvent = totalBxInEventValue;
00046 
00047 }


Member Data Documentation

unsigned int L1GtParameters::m_bstLengthBytes [private]

length of BST message (in bytes)

Definition at line 94 of file L1GtParameters.h.

Referenced by gtBstLengthBytes(), print(), and setGtBstLengthBytes().

boost::uint16_t L1GtParameters::m_daqActiveBoards [private]

active boards in the L1 DAQ record

Definition at line 88 of file L1GtParameters.h.

Referenced by gtDaqActiveBoards(), print(), and setGtDaqActiveBoards().

boost::uint16_t L1GtParameters::m_evmActiveBoards [private]

active boards in the L1 EVM record

Definition at line 91 of file L1GtParameters.h.

Referenced by gtEvmActiveBoards(), print(), and setGtEvmActiveBoards().

int L1GtParameters::m_totalBxInEvent [private]

total Bx's in the event

Definition at line 85 of file L1GtParameters.h.

Referenced by gtTotalBxInEvent(), print(), and setGtTotalBxInEvent().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:26:44 2009 for CMSSW by  doxygen 1.5.4