CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
L1GtPsbSetup Class Reference

#include <L1GtPsbSetup.h>

Public Member Functions

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

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

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

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 
std::ostream & operator<< (std::ostream &, const L1GtPsbSetup &)
 output stream operator More...
 

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 32 of file L1GtPsbSetup.h.

Constructor & Destructor Documentation

◆ L1GtPsbSetup()

L1GtPsbSetup::L1GtPsbSetup ( )

Definition at line 29 of file L1GtPsbSetup.cc.

29  {
30  // empty
31 }

◆ ~L1GtPsbSetup()

L1GtPsbSetup::~L1GtPsbSetup ( )
virtual

Definition at line 34 of file L1GtPsbSetup.cc.

34  {
35  // empty
36 }

Member Function Documentation

◆ gtPsbSetup()

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

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

Definition at line 42 of file L1GtPsbSetup.h.

42 { return m_gtPsbSetup; }

References m_gtPsbSetup.

◆ print()

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

Definition at line 41 of file L1GtPsbSetup.cc.

41  {
42  myCout << "\nSetup for L1 GT PSB boards" << std::endl;
43 
44  myCout << m_gtPsbSetup.size() << " PSB boards configured in L1 GT." << std::endl;
45  myCout << std::endl;
46 
47  for (std::vector<L1GtPsbConfig>::const_iterator cIt = m_gtPsbSetup.begin(); cIt != m_gtPsbSetup.end(); ++cIt) {
48  cIt->print(myCout);
49  myCout << std::endl;
50  }
51 
52  myCout << std::endl;
53 }

References m_gtPsbSetup.

Referenced by L1GtPsbSetupTester::analyze(), and L1TConfigDumper::analyze().

◆ serialize()

template<class Archive >
void L1GtPsbSetup::serialize ( Archive &  ar,
const unsigned int  version 
)
private

◆ setGtPsbSetup()

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

Definition at line 39 of file L1GtPsbSetup.cc.

39 { m_gtPsbSetup = gtPsbSetupValue; }

References m_gtPsbSetup.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 55 of file L1GtPsbSetup.h.

◆ cond::serialization::access

template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 55 of file L1GtPsbSetup.h.

◆ operator<<

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

output stream operator

Definition at line 56 of file L1GtPsbSetup.cc.

56  {
57  result.print(os);
58  return os;
59 }

Member Data Documentation

◆ m_gtPsbSetup

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

L1 GT PSB boards and their setup.

Definition at line 53 of file L1GtPsbSetup.h.

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

L1GtPsbSetup::m_gtPsbSetup
std::vector< L1GtPsbConfig > m_gtPsbSetup
L1 GT PSB boards and their setup.
Definition: L1GtPsbSetup.h:53
mps_fire.result
result
Definition: mps_fire.py:303