Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:50:55

0001 #ifndef CSCNoiseMatrix_h
0002 #define CSCNoiseMatrix_h
0003 
0004 #include "CondFormats/Serialization/interface/Serializable.h"
0005 
0006 #include "DataFormats/MuonDetId/interface/CSCDetId.h"
0007 #include <vector>
0008 #include <map>
0009 
0010 class CSCNoiseMatrix {
0011 public:
0012   CSCNoiseMatrix();
0013   ~CSCNoiseMatrix();
0014 
0015   struct Item {
0016     float elem33, elem34, elem35, elem44, elem45, elem46, elem55, elem56, elem57, elem66, elem67, elem77;
0017     std::string print() const;
0018 
0019     COND_SERIALIZABLE;
0020   };
0021 
0022   const Item& item(const CSCDetId& cscId, int strip) const;
0023   std::string print() const;
0024 
0025   typedef std::map<int, std::vector<Item> > NoiseMatrixMap;
0026   NoiseMatrixMap matrix;
0027 
0028   COND_SERIALIZABLE;
0029 };
0030 
0031 #endif