test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
28 // forward declarations
29 
32 
33 // class interface
34 
36 {
37 
38 public:
40  GlobalExtBlk(); // empty constructor, all members set to zero;
41 
43  virtual ~GlobalExtBlk();
44 
45 
46 public:
47  const static unsigned int maxExternalConditions = 256;
48 
50  void setExternalDecision(unsigned int bit, bool val);
51 
53  bool getExternalDecision(unsigned int bit) const;
54 
56  void reset();
57 
59  void print(std::ostream& myCout) const;
60 
61 
62 private:
63 
64 
65  std::vector<bool> m_extDecision;
66 
67 
68 };
69 
70 #endif /*L1Trigger_GlobalExtBlk_h*/
BXVector< GlobalExtBlk > GlobalExtBlkBxCollection
Definition: GlobalExtBlk.h:30
void print(std::ostream &myCout) const
pretty print the content of a GlobalExtBlk
Definition: GlobalExtBlk.cc:86
void reset()
reset the content of a GlobalExtBlk
Definition: GlobalExtBlk.cc:75
static const unsigned int maxExternalConditions
Definition: GlobalExtBlk.h:47
virtual ~GlobalExtBlk()
destructor
Definition: GlobalExtBlk.cc:44
void setExternalDecision(unsigned int bit, bool val)
Set decision bits.
Definition: GlobalExtBlk.cc:52
bool getExternalDecision(unsigned int bit) const
Get decision bits.
Definition: GlobalExtBlk.cc:67
GlobalExtBlk()
constructors
Definition: GlobalExtBlk.cc:32
std::vector< bool > m_extDecision
Definition: GlobalExtBlk.h:65