File indexing completed on 2024-04-06 12:04:31
0001 #ifndef L1Trigger_GlobalExtBlk_h
0002 #define L1Trigger_GlobalExtBlk_h
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019 #include <vector>
0020 #include <iostream>
0021 #include <iomanip>
0022
0023
0024 #include "FWCore/Utilities/interface/typedefs.h"
0025 #include "DataFormats/L1Trigger/interface/BXVector.h"
0026
0027
0028
0029 class GlobalExtBlk;
0030 typedef BXVector<GlobalExtBlk> GlobalExtBlkBxCollection;
0031
0032
0033
0034 class GlobalExtBlk {
0035 public:
0036
0037 GlobalExtBlk();
0038
0039
0040 virtual ~GlobalExtBlk();
0041
0042 public:
0043 const static unsigned int maxExternalConditions = 256;
0044
0045
0046 void setExternalDecision(unsigned int bit, bool val);
0047
0048
0049 bool getExternalDecision(unsigned int bit) const;
0050
0051
0052 void reset();
0053
0054
0055 void print(std::ostream& myCout) const;
0056
0057 private:
0058 std::vector<bool> m_extDecision;
0059 };
0060
0061 #endif