Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:04:31

0001 #ifndef L1Trigger_GlobalExtBlk_h
0002 #define L1Trigger_GlobalExtBlk_h
0003 
0004 /**
0005 * \class GlobalExtBlk
0006 *
0007 *
0008 * Description: L1 micro Global Trigger - Block holding Algorithm Information
0009 *
0010 * Implementation:
0011 * <TODO: enter implementation details>
0012 *
0013 * \author: Brian Winer - Ohio State
0014 *
0015 *
0016 */
0017 
0018 // system include files
0019 #include <vector>
0020 #include <iostream>
0021 #include <iomanip>
0022 
0023 // user include files
0024 #include "FWCore/Utilities/interface/typedefs.h"
0025 #include "DataFormats/L1Trigger/interface/BXVector.h"
0026 
0027 // forward declarations
0028 
0029 class GlobalExtBlk;
0030 typedef BXVector<GlobalExtBlk> GlobalExtBlkBxCollection;
0031 
0032 // class interface
0033 
0034 class GlobalExtBlk {
0035 public:
0036   /// constructors
0037   GlobalExtBlk();  // empty constructor, all members set to zero;
0038 
0039   /// destructor
0040   virtual ~GlobalExtBlk();
0041 
0042 public:
0043   const static unsigned int maxExternalConditions = 256;
0044 
0045   /// Set decision bits
0046   void setExternalDecision(unsigned int bit, bool val);
0047 
0048   /// Get decision bits
0049   bool getExternalDecision(unsigned int bit) const;
0050 
0051   /// reset the content of a GlobalExtBlk
0052   void reset();
0053 
0054   /// pretty print the content of a GlobalExtBlk
0055   void print(std::ostream& myCout) const;
0056 
0057 private:
0058   std::vector<bool> m_extDecision;
0059 };
0060 
0061 #endif /*L1Trigger_GlobalExtBlk_h*/