CMS 3D CMS Logo

L1GtTriggerMask.cc

Go to the documentation of this file.
00001 
00017 // this class header
00018 #include "CondFormats/L1TObjects/interface/L1GtTriggerMask.h"
00019 
00020 // system include files
00021 
00022 // user include files
00023 //   base class
00024 
00025 // constructors
00026 L1GtTriggerMask::L1GtTriggerMask()
00027 {
00028     //empty - all value set by default to zero
00029 }
00030 
00031 L1GtTriggerMask::L1GtTriggerMask(std::vector<unsigned int>& maskValue)
00032 {
00033     m_triggerMask = maskValue;
00034 }
00035 
00036 // destructor
00037 L1GtTriggerMask::~L1GtTriggerMask()
00038 {
00039     // empty
00040 }
00041 
00042 // set the trigger mask
00043 void L1GtTriggerMask::setGtTriggerMask(std::vector<unsigned int>& maskValue)
00044 {
00045 
00046     m_triggerMask = maskValue;
00047 
00048 }
00049 
00050 // print the mask
00051 void L1GtTriggerMask::print(std::ostream& s) const
00052 {
00053     s << "\nL1 GT Trigger mask" << std::endl;
00054 
00055     for (unsigned i = 0; i < m_triggerMask.size(); i++) {
00056         s << "  Bit number " << i << ":\t mask: " << m_triggerMask[i] << std::endl;
00057     }
00058 
00059 }

Generated on Tue Jun 9 17:26:38 2009 for CMSSW by  doxygen 1.5.4