CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_13_patch3/src/CondFormats/ESObjects/interface/ESPedestals.h

Go to the documentation of this file.
00001 #ifndef ESPedestals_h
00002 #define ESPedestals_h
00003 
00004 
00005 #include "CondFormats/ESObjects/interface/ESCondObjectContainer.h"
00006 
00007 struct ESPedestal {
00008         struct Zero { float z1; float z2;};
00009 
00010         static Zero zero;
00011 
00012         float mean;
00013         float rms;
00014 
00015         public:
00016 
00017         float getMean() const {
00018                 return mean;
00019         }
00020 
00021         float getRms() const {
00022                 return rms;
00023         }
00024 };
00025 
00026 typedef ESCondObjectContainer<ESPedestal> ESPedestalsMap;
00027 typedef ESPedestalsMap::const_iterator ESPedestalsMapIterator;
00028 typedef ESPedestalsMap ESPedestals;
00029 
00030 #endif