Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CondFormats
CSCObjects
src
CSCDBCrosstalk.cc
Go to the documentation of this file.
1
#include "
CondFormats/CSCObjects/interface/CSCDBCrosstalk.h
"
2
#include "
DataFormats/MuonDetId/interface/CSCIndexer.h
"
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
CSCIndexer.h
strip
void strip(std::string &input, const std::string &blanks=" \n\t")
Definition:
stringTools.cc:16
CSCDBCrosstalk.h
CSCDetId
Definition:
CSCDetId.h:27
CSCDBCrosstalk::Item
Definition:
CSCDBCrosstalk.h:13
CSCDBCrosstalk::item
const Item & item(const CSCDetId &cscId, int strip) const
Definition:
CSCDBCrosstalk.cc:4
CSCIndexer
Definition:
CSCIndexer.h:43
CSCDBCrosstalk::crosstalk
CrosstalkContainer crosstalk
Definition:
CSCDBCrosstalk.h:29
CSCIndexer::stripChannelIndex
LongIndexType stripChannelIndex(IndexType ie, IndexType is, IndexType ir, IndexType ic, IndexType il, IndexType istrip) const
Definition:
CSCIndexer.h:175
Generated for CMSSW Reference Manual by
1.8.5