#include <CSCDBNoiseMatrix.h>
Classes | |
struct | Item |
Public Types | |
enum | factors { FNOISE = 1000 } |
typedef std::vector< Item > | NoiseMatrixContainer |
Public Member Functions | |
CSCDBNoiseMatrix () | |
const Item & | item (const CSCDetId &cscId, int strip) const |
~CSCDBNoiseMatrix () | |
Public Attributes | |
int | factor_noise |
NoiseMatrixContainer | matrix |
Definition at line 7 of file CSCDBNoiseMatrix.h.
typedef std::vector<Item> CSCDBNoiseMatrix::NoiseMatrixContainer |
Definition at line 23 of file CSCDBNoiseMatrix.h.
CSCDBNoiseMatrix::CSCDBNoiseMatrix | ( | ) |
Definition at line 5 of file CSCDBNoiseMatrix.cc.
{}
CSCDBNoiseMatrix::~CSCDBNoiseMatrix | ( | ) |
Definition at line 6 of file CSCDBNoiseMatrix.cc.
{}
const CSCDBNoiseMatrix::Item & CSCDBNoiseMatrix::item | ( | const CSCDetId & | cscId, |
int | strip | ||
) | const |
Definition at line 8 of file CSCDBNoiseMatrix.cc.
References matrix, and CSCIndexer::stripChannelIndex().
{ CSCIndexer indexer; // return matrix.at( indexer.stripChannelIndex(cscId, strip)-1 ); // if we worry about range return matrix[ indexer.stripChannelIndex(cscId, strip)-1 ]; // no worries about range! }
Definition at line 16 of file CSCDBNoiseMatrix.h.
Referenced by CSCFakeDBNoiseMatrix::prefillDBNoiseMatrix(), and CSCNoiseMatrixDBConditions::prefillDBNoiseMatrix().
Definition at line 25 of file CSCDBNoiseMatrix.h.
Referenced by CSCValidation::doCalibrations(), item(), CSCFakeDBNoiseMatrix::prefillDBNoiseMatrix(), and CSCNoiseMatrixDBConditions::prefillDBNoiseMatrix().