#include <L1GtTriggerMask.h>
Public Member Functions | |
const std::vector< unsigned int > & | gtTriggerMask () const |
get the trigger mask | |
L1GtTriggerMask () | |
L1GtTriggerMask (std::vector< unsigned int > &) | |
void | print (std::ostream &) const |
print the mask | |
void | setGtTriggerMask (std::vector< unsigned int > &) |
set the trigger mask | |
virtual | ~L1GtTriggerMask () |
Private Attributes | |
std::vector< unsigned int > | m_triggerMask |
trigger mask |
Description: L1 GT mask.
Implementation: <TODO: enter implementation details>
$Date$ $Revision$
Definition at line 31 of file L1GtTriggerMask.h.
L1GtTriggerMask::L1GtTriggerMask | ( | ) |
Definition at line 28 of file L1GtTriggerMask.cc.
{
//empty - all value set by default to zero
}
L1GtTriggerMask::L1GtTriggerMask | ( | std::vector< unsigned int > & | maskValue | ) |
Definition at line 33 of file L1GtTriggerMask.cc.
References m_triggerMask.
{ m_triggerMask = maskValue; }
L1GtTriggerMask::~L1GtTriggerMask | ( | ) | [virtual] |
Definition at line 39 of file L1GtTriggerMask.cc.
{
// empty
}
const std::vector<unsigned int>& L1GtTriggerMask::gtTriggerMask | ( | ) | const [inline] |
get the trigger mask
Definition at line 49 of file L1GtTriggerMask.h.
References m_triggerMask.
Referenced by L1GtTrigReport::analyze(), L1GtHwValidation::beginRun(), L1GtDataEmulAnalyzer::compareFDL(), HLTLevel1GTSeed::hltFilter(), triggerExpression::L1TechReader::init(), triggerExpression::L1Reader::init(), L1GlobalTrigger::produce(), L1GlobalTriggerRecordProducer::produce(), L1GtTriggerMenuLiteProducer::retrieveL1EventSetup(), L1GtTriggerMenuTester::retrieveL1EventSetup(), and L1GtUtils::retrieveL1EventSetup().
{ return m_triggerMask; }
void L1GtTriggerMask::print | ( | std::ostream & | outputStream | ) | const |
print the mask
Definition at line 53 of file L1GtTriggerMask.cc.
References i, and m_triggerMask.
Referenced by L1GtRunSettingsViewer::analyze(), and L1GtPrescaleFactorsAndMasksTester::printL1EventSetup().
{ outputStream << "\nL1 GT Trigger masks are printed for all L1 partitions. " << "\n Partition numbering: partition \"i\" -> bit i" << " (bit 0 is LSB)\n" << "\n If mask value is 1 for a given algorithm/technical trigger in a given partition " << "\n then the algorithm/technical trigger is masked (has value 0 = false) in the evaluation " << "\n of FinalOR.\n" << "\n For veto masks, if the mask is set to 1 and the result of the trigger for that bit is true, " << "\n then the FinalOR is set to false (no L1A).\n" << std::endl; for (unsigned i = 0; i < m_triggerMask.size(); i++) { outputStream << " Algorithm/technical trigger bit number " << std::setw(3) << i << ":\t mask: 0x" << std::hex << std::setw(2) << m_triggerMask[i] << std::dec << std::endl; } }
void L1GtTriggerMask::setGtTriggerMask | ( | std::vector< unsigned int > & | maskValue | ) |
set the trigger mask
Definition at line 45 of file L1GtTriggerMask.cc.
References m_triggerMask.
{ m_triggerMask = maskValue; }
std::vector<unsigned int> L1GtTriggerMask::m_triggerMask [private] |
trigger mask
Definition at line 63 of file L1GtTriggerMask.h.
Referenced by gtTriggerMask(), L1GtTriggerMask(), print(), and setGtTriggerMask().