CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_9/src/CondFormats/CSCObjects/interface/CSCDBGains.h

Go to the documentation of this file.
00001 #ifndef CSCDBGains_h
00002 #define CSCDBGains_h
00003 
00004 #include "DataFormats/MuonDetId/interface/CSCDetId.h"
00005 #include <iosfwd>
00006 #include <vector>
00007 
00008 class CSCDBGains{
00009  public:
00010 
00011 
00012   CSCDBGains();
00013   ~CSCDBGains();
00014   
00015   struct Item{
00016     short int gain_slope;
00017   };
00018   int factor_gain;
00019 
00020   enum factors{FGAIN=1000};
00021 
00022   // accessor to appropriate element
00023   const Item & item(const CSCDetId & cscId, int strip) const;
00024   
00025   typedef std::vector<Item> GainContainer;
00026 
00027   GainContainer gains;
00028 };
00029 
00030 std::ostream & operator<<(std::ostream & os, const CSCDBGains & cscDbGains);
00031 
00032 #endif
00033