#include <L1GtPrescaleFactors.h>
Public Member Functions | |
const std::vector< std::vector < int > > & | gtPrescaleFactors () const |
get the prescale factors by reference | |
L1GtPrescaleFactors () | |
L1GtPrescaleFactors (const std::vector< std::vector< int > > &) | |
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 |
Description: L1 GT prescale factors.
Implementation: <TODO: enter implementation details>
$Date$ $Revision$
Definition at line 30 of file L1GtPrescaleFactors.h.
L1GtPrescaleFactors::L1GtPrescaleFactors | ( | ) |
Definition at line 28 of file L1GtPrescaleFactors.cc.
{
// empty
}
L1GtPrescaleFactors::L1GtPrescaleFactors | ( | const std::vector< std::vector< int > > & | factorValue | ) |
Definition at line 33 of file L1GtPrescaleFactors.cc.
References m_prescaleFactors.
{ m_prescaleFactors = factorValue; }
L1GtPrescaleFactors::~L1GtPrescaleFactors | ( | ) | [virtual] |
Definition at line 39 of file L1GtPrescaleFactors.cc.
{
// empty
}
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(), L1TRate::beginRun(), L1GtHwValidation::beginRun(), L1TMenuHelper::L1TMenuHelper(), L1GlobalTrigger::produce(), L1GtTriggerMenuLiteProducer::retrieveL1EventSetup(), L1GtTriggerMenuTester::retrieveL1EventSetup(), and L1GtUtils::retrieveL1EventSetup().
{ return m_prescaleFactors; }
void L1GtPrescaleFactors::print | ( | std::ostream & | myOstream | ) | const |
print the prescale factors
Definition at line 53 of file L1GtPrescaleFactors.cc.
References i, m_prescaleFactors, and findQualityFiles::size.
Referenced by L1GtRunSettingsViewer::analyze(), and L1GtPrescaleFactorsAndMasksTester::printL1EventSetup().
{ myOstream << "\nL1 GT Trigger prescale factors" << std::endl; for (unsigned iSet = 0; iSet < m_prescaleFactors.size(); iSet++) { myOstream << "\n\n Set index " << iSet << "\n " << std::endl; for (unsigned i = 0; i < (m_prescaleFactors[iSet]).size(); i++) { myOstream << " Bit number \t" << i << ":\t prescale factor: " << (m_prescaleFactors[iSet])[i] << std::endl; } } }
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.
{ m_prescaleFactors = factorValue; }
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().