L1GtPsbSetup

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
#ifndef CondFormats_L1TObjects_L1GtPsbSetup_h
#define CondFormats_L1TObjects_L1GtPsbSetup_h

/**
 * \class L1GtPsbSetup
 *
 *
 * Description: setup for L1 GT PSB boards.
 *
 * Implementation:
 *    <TODO: enter implementation details>
 *
 * \author: Vasile Mihai Ghete - HEPHY Vienna
 *
 * $Date$
 * $Revision$
 *
 */

// system include files
#include "CondFormats/Serialization/interface/Serializable.h"

#include <vector>
#include <iosfwd>

// user include files
#include "CondFormats/L1TObjects/interface/L1GtPsbConfig.h"

// forward declarations

// class declaration
class L1GtPsbSetup {
public:
  // constructor
  L1GtPsbSetup();

  // destructor
  virtual ~L1GtPsbSetup();

public:
  /// get / set / print the setup for L1 GT PSB boards
  const std::vector<L1GtPsbConfig>& gtPsbSetup() const { return m_gtPsbSetup; }

  void setGtPsbSetup(const std::vector<L1GtPsbConfig>&);

  void print(std::ostream&) const;

  /// output stream operator
  friend std::ostream& operator<<(std::ostream&, const L1GtPsbSetup&);

private:
  /// L1 GT PSB boards and their setup
  std::vector<L1GtPsbConfig> m_gtPsbSetup;

  COND_SERIALIZABLE;
};

#endif /*CondFormats_L1TObjects_L1GtPsbSetup_h*/