CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCGains.h
Go to the documentation of this file.
1 #ifndef CSCGains_h
2 #define CSCGains_h
3 
5 #include <vector>
6 #include <map>
7 
8 class CSCGains{
9  public:
10  CSCGains();
11  ~CSCGains();
12 
13  struct Item{
14  float gain_slope;
16  float gain_chi2;
17  };
18 
19  const Item & item(const CSCDetId & cscId, int strip) const;
20 
21  typedef std::map< int,std::vector<Item> > GainsMap;
23 };
24 
25 #endif
26 
GainsMap gains
Definition: CSCGains.h:22
void strip(std::string &input, const std::string &blanks=" \n\t")
Definition: stringTools.cc:16
float gain_chi2
Definition: CSCGains.h:16
const Item & item(const CSCDetId &cscId, int strip) const
Definition: CSCGains.cc:8
float gain_intercept
Definition: CSCGains.h:15
std::map< int, std::vector< Item > > GainsMap
Definition: CSCGains.h:21
float gain_slope
Definition: CSCGains.h:14
CSCGains()
Definition: CSCGains.cc:5
~CSCGains()
Definition: CSCGains.cc:6