43 std::vector<edm::ParameterSet> psbSetup = parSet.
getParameter<std::vector<edm::ParameterSet> >(
"PsbSetup");
48 std::vector<unsigned int> enableRecLvdsInt;
50 std::vector<bool> enableRecLvds;
53 std::vector<unsigned int> enableRecSerLinkInt;
55 std::vector<bool> enableRecSerLink;
58 for (std::vector<edm::ParameterSet>::const_iterator itPSet = psbSetup.begin(); itPSet != psbSetup.end(); ++itPSet) {
65 enableRecLvdsInt = itPSet->getParameter<std::vector<unsigned int> >(
"EnableRecLvds");
67 for (std::vector<unsigned int>::const_iterator cIt = enableRecLvdsInt.begin(); cIt != enableRecLvdsInt.end();
70 enableRecLvds.push_back(val);
74 enableRecLvds.clear();
76 enableRecSerLinkInt = itPSet->getParameter<std::vector<unsigned int> >(
"EnableRecSerLink");
78 for (std::vector<unsigned int>::const_iterator cIt = enableRecSerLinkInt.begin(); cIt != enableRecSerLinkInt.end();
81 enableRecSerLink.push_back(val);
85 enableRecSerLink.clear();
101 auto pL1GtPsbSetup = std::make_unique<L1GtPsbSetup>();
105 return pL1GtPsbSetup;
T getParameter(std::string const &) const
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
~L1GtPsbSetupTrivialProducer() override
destructor
void setGtPsbEnableRecLvds(const std::vector< bool > &)
void setGtPsbCh0SendLvds(const bool &)
static const int PsbSerLinkNumberChannels
number of channels per board
std::unique_ptr< L1GtPsbSetup > producePsbSetup(const L1GtPsbSetupRcd &)
public methods
static const int PsbNumberLvdsGroups
number of LVDS groups per board
void setGtPsbEnableRecSerLink(const std::vector< bool > &)
L1GtPsbSetupTrivialProducer(const edm::ParameterSet &)
constructor
std::vector< L1GtPsbConfig > m_gtPsbSetup
L1 GT PSB boards and their setup.
void setGtPsbCh1SendLvds(const bool &)