CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/CondFormats/CSCObjects/interface/CSCGains.h

Go to the documentation of this file.
00001 #ifndef CSCGains_h
00002 #define CSCGains_h
00003 
00004 #include "DataFormats/MuonDetId/interface/CSCDetId.h"
00005 #include <vector>
00006 #include <map>
00007 
00008 class CSCGains{
00009  public:
00010   CSCGains();
00011   ~CSCGains();
00012   
00013   struct Item{
00014     float gain_slope;
00015     float gain_intercept;
00016     float gain_chi2;
00017   };
00018 
00019   const Item & item(const CSCDetId & cscId, int strip) const;
00020 
00021   typedef std::map< int,std::vector<Item> > GainsMap;
00022   GainsMap gains;
00023 };
00024 
00025 #endif
00026