CMS 3D CMS Logo

Classes | Public Types | Public Member Functions | Public Attributes

CSCDBCrosstalk Class Reference

#include <CSCDBCrosstalk.h>

List of all members.

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.

{FSLOPE=10000000, FINTERCEPT=100000};

Constructor & Destructor Documentation

CSCDBCrosstalk::CSCDBCrosstalk ( ) [inline]

Definition at line 10 of file CSCDBCrosstalk.h.

{}
CSCDBCrosstalk::~CSCDBCrosstalk ( ) [inline]

Definition at line 11 of file CSCDBCrosstalk.h.

{}

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

{
  CSCIndexer indexer;
  //  return crosstalk.at( indexer.stripChannelIndex(cscId, strip)-1 ); // if we worry about range
  return crosstalk[ indexer.stripChannelIndex(cscId, strip)-1 ]; // no worries about range!
}

Member Data Documentation