Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:50:55

0001 #ifndef CSCPedestals_h
0002 #define CSCPedestals_h
0003 
0004 #include "CondFormats/Serialization/interface/Serializable.h"
0005 
0006 #include "DataFormats/MuonDetId/interface/CSCDetId.h"
0007 #include <vector>
0008 #include <map>
0009 
0010 class CSCPedestals {
0011 public:
0012   CSCPedestals();
0013   ~CSCPedestals();
0014 
0015   struct Item {
0016     float ped;
0017     float rms;
0018 
0019     COND_SERIALIZABLE;
0020   };
0021 
0022   const Item& item(const CSCDetId& cscId, int strip) const;
0023 
0024   typedef std::map<int, std::vector<Item> > PedestalMap;
0025   PedestalMap pedestals;
0026 
0027   COND_SERIALIZABLE;
0028 };
0029 
0030 #endif