CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCDBGains.h
Go to the documentation of this file.
1 #ifndef CSCDBGains_h
2 #define CSCDBGains_h
3 
5 #include <iosfwd>
6 #include <vector>
7 
8 class CSCDBGains{
9  public:
10 
11 
12  CSCDBGains();
13  ~CSCDBGains();
14 
15  struct Item{
16  short int gain_slope;
17  };
19 
20  enum factors{FGAIN=1000};
21 
22  // accessor to appropriate element
23  const Item & item(const CSCDetId & cscId, int strip) const;
24 
25  typedef std::vector<Item> GainContainer;
26 
28 };
29 
30 std::ostream & operator<<(std::ostream & os, const CSCDBGains & cscDbGains);
31 
32 #endif
33 
void strip(std::string &input, const std::string &blanks=" \n\t")
Definition: stringTools.cc:16
short int gain_slope
Definition: CSCDBGains.h:16
GainContainer gains
Definition: CSCDBGains.h:27
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:187
int factor_gain
Definition: CSCDBGains.h:18
const Item & item(const CSCDetId &cscId, int strip) const
Definition: CSCDBGains.cc:7
std::vector< Item > GainContainer
Definition: CSCDBGains.h:25