File indexing completed on 2024-04-06 12:02:22
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018 #include "CondFormats/L1TObjects/interface/L1GtPrescaleFactors.h"
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028 L1GtPrescaleFactors::L1GtPrescaleFactors() {
0029
0030 }
0031
0032 L1GtPrescaleFactors::L1GtPrescaleFactors(const std::vector<std::vector<int> >& factorValue) {
0033 m_prescaleFactors = factorValue;
0034 }
0035
0036
0037 L1GtPrescaleFactors::~L1GtPrescaleFactors() {
0038
0039 }
0040
0041
0042 void L1GtPrescaleFactors::setGtPrescaleFactors(const std::vector<std::vector<int> >& factorValue) {
0043 m_prescaleFactors = factorValue;
0044 }
0045
0046
0047 void L1GtPrescaleFactors::print(std::ostream& myOstream) const {
0048 myOstream << "\nL1 GT Trigger prescale factors" << std::endl;
0049
0050 for (unsigned iSet = 0; iSet < m_prescaleFactors.size(); iSet++) {
0051 myOstream << "\n\n Set index " << iSet << "\n " << std::endl;
0052 for (unsigned i = 0; i < (m_prescaleFactors[iSet]).size(); i++) {
0053 myOstream << " Bit number \t" << i << ":\t prescale factor: " << (m_prescaleFactors[iSet])[i] << std::endl;
0054 }
0055 }
0056 }