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.h
GlobalExtBlk::maxExternalConditions
const static unsigned int maxExternalConditions
Definition: GlobalExtBlk.h:43
GlobalExtBlk::getExternalDecision
bool getExternalDecision(unsigned int bit) const
Get decision bits.
Definition: GlobalExtBlk.cc:51
GlobalExtBlk::m_extDecision
std::vector< bool > m_extDecision
Definition: GlobalExtBlk.h:58
GlobalExtBlkBxCollection
BXVector< GlobalExtBlk > GlobalExtBlkBxCollection
Definition: GlobalExtBlk.h:29
BXVector
Definition: BXVector.h:15
typedefs.h
GlobalExtBlk::reset
void reset()
reset the content of a GlobalExtBlk
Definition: GlobalExtBlk.cc:58
GlobalExtBlk
Definition: GlobalExtBlk.h:34
heppy_batch.val
val
Definition: heppy_batch.py:351
GlobalExtBlk::GlobalExtBlk
GlobalExtBlk()
constructors
Definition: GlobalExtBlk.cc:28
GlobalExtBlk::~GlobalExtBlk
virtual ~GlobalExtBlk()
destructor
Definition: GlobalExtBlk.cc:35
GlobalExtBlk::print
void print(std::ostream &myCout) const
pretty print the content of a GlobalExtBlk
Definition: GlobalExtBlk.cc:65
GlobalExtBlk::setExternalDecision
void setExternalDecision(unsigned int bit, bool val)
Set decision bits.
Definition: GlobalExtBlk.cc:40