CondFormats
L1TObjects
src
L1GtPsbSetup.cc
Go to the documentation of this file.
1
17
// this class header
18
#include "
CondFormats/L1TObjects/interface/L1GtPsbSetup.h
"
19
20
// system include files
21
#include <iostream>
22
#include <iomanip>
23
24
// user include files
25
26
// forward declarations
27
28
// constructor
29
L1GtPsbSetup::L1GtPsbSetup
() {
30
// empty
31
}
32
33
// destructor
34
L1GtPsbSetup::~L1GtPsbSetup
() {
35
// empty
36
}
37
38
// set / print the setup for L1 GT PSB boards
39
void
L1GtPsbSetup::setGtPsbSetup
(
const
std::vector<L1GtPsbConfig>& gtPsbSetupValue) {
m_gtPsbSetup
= gtPsbSetupValue; }
40
41
void
L1GtPsbSetup::print
(std::ostream& myCout)
const
{
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
}
54
55
// output stream operator
56
std::ostream&
operator<<
(std::ostream& os,
const
L1GtPsbSetup
&
result
) {
57
result
.print(os);
58
return
os;
59
}
L1GtPsbSetup::setGtPsbSetup
void setGtPsbSetup(const std::vector< L1GtPsbConfig > &)
Definition:
L1GtPsbSetup.cc:39
L1GtPsbSetup.h
L1GtPsbSetup::print
void print(std::ostream &) const
Definition:
L1GtPsbSetup.cc:41
L1GtPsbSetup::~L1GtPsbSetup
virtual ~L1GtPsbSetup()
Definition:
L1GtPsbSetup.cc:34
L1GtPsbSetup::L1GtPsbSetup
L1GtPsbSetup()
Definition:
L1GtPsbSetup.cc:29
operator<<
std::ostream & operator<<(std::ostream &os, const L1GtPsbSetup &result)
Definition:
L1GtPsbSetup.cc:56
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
L1GtPsbSetup
Definition:
L1GtPsbSetup.h:32
Generated for CMSSW Reference Manual by
1.8.16