Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef CondFormats_L1TObjects_L1GtPrescaleFactors_h
0002 #define CondFormats_L1TObjects_L1GtPrescaleFactors_h
0003 
0004 /**
0005  * \class L1GtPrescaleFactors
0006  * 
0007  * 
0008  * Description: L1 GT prescale factors.  
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 <ostream>
0025 
0026 // user include files
0027 //   base class
0028 
0029 // forward declarations
0030 
0031 // class declaration
0032 class L1GtPrescaleFactors {
0033 public:
0034   // constructor
0035   L1GtPrescaleFactors();
0036 
0037   //  from a vector of prescale-factor set
0038   L1GtPrescaleFactors(const std::vector<std::vector<int> >&);
0039 
0040   // destructor
0041   virtual ~L1GtPrescaleFactors();
0042 
0043 public:
0044   /// get the prescale factors by reference
0045   inline const std::vector<std::vector<int> >& gtPrescaleFactors() const { return m_prescaleFactors; }
0046 
0047   /// set the prescale factors
0048   void setGtPrescaleFactors(const std::vector<std::vector<int> >&);
0049 
0050   /// print the prescale factors
0051   void print(std::ostream&) const;
0052 
0053 private:
0054   /// prescale factors
0055   std::vector<std::vector<int> > m_prescaleFactors;
0056 
0057   COND_SERIALIZABLE;
0058 };
0059 
0060 #endif /*CondFormats_L1TObjects_L1GtPrescaleFactors_h*/