CMS 3D CMS Logo

L1GtTriggerMask.h
Go to the documentation of this file.
1 #ifndef CondFormats_L1TObjects_L1GtTriggerMask_h
2 #define CondFormats_L1TObjects_L1GtTriggerMask_h
3 
20 // system include files
22 
23 #include <vector>
24 #include <ostream>
25 
26 // user include files
27 // base class
28 
29 // forward declarations
30 
31 // class declaration
32 
34 public:
35  // constructors
36  //
38 
39  // from a vector
40  L1GtTriggerMask(std::vector<unsigned int>&);
41 
42  // destructor
43  virtual ~L1GtTriggerMask();
44 
45 public:
47  inline const std::vector<unsigned int>& gtTriggerMask() const { return m_triggerMask; }
48 
50  void setGtTriggerMask(std::vector<unsigned int>&);
51 
53  void print(std::ostream&) const;
54 
55 private:
57  std::vector<unsigned int> m_triggerMask;
58 
60 };
61 
62 #endif /*CondFormats_L1TObjects_L1GtTriggerMask_h*/
COND_SERIALIZABLE
#define COND_SERIALIZABLE
Definition: Serializable.h:39
L1GtTriggerMask
Definition: L1GtTriggerMask.h:33
L1GtTriggerMask::gtTriggerMask
const std::vector< unsigned int > & gtTriggerMask() const
get the trigger mask
Definition: L1GtTriggerMask.h:47
Serializable.h
L1GtTriggerMask::~L1GtTriggerMask
virtual ~L1GtTriggerMask()
Definition: L1GtTriggerMask.cc:35
L1GtTriggerMask::L1GtTriggerMask
L1GtTriggerMask()
Definition: L1GtTriggerMask.cc:28
L1GtTriggerMask::print
void print(std::ostream &) const
print the mask
Definition: L1GtTriggerMask.cc:43
L1GtTriggerMask::setGtTriggerMask
void setGtTriggerMask(std::vector< unsigned int > &)
set the trigger mask
Definition: L1GtTriggerMask.cc:40
L1GtTriggerMask::m_triggerMask
std::vector< unsigned int > m_triggerMask
trigger mask
Definition: L1GtTriggerMask.h:57