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
CSCDBChipSpeedCorrection Class Reference

#include <CSCDBChipSpeedCorrection.h>

Classes

struct  Item
 

Public Types

typedef std::vector< ItemChipSpeedContainer
 
enum  factors { FCORR =100 }
 

Public Member Functions

 CSCDBChipSpeedCorrection ()
 
const Itemitem (const CSCDetId &cscId, int chip) const
 
 ~CSCDBChipSpeedCorrection ()
 

Public Attributes

ChipSpeedContainer chipSpeedCorr
 
int factor_speedCorr
 

Detailed Description

Definition at line 7 of file CSCDBChipSpeedCorrection.h.

Member Typedef Documentation

Definition at line 23 of file CSCDBChipSpeedCorrection.h.

Member Enumeration Documentation

Enumerator
FCORR 

Definition at line 18 of file CSCDBChipSpeedCorrection.h.

Constructor & Destructor Documentation

CSCDBChipSpeedCorrection::CSCDBChipSpeedCorrection ( )

Definition at line 4 of file CSCDBChipSpeedCorrection.cc.

4 {}
CSCDBChipSpeedCorrection::~CSCDBChipSpeedCorrection ( )

Definition at line 5 of file CSCDBChipSpeedCorrection.cc.

5 {}

Member Function Documentation

const CSCDBChipSpeedCorrection::Item & CSCDBChipSpeedCorrection::item ( const CSCDetId cscId,
int  chip 
) const

Definition at line 7 of file CSCDBChipSpeedCorrection.cc.

References CSCIndexer::chipIndex(), and chipSpeedCorr.

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

8  {
9  CSCIndexer indexer;
10  return chipSpeedCorr[ indexer.chipIndex(cscId, chip)-1 ]; // no worries about range!
11  }
IndexType chipIndex(IndexType ie, IndexType is, IndexType ir, IndexType ic, IndexType il, IndexType ichip) const
Definition: CSCIndexer.h:237

Member Data Documentation

ChipSpeedContainer CSCDBChipSpeedCorrection::chipSpeedCorr
int CSCDBChipSpeedCorrection::factor_speedCorr