CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Types | Public Member Functions | Public Attributes
CSCDBNoiseMatrix Class Reference

#include <CSCDBNoiseMatrix.h>

Classes

struct  Item
 

Public Types

enum  factors { FNOISE =1000 }
 
typedef std::vector< ItemNoiseMatrixContainer
 

Public Member Functions

 CSCDBNoiseMatrix ()
 
const Itemitem (const CSCDetId &cscId, int strip) const
 
 ~CSCDBNoiseMatrix ()
 

Public Attributes

int factor_noise
 
NoiseMatrixContainer matrix
 

Detailed Description

Definition at line 7 of file CSCDBNoiseMatrix.h.

Member Typedef Documentation

Definition at line 23 of file CSCDBNoiseMatrix.h.

Member Enumeration Documentation

Enumerator
FNOISE 

Definition at line 18 of file CSCDBNoiseMatrix.h.

Constructor & Destructor Documentation

CSCDBNoiseMatrix::CSCDBNoiseMatrix ( )

Definition at line 5 of file CSCDBNoiseMatrix.cc.

5 {}
CSCDBNoiseMatrix::~CSCDBNoiseMatrix ( )

Definition at line 6 of file CSCDBNoiseMatrix.cc.

6 {}

Member Function Documentation

const CSCDBNoiseMatrix::Item & CSCDBNoiseMatrix::item ( const CSCDetId cscId,
int  strip 
) const

Definition at line 8 of file CSCDBNoiseMatrix.cc.

References matrix, and CSCIndexer::stripChannelIndex().

Referenced by Vispa.Views.TableView.TableView::_selectedRow(), Vispa.Views.TableView.TableView::itemSelectionChanged(), Vispa.Views.TableView.TableView::select(), and Vispa.Views.TableView.TableView::selection().

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 }
void strip(std::string &input, const std::string &blanks=" \n\t")
Definition: stringTools.cc:16
NoiseMatrixContainer matrix
LongIndexType stripChannelIndex(IndexType ie, IndexType is, IndexType ir, IndexType ic, IndexType il, IndexType istrip) const
Definition: CSCIndexer.h:176

Member Data Documentation

int CSCDBNoiseMatrix::factor_noise
NoiseMatrixContainer CSCDBNoiseMatrix::matrix