Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:02:20

0001 #ifndef CondFormats_L1TObjects_L1GtPsbSetup_h
0002 #define CondFormats_L1TObjects_L1GtPsbSetup_h
0003 
0004 /**
0005  * \class L1GtPsbSetup
0006  *
0007  *
0008  * Description: setup for L1 GT PSB boards.
0009  *
0010  * Implementation:
0011  *    <TODO: enter implementation details>
0012  *
0013  * \author: Vasile Mihai Ghete - HEPHY Vienna
0014  *
0015  * $Date$
0016  * $Revision$
0017  *
0018  */
0019 
0020 // system include files
0021 #include "CondFormats/Serialization/interface/Serializable.h"
0022 
0023 #include <vector>
0024 #include <iosfwd>
0025 
0026 // user include files
0027 #include "CondFormats/L1TObjects/interface/L1GtPsbConfig.h"
0028 
0029 // forward declarations
0030 
0031 // class declaration
0032 class L1GtPsbSetup {
0033 public:
0034   // constructor
0035   L1GtPsbSetup();
0036 
0037   // destructor
0038   virtual ~L1GtPsbSetup();
0039 
0040 public:
0041   /// get / set / print the setup for L1 GT PSB boards
0042   const std::vector<L1GtPsbConfig>& gtPsbSetup() const { return m_gtPsbSetup; }
0043 
0044   void setGtPsbSetup(const std::vector<L1GtPsbConfig>&);
0045 
0046   void print(std::ostream&) const;
0047 
0048   /// output stream operator
0049   friend std::ostream& operator<<(std::ostream&, const L1GtPsbSetup&);
0050 
0051 private:
0052   /// L1 GT PSB boards and their setup
0053   std::vector<L1GtPsbConfig> m_gtPsbSetup;
0054 
0055   COND_SERIALIZABLE;
0056 };
0057 
0058 #endif /*CondFormats_L1TObjects_L1GtPsbSetup_h*/