CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/CondFormats/CSCObjects/interface/CSCDBPedestals.h

Go to the documentation of this file.
00001 #ifndef CSCDBPedestals_h
00002 #define CSCDBPedestals_h
00003 
00004 #include "DataFormats/MuonDetId/interface/CSCDetId.h"
00005 #include <vector>
00006 
00007 class CSCDBPedestals{
00008  public:
00009   CSCDBPedestals();
00010   ~CSCDBPedestals();
00011   
00012   struct Item{
00013     short int ped;
00014     short int rms;
00015   };
00016   int factor_ped;
00017   int factor_rms;
00018 
00019   enum factors{FPED=10, FRMS=1000};
00020 
00021   // accessor to appropriate element
00022   const Item & item(const CSCDetId & cscId, int strip) const;
00023 
00024   typedef std::vector<Item> PedestalContainer;
00025 
00026   PedestalContainer pedestals;
00027 };
00028 
00029 #endif