CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_4/src/CondFormats/CSCObjects/src/CSCDBNoiseMatrix.cc

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