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

#include <CSCDBCrosstalk.h>

Classes

struct  Item
 

Public Types

typedef std::vector< ItemCrosstalkContainer
 
enum  factors { FSLOPE =10000000, FINTERCEPT =100000 }
 

Public Member Functions

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

Public Attributes

CrosstalkContainer crosstalk
 
int factor_intercept
 
int factor_slope
 

Detailed Description

Definition at line 7 of file CSCDBCrosstalk.h.

Member Typedef Documentation

Definition at line 27 of file CSCDBCrosstalk.h.

Member Enumeration Documentation

Enumerator
FSLOPE 
FINTERCEPT 

Definition at line 22 of file CSCDBCrosstalk.h.

Constructor & Destructor Documentation

CSCDBCrosstalk::CSCDBCrosstalk ( )
inline

Definition at line 10 of file CSCDBCrosstalk.h.

10 {}
CSCDBCrosstalk::~CSCDBCrosstalk ( )
inline

Definition at line 11 of file CSCDBCrosstalk.h.

11 {}

Member Function Documentation

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

Definition at line 4 of file CSCDBCrosstalk.cc.

References crosstalk, 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().

5 {
6  CSCIndexer indexer;
7  // return crosstalk.at( indexer.stripChannelIndex(cscId, strip)-1 ); // if we worry about range
8  return crosstalk[ indexer.stripChannelIndex(cscId, strip)-1 ]; // no worries about range!
9 }
void strip(std::string &input, const std::string &blanks=" \n\t")
Definition: stringTools.cc:16
CrosstalkContainer crosstalk
LongIndexType stripChannelIndex(IndexType ie, IndexType is, IndexType ir, IndexType ic, IndexType il, IndexType istrip) const
Definition: CSCIndexer.h:176

Member Data Documentation

CrosstalkContainer CSCDBCrosstalk::crosstalk
int CSCDBCrosstalk::factor_intercept
int CSCDBCrosstalk::factor_slope