CMS 3D CMS Logo

CSCDBPedestals.cc

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

Generated on Tue Jun 9 17:26:25 2009 for CMSSW by  doxygen 1.5.4