CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/TBDataFormats/HcalTBObjects/interface/HcalTBRunData.h

Go to the documentation of this file.
00001 #ifndef HCALTBRUNDATA_H
00002 #define HCALTBRUNDATA_H 1
00003 
00004 #include <string>
00005 #include <iostream>
00006 #include "boost/cstdint.hpp"
00007 
00008 
00018   class HcalTBRunData {
00019   public:
00020     HcalTBRunData();
00021 
00022     // Getter methods
00024     const std::string& runType()       const { return runType_;       }
00026     const std::string& beamMode()      const { return beamMode_;      }
00027 
00029     double             beamEnergyGeV() const { return beamEnergyGeV_; }
00030 
00031     // Setter methods
00032     void               setRunData    ( const char *run_type,
00033                                        const char *beam_mode,
00034                                        double      beam_energy_gev );
00035 
00036   private:
00037     std::string runType_;
00038     std::string beamMode_;
00039     double beamEnergyGeV_;
00040   };
00041 
00042   std::ostream& operator<<(std::ostream& s, const HcalTBRunData& htbrd);
00043 
00044 #endif