Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CondFormats
CSCObjects
src
CSCDBNoiseMatrix.cc
Go to the documentation of this file.
1
#include "
CondFormats/CSCObjects/interface/CSCDBNoiseMatrix.h
"
2
#include "
DataFormats/MuonDetId/interface/CSCIndexer.h
"
3
4
#include <iostream>
5
CSCDBNoiseMatrix::CSCDBNoiseMatrix
(){}
6
CSCDBNoiseMatrix::~CSCDBNoiseMatrix
(){}
7
8
const
CSCDBNoiseMatrix::Item
&
CSCDBNoiseMatrix::item
(
const
CSCDetId
& cscId,
int
strip
)
const
9
{
10
CSCIndexer
indexer;
11
// return matrix.at( indexer.stripChannelIndex(cscId, strip)-1 ); // if we worry about range
12
return
matrix
[ indexer.
stripChannelIndex
(cscId, strip)-1 ];
// no worries about range!
13
}
14
15
CSCDBNoiseMatrix::item
const Item & item(const CSCDetId &cscId, int strip) const
Definition:
CSCDBNoiseMatrix.cc:8
CSCIndexer.h
strip
void strip(std::string &input, const std::string &blanks=" \n\t")
Definition:
stringTools.cc:16
CSCDetId
Definition:
CSCDetId.h:27
CSCDBNoiseMatrix::~CSCDBNoiseMatrix
~CSCDBNoiseMatrix()
Definition:
CSCDBNoiseMatrix.cc:6
CSCDBNoiseMatrix::Item
Definition:
CSCDBNoiseMatrix.h:12
CSCDBNoiseMatrix.h
CSCDBNoiseMatrix::CSCDBNoiseMatrix
CSCDBNoiseMatrix()
Definition:
CSCDBNoiseMatrix.cc:5
CSCIndexer
Definition:
CSCIndexer.h:44
CSCDBNoiseMatrix::matrix
NoiseMatrixContainer matrix
Definition:
CSCDBNoiseMatrix.h:25
CSCIndexer::stripChannelIndex
LongIndexType stripChannelIndex(IndexType ie, IndexType is, IndexType ir, IndexType ic, IndexType il, IndexType istrip) const
Definition:
CSCIndexer.h:176
Generated for CMSSW Reference Manual by
1.8.5