CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_3/src/CondFormats/CSCObjects/src/CSCDBCrosstalk.cc

Go to the documentation of this file.
00001 #include "CondFormats/CSCObjects/interface/CSCDBCrosstalk.h"
00002 #include "DataFormats/MuonDetId/interface/CSCIndexer.h"
00003 
00004 const CSCDBCrosstalk::Item & CSCDBCrosstalk::item(const CSCDetId & cscId, int strip) const
00005 {
00006   CSCIndexer indexer;
00007   //  return crosstalk.at( indexer.stripChannelIndex(cscId, strip)-1 ); // if we worry about range
00008   return crosstalk[ indexer.stripChannelIndex(cscId, strip)-1 ]; // no worries about range!
00009 }
00010