CMS 3D CMS Logo

Classes | Public Types | Public Member Functions | Public Attributes

CSCDBGasGainCorrection Class Reference

#include <CSCDBGasGainCorrection.h>

List of all members.

Classes

struct  Item

Public Types

typedef std::vector< ItemGasGainContainer

Public Member Functions

 CSCDBGasGainCorrection ()
const Itemitem (const CSCDetId &cscId, int strip, int wire) const
 ~CSCDBGasGainCorrection ()

Public Attributes

GasGainContainer gasGainCorr

Detailed Description

Definition at line 7 of file CSCDBGasGainCorrection.h.


Member Typedef Documentation

Definition at line 19 of file CSCDBGasGainCorrection.h.


Constructor & Destructor Documentation

CSCDBGasGainCorrection::CSCDBGasGainCorrection ( )

Definition at line 4 of file CSCDBGasGainCorrection.cc.

{}
CSCDBGasGainCorrection::~CSCDBGasGainCorrection ( )

Definition at line 5 of file CSCDBGasGainCorrection.cc.

{}

Member Function Documentation

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

Definition at line 7 of file CSCDBGasGainCorrection.cc.

References gasGainCorr, and CSCIndexer::gasGainIndex().

 {
  CSCIndexer indexer;
  //note the transformation here from database index (starting from 1) to c++ indexing (starting from 0)
  return gasGainCorr[ indexer.gasGainIndex(cscId, strip, wire)-1 ]; // no worries about range!
 }

Member Data Documentation