CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/CondFormats/CSCObjects/interface/CSCDBNoiseMatrix.h

Go to the documentation of this file.
00001 #ifndef CSCDBNoiseMatrix_h
00002 #define CSCDBNoiseMatrix_h
00003 
00004 #include <iosfwd>
00005 #include <vector>
00006 
00007 class CSCDBNoiseMatrix{
00008  public:
00009   CSCDBNoiseMatrix() {}
00010   ~CSCDBNoiseMatrix() {}
00011 
00012   struct Item {
00013     short int elem33,elem34,elem35,elem44,elem45,elem46,
00014               elem55,elem56,elem57,elem66,elem67,elem77;
00015   };
00016   int factor_noise;
00017 
00018   enum factors{FNOISE=1000};
00019 
00020   typedef std::vector<Item> NoiseMatrixContainer;
00021   NoiseMatrixContainer matrix;
00022 
00023   const Item & item( int index ) const { return matrix[index]; }
00024   int scale() const { return factor_noise; }
00025 };
00026 
00027 std::ostream & operator<<(std::ostream & os, const CSCDBNoiseMatrix & cscdb);
00028 
00029 #endif