CMS 3D CMS Logo

Public Member Functions | Private Attributes | Friends

L1GtPsbSetup Class Reference

#include <L1GtPsbSetup.h>

List of all members.

Public Member Functions

const std::vector
< L1GtPsbConfig > & 
gtPsbSetup () const
 get / set / print the setup for L1 GT PSB boards
 L1GtPsbSetup ()
void print (std::ostream &) const
void setGtPsbSetup (const std::vector< L1GtPsbConfig > &)
virtual ~L1GtPsbSetup ()

Private Attributes

std::vector< L1GtPsbConfigm_gtPsbSetup
 L1 GT PSB boards and their setup.

Friends

std::ostream & operator<< (std::ostream &, const L1GtPsbSetup &)
 output stream operator

Detailed Description

Description: setup for L1 GT PSB boards.

Implementation: <TODO: enter implementation details>

Author:
: Vasile Mihai Ghete - HEPHY Vienna

$Date$ $Revision$

Definition at line 30 of file L1GtPsbSetup.h.


Constructor & Destructor Documentation

L1GtPsbSetup::L1GtPsbSetup ( )

Definition at line 29 of file L1GtPsbSetup.cc.

{
    // empty
}
L1GtPsbSetup::~L1GtPsbSetup ( ) [virtual]

Definition at line 35 of file L1GtPsbSetup.cc.

{
    // empty
}

Member Function Documentation

const std::vector<L1GtPsbConfig>& L1GtPsbSetup::gtPsbSetup ( ) const [inline]

get / set / print the setup for L1 GT PSB boards

Definition at line 44 of file L1GtPsbSetup.h.

References m_gtPsbSetup.

    {
        return m_gtPsbSetup;
    }
void L1GtPsbSetup::print ( std::ostream &  myCout) const

Definition at line 50 of file L1GtPsbSetup.cc.

References m_gtPsbSetup.

Referenced by operator<<().

{
    myCout <<  "\nSetup for L1 GT PSB boards" << std::endl;

    myCout << m_gtPsbSetup.size() << " PSB boards configured in L1 GT." << std::endl;
    myCout << std::endl;

    for (std::vector<L1GtPsbConfig>::const_iterator
            cIt = m_gtPsbSetup.begin(); cIt != m_gtPsbSetup.end(); ++cIt) {

        cIt->print(myCout);
        myCout << std::endl;
    }

    myCout << std::endl;

}
void L1GtPsbSetup::setGtPsbSetup ( const std::vector< L1GtPsbConfig > &  gtPsbSetupValue)

Definition at line 43 of file L1GtPsbSetup.cc.

References m_gtPsbSetup.

Referenced by L1GtPsbSetupTrivialProducer::producePsbSetup().

{

    m_gtPsbSetup = gtPsbSetupValue;

}

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const L1GtPsbSetup result 
) [friend]

output stream operator

Definition at line 69 of file L1GtPsbSetup.cc.

{
    result.print(os);
    return os;

}

Member Data Documentation

std::vector<L1GtPsbConfig> L1GtPsbSetup::m_gtPsbSetup [private]

L1 GT PSB boards and their setup.

Definition at line 59 of file L1GtPsbSetup.h.

Referenced by gtPsbSetup(), print(), and setGtPsbSetup().