CMS 3D CMS Logo

CSCDBGasGainCorrection.h
Go to the documentation of this file.
1 #ifndef CSCDBGasGainCorrection_h
2 #define CSCDBGasGainCorrection_h
3 
5 
6 #include <iosfwd>
7 #include <vector>
8 
10  public:
13 
14  struct Item{
15  float gainCorr;
16 
18 };
19 
20  typedef std::vector<Item> GasGainContainer;
21  GasGainContainer gasGainCorr;
22 
23  const Item & item( int index ) const { return gasGainCorr[index]; }
24  float value( int index ) const { return gasGainCorr[index].gainCorr; }
25 
27 };
28 
29 std::ostream & operator<<(std::ostream & os, const CSCDBGasGainCorrection & cscdb);
30 
31 #endif
float value(int index) const
const Item & item(int index) const
#define COND_SERIALIZABLE
Definition: Serializable.h:38
std::vector< Item > GasGainContainer
std::ostream & operator<<(std::ostream &os, const CSCDBGasGainCorrection &cscdb)