00001 #ifndef CSCObjects_CSCDBCrosstalk_h 00002 #define CSCObjects_CSCDBCrosstalk_h 00003 00004 #include "DataFormats/MuonDetId/interface/CSCDetId.h" 00005 #include <vector> 00006 00007 class CSCDBCrosstalk 00008 { 00009 public: 00010 CSCDBCrosstalk() {} 00011 ~CSCDBCrosstalk() {} 00012 00013 struct Item{ 00014 short int xtalk_slope_right; 00015 short int xtalk_intercept_right; 00016 short int xtalk_slope_left; 00017 short int xtalk_intercept_left; 00018 }; 00019 int factor_slope; 00020 int factor_intercept; 00021 00022 enum factors{FSLOPE=10000000, FINTERCEPT=100000}; 00023 00024 // accessor to appropriate element 00025 const Item & item(const CSCDetId & cscId, int strip) const; 00026 00027 typedef std::vector<Item> CrosstalkContainer; 00028 00029 CrosstalkContainer crosstalk; 00030 }; 00031 00032 #endif 00033