Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:57

0001 #include <cstdint>
0002 #ifndef DataFormats_Common_ConditionsInEdm_h
0003 #define DataFormats_Common_ConditionsInEdm_h
0004 
0005 namespace edm {
0006 
0007   class ConditionsInLumiBlock {
0008   public:
0009     uint32_t totalIntensityBeam1;
0010     uint32_t totalIntensityBeam2;
0011 
0012     bool isProductEqual(ConditionsInLumiBlock const& newThing) const {
0013       return ((totalIntensityBeam1 == newThing.totalIntensityBeam1) &&
0014               (totalIntensityBeam2 == newThing.totalIntensityBeam2));
0015     }
0016   };
0017 
0018   class ConditionsInRunBlock {
0019   public:
0020     uint16_t beamMode;
0021     uint16_t beamMomentum;
0022     //    uint16_t particleTypeBeam1;
0023     //    uint16_t particleTypeBeam2;
0024     uint32_t lhcFillNumber;
0025     float BStartCurrent;
0026     float BStopCurrent;
0027     float BAvgCurrent;
0028     bool isProductEqual(ConditionsInRunBlock const& newThing) const {
0029       return (lhcFillNumber == newThing.lhcFillNumber);
0030     }
0031   };
0032 
0033   class ConditionsInEventBlock {
0034   public:
0035     uint16_t bstMasterStatus;
0036     uint32_t turnCountNumber;
0037   };
0038 }  // namespace edm
0039 #endif