Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef CSCObjects_CSCcrosstalk_h
0002 #define CSCObjects_CSCcrosstalk_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 CSCcrosstalk {
0011 public:
0012   CSCcrosstalk() {}
0013   ~CSCcrosstalk() {}
0014 
0015   struct Item {
0016     float xtalk_slope_right;
0017     float xtalk_intercept_right;
0018     float xtalk_chi2_right;
0019     float xtalk_slope_left;
0020     float xtalk_intercept_left;
0021     float xtalk_chi2_left;
0022 
0023     COND_SERIALIZABLE;
0024   };
0025 
0026   const Item& item(const CSCDetId& cscId, int strip) const;
0027 
0028   typedef std::map<int, std::vector<Item> > CrosstalkMap;
0029   CrosstalkMap crosstalk;
0030 
0031   COND_SERIALIZABLE;
0032 };
0033 
0034 #endif