CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/CondFormats/L1TObjects/interface/L1GtPrescaleFactors.h

Go to the documentation of this file.
00001 #ifndef CondFormats_L1TObjects_L1GtPrescaleFactors_h
00002 #define CondFormats_L1TObjects_L1GtPrescaleFactors_h
00003 
00020 // system include files
00021 #include <vector>
00022 #include <ostream>
00023 
00024 // user include files
00025 //   base class
00026 
00027 // forward declarations
00028 
00029 // class declaration
00030 class L1GtPrescaleFactors
00031 {
00032 
00033 public:
00034 
00035     // constructor
00036     L1GtPrescaleFactors();
00037 
00038     //  from a vector of prescale-factor set
00039     L1GtPrescaleFactors(const std::vector<std::vector<int> >&);
00040 
00041     // destructor
00042     virtual ~L1GtPrescaleFactors();
00043 
00044 public:
00045 
00047     inline const std::vector<std::vector<int> >& gtPrescaleFactors() const
00048     {
00049         return m_prescaleFactors;
00050     }
00051 
00053     void setGtPrescaleFactors(const std::vector<std::vector<int> >&);
00054 
00056     void print(std::ostream&) const;
00057 
00058 private:
00059 
00061     std::vector<std::vector<int> > m_prescaleFactors;
00062 
00063 };
00064 
00065 #endif /*CondFormats_L1TObjects_L1GtPrescaleFactors_h*/