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 //#include "DataFormats/L1GlobalTrigger/interface/L1GlobalTriggerReadoutSetup.h"
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 
49  void setExternalDecision(unsigned int bit, bool val);
50 
52  bool getExternalDecision(unsigned int bit) const;
53 
55  void reset();
56 
58  void print(std::ostream& myCout) const;
59 
60 
61 private:
62 
63 
64  std::vector<bool> m_extDecision;
65 
66 
67 };
68 
69 #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
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:64