CMS 3D CMS Logo

CSCGains.h
Go to the documentation of this file.
1 #ifndef CSCGains_h
2 #define CSCGains_h
3 
5 
7 #include <vector>
8 #include <map>
9 
10 class CSCGains {
11 public:
12  CSCGains();
13  ~CSCGains();
14 
15  struct Item {
16  float gain_slope;
18  float gain_chi2;
19 
21  };
22 
23  const Item& item(const CSCDetId& cscId, int strip) const;
24 
25  typedef std::map<int, std::vector<Item> > GainsMap;
26  GainsMap gains;
27 
29 };
30 
31 #endif
GainsMap gains
Definition: CSCGains.h:26
float gain_chi2
Definition: CSCGains.h:18
const Item & item(const CSCDetId &cscId, int strip) const
Definition: CSCGains.cc:8
float gain_intercept
Definition: CSCGains.h:17
std::map< int, std::vector< Item > > GainsMap
Definition: CSCGains.h:25
#define COND_SERIALIZABLE
Definition: Serializable.h:38
float gain_slope
Definition: CSCGains.h:16
CSCGains()
Definition: CSCGains.cc:5
~CSCGains()
Definition: CSCGains.cc:6