CMS 3D CMS Logo

GlobalExtBlk.h
Go to the documentation of this file.
1 #ifndef L1Trigger_GlobalExtBlk_h
2 #define L1Trigger_GlobalExtBlk_h
3 
18 // system include files
19 #include <vector>
20 #include <iostream>
21 #include <iomanip>
22 
23 // user include files
26 
27 // forward declarations
28 
31 
32 // class interface
33 
34 class GlobalExtBlk {
35 public:
37  GlobalExtBlk(); // empty constructor, all members set to zero;
38 
40  virtual ~GlobalExtBlk();
41 
42 public:
43  const static unsigned int maxExternalConditions = 256;
44 
46  void setExternalDecision(unsigned int bit, bool val);
47 
49  bool getExternalDecision(unsigned int bit) const;
50 
52  void reset();
53 
55  void print(std::ostream& myCout) const;
56 
57 private:
58  std::vector<bool> m_extDecision;
59 };
60 
61 #endif /*L1Trigger_GlobalExtBlk_h*/
BXVector< GlobalExtBlk > GlobalExtBlkBxCollection
Definition: GlobalExtBlk.h:29
void print(std::ostream &myCout) const
pretty print the content of a GlobalExtBlk
Definition: GlobalExtBlk.cc:65
void reset()
reset the content of a GlobalExtBlk
Definition: GlobalExtBlk.cc:58
static const unsigned int maxExternalConditions
Definition: GlobalExtBlk.h:43
virtual ~GlobalExtBlk()
destructor
Definition: GlobalExtBlk.cc:35
bool getExternalDecision(unsigned int bit) const
Get decision bits.
Definition: GlobalExtBlk.cc:51
void setExternalDecision(unsigned int bit, bool val)
Set decision bits.
Definition: GlobalExtBlk.cc:40
GlobalExtBlk()
constructors
Definition: GlobalExtBlk.cc:28
std::vector< bool > m_extDecision
Definition: GlobalExtBlk.h:58