CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCDBChipSpeedCorrection.h
Go to the documentation of this file.
1 #ifndef CSCDBChipSpeedCorrection_h
2 #define CSCDBChipSpeedCorrection_h
3 
5 
6 #include <iosfwd>
7 #include <vector>
8 
10  public:
13 
14  struct Item{
15  short int speedCorr;
16 
18 };
20 
21  enum factors{FCORR=100};
22 
23  typedef std::vector<Item> ChipSpeedContainer;
25 
26  const Item & item( int index) const { return chipSpeedCorr[index]; }
27  short int value( int index ) const { return chipSpeedCorr[index].speedCorr; }
28  int scale() const { return factor_speedCorr; }
29 
31 };
32 
33 std::ostream & operator<<(std::ostream & os, const CSCDBChipSpeedCorrection & cscdb);
34 
35 #endif
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:187
#define COND_SERIALIZABLE
Definition: Serializable.h:37
short int value(int index) const
std::vector< Item > ChipSpeedContainer
const Item & item(int index) const