CMS 3D CMS Logo

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