CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CSCDBPedestals.cc
Go to the documentation of this file.
3 
6 
7 const CSCDBPedestals::Item & CSCDBPedestals::item(const CSCDetId & cscId, int strip) const
8  {
9  CSCIndexer indexer;
10  // return pedestals.at( indexer.stripChannelIndex(cscId, strip)-1 ); // if we worry about range
11  return pedestals[ indexer.stripChannelIndex(cscId, strip)-1 ]; // no worries about range!
12  }
13 
void strip(std::string &input, const std::string &blanks=" \n\t")
Definition: stringTools.cc:16
const Item & item(const CSCDetId &cscId, int strip) const
PedestalContainer pedestals
LongIndexType stripChannelIndex(IndexType ie, IndexType is, IndexType ir, IndexType ic, IndexType il, IndexType istrip) const
Definition: CSCIndexer.h:176