#include <CondFormats/L1TObjects/interface/L1GtPrescaleFactors.h>
Public Member Functions | |
const std::vector< std::vector < int > > & | gtPrescaleFactors () const |
get the prescale factors by reference | |
L1GtPrescaleFactors (const std::vector< std::vector< int > > &) | |
L1GtPrescaleFactors () | |
void | print (std::ostream &) const |
print the prescale factors | |
void | setGtPrescaleFactors (const std::vector< std::vector< int > > &) |
set the prescale factors | |
virtual | ~L1GtPrescaleFactors () |
Private Attributes | |
std::vector< std::vector< int > > | m_prescaleFactors |
prescale factors |
Implementation: <TODO: enter implementation details>
$Date$ $Revision$
Definition at line 30 of file L1GtPrescaleFactors.h.
L1GtPrescaleFactors::L1GtPrescaleFactors | ( | ) |
L1GtPrescaleFactors::L1GtPrescaleFactors | ( | const std::vector< std::vector< int > > & | factorValue | ) |
Definition at line 33 of file L1GtPrescaleFactors.cc.
References m_prescaleFactors.
00034 { 00035 m_prescaleFactors = factorValue; 00036 }
L1GtPrescaleFactors::~L1GtPrescaleFactors | ( | ) | [virtual] |
const std::vector<std::vector<int> >& L1GtPrescaleFactors::gtPrescaleFactors | ( | ) | const [inline] |
get the prescale factors by reference
Definition at line 47 of file L1GtPrescaleFactors.h.
References m_prescaleFactors.
Referenced by L1GtTrigReport::analyze(), and L1GlobalTrigger::produce().
00048 { 00049 return m_prescaleFactors; 00050 }
void L1GtPrescaleFactors::print | ( | std::ostream & | myOstream | ) | const |
print the prescale factors
Definition at line 53 of file L1GtPrescaleFactors.cc.
References lat::endl(), i, m_prescaleFactors, and size.
00053 { 00054 myOstream << "\nL1 GT Trigger prescale factors" << std::endl; 00055 00056 for (unsigned iSet = 0; iSet < m_prescaleFactors.size(); iSet++) { 00057 00058 myOstream << "\n\n Set index " << iSet << "\n " << std::endl; 00059 for (unsigned i = 0; i < (m_prescaleFactors[iSet]).size(); i++) { 00060 00061 myOstream 00062 << " Bit number \t" << i 00063 << ":\t prescale factor: " << (m_prescaleFactors[iSet])[i] 00064 << std::endl; 00065 } 00066 } 00067 00068 }
void L1GtPrescaleFactors::setGtPrescaleFactors | ( | const std::vector< std::vector< int > > & | factorValue | ) |
set the prescale factors
Definition at line 45 of file L1GtPrescaleFactors.cc.
References m_prescaleFactors.
00046 { 00047 00048 m_prescaleFactors = factorValue; 00049 00050 }
std::vector<std::vector<int> > L1GtPrescaleFactors::m_prescaleFactors [private] |
prescale factors
Definition at line 61 of file L1GtPrescaleFactors.h.
Referenced by gtPrescaleFactors(), L1GtPrescaleFactors(), print(), and setGtPrescaleFactors().