GlobalExtBlk

Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
#ifndef L1Trigger_GlobalExtBlk_h
#define L1Trigger_GlobalExtBlk_h

/**
* \class GlobalExtBlk
*
*
* Description: L1 micro Global Trigger - Block holding Algorithm Information
*
* Implementation:
* <TODO: enter implementation details>
*
* \author: Brian Winer - Ohio State
*
*
*/

// system include files
#include <vector>
#include <iostream>
#include <iomanip>

// user include files
#include "FWCore/Utilities/interface/typedefs.h"
#include "DataFormats/L1Trigger/interface/BXVector.h"

// forward declarations

class GlobalExtBlk;
typedef BXVector<GlobalExtBlk> GlobalExtBlkBxCollection;

// class interface

class GlobalExtBlk {
public:
  /// constructors
  GlobalExtBlk();  // empty constructor, all members set to zero;

  /// destructor
  virtual ~GlobalExtBlk();

public:
  const static unsigned int maxExternalConditions = 256;

  /// Set decision bits
  void setExternalDecision(unsigned int bit, bool val);

  /// Get decision bits
  bool getExternalDecision(unsigned int bit) const;

  /// reset the content of a GlobalExtBlk
  void reset();

  /// pretty print the content of a GlobalExtBlk
  void print(std::ostream& myCout) const;

private:
  std::vector<bool> m_extDecision;
};

#endif /*L1Trigger_GlobalExtBlk_h*/