Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:51:06

0001 #ifndef ESPedestals_h
0002 #define ESPedestals_h
0003 
0004 #include "CondFormats/Serialization/interface/Serializable.h"
0005 
0006 #include "CondFormats/ESObjects/interface/ESCondObjectContainer.h"
0007 
0008 struct ESPedestal {
0009   struct Zero {
0010     float z1;
0011     float z2;
0012   };
0013 
0014   static const Zero zero;
0015 
0016   float mean;
0017   float rms;
0018 
0019 public:
0020   float getMean() const { return mean; }
0021 
0022   float getRms() const { return rms; }
0023 
0024   COND_SERIALIZABLE;
0025 };
0026 
0027 typedef ESCondObjectContainer<ESPedestal> ESPedestalsMap;
0028 typedef ESPedestalsMap::const_iterator ESPedestalsMapIterator;
0029 typedef ESPedestalsMap ESPedestals;
0030 
0031 #endif