00001 #ifndef DataFormats_Common_ConditionsInEdm_h 00002 #define DataFormats_Common_ConditionsInEdm_h 00003 00004 #include <boost/cstdint.hpp> 00005 00006 namespace edm { 00007 00008 class ConditionsInLumiBlock { 00009 public: 00010 boost::uint32_t totalIntensityBeam1; 00011 boost::uint32_t totalIntensityBeam2; 00012 00013 bool isProductEqual(ConditionsInLumiBlock const& newThing) const { 00014 return ((totalIntensityBeam1 == newThing.totalIntensityBeam1) && 00015 (totalIntensityBeam2 == newThing.totalIntensityBeam2)); 00016 } 00017 }; 00018 00019 class ConditionsInRunBlock { 00020 public: 00021 boost::uint16_t beamMode; 00022 boost::uint16_t beamMomentum; 00023 // boost::uint16_t particleTypeBeam1; 00024 // boost::uint16_t particleTypeBeam2; 00025 boost::uint32_t lhcFillNumber; 00026 float BStartCurrent; 00027 float BStopCurrent; 00028 float BAvgCurrent; 00029 bool isProductEqual(ConditionsInRunBlock const& newThing) const { 00030 return (lhcFillNumber == newThing.lhcFillNumber); 00031 } 00032 }; 00033 00034 00035 class ConditionsInEventBlock { 00036 public: 00037 boost::uint16_t bstMasterStatus; 00038 boost::uint32_t turnCountNumber; 00039 }; 00040 } 00041 #endif