Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:02:20

0001 #ifndef CondFormats_L1TObjects_L1GtTriggerMask_h
0002 #define CondFormats_L1TObjects_L1GtTriggerMask_h
0003 
0004 /**
0005  * \class L1GtTriggerMask
0006  * 
0007  * 
0008  * Description: L1 GT mask.  
0009  *
0010  * Implementation:
0011  *    <TODO: enter implementation details>
0012  *   
0013  * \author: Vasile Mihai Ghete - HEPHY Vienna
0014  * 
0015  * $Date$
0016  * $Revision$
0017  *
0018  */
0019 
0020 // system include files
0021 #include "CondFormats/Serialization/interface/Serializable.h"
0022 
0023 #include <vector>
0024 #include <ostream>
0025 
0026 // user include files
0027 //   base class
0028 
0029 // forward declarations
0030 
0031 // class declaration
0032 
0033 class L1GtTriggerMask {
0034 public:
0035   // constructors
0036   //
0037   L1GtTriggerMask();
0038 
0039   //  from a vector
0040   L1GtTriggerMask(std::vector<unsigned int>&);
0041 
0042   // destructor
0043   virtual ~L1GtTriggerMask();
0044 
0045 public:
0046   /// get the trigger mask
0047   inline const std::vector<unsigned int>& gtTriggerMask() const { return m_triggerMask; }
0048 
0049   /// set the trigger mask
0050   void setGtTriggerMask(std::vector<unsigned int>&);
0051 
0052   /// print the mask
0053   void print(std::ostream&) const;
0054 
0055 private:
0056   /// trigger mask
0057   std::vector<unsigned int> m_triggerMask;
0058 
0059   COND_SERIALIZABLE;
0060 };
0061 
0062 #endif /*CondFormats_L1TObjects_L1GtTriggerMask_h*/