CMS 3D CMS Logo

Classes | Public Types | Public Member Functions | Public Attributes

CSCDBNoiseMatrix Class Reference

#include <CSCDBNoiseMatrix.h>

List of all members.

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.

{FNOISE=1000};

Constructor & Destructor Documentation

CSCDBNoiseMatrix::CSCDBNoiseMatrix ( )

Definition at line 5 of file CSCDBNoiseMatrix.cc.

{}
CSCDBNoiseMatrix::~CSCDBNoiseMatrix ( )

Definition at line 6 of file CSCDBNoiseMatrix.cc.

{}

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().

{
  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!
}

Member Data Documentation