CMS 3D CMS Logo

CSCDBCrosstalk Class Reference

#include <CondFormats/CSCObjects/interface/CSCDBCrosstalk.h>

List of all members.

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

Classes

struct  Item


Detailed Description

Definition at line 7 of file CSCDBCrosstalk.h.


Member Typedef Documentation

typedef std::vector<Item> CSCDBCrosstalk::CrosstalkContainer

Definition at line 27 of file CSCDBCrosstalk.h.


Member Enumeration Documentation

enum CSCDBCrosstalk::factors

Enumerator:
FSLOPE 
FINTERCEPT 

Definition at line 22 of file CSCDBCrosstalk.h.

00022 {FSLOPE=10000000, FINTERCEPT=100000};


Constructor & Destructor Documentation

CSCDBCrosstalk::CSCDBCrosstalk (  )  [inline]

Definition at line 10 of file CSCDBCrosstalk.h.

00010 {}

CSCDBCrosstalk::~CSCDBCrosstalk (  )  [inline]

Definition at line 11 of file CSCDBCrosstalk.h.

00011 {}


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 CSCConditions::crossTalk(), CSCConditions::crosstalkIntercept(), and CSCConditions::crosstalkSlope().

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


Member Data Documentation

CrosstalkContainer CSCDBCrosstalk::crosstalk

Definition at line 29 of file CSCDBCrosstalk.h.

Referenced by CSCValidation::doCalibrations(), item(), CSCCrosstalkDBConditions::prefillDBCrosstalk(), and CSCFakeDBCrosstalk::prefillDBCrosstalk().

int CSCDBCrosstalk::factor_intercept

Definition at line 20 of file CSCDBCrosstalk.h.

Referenced by CSCConditions::crossTalk(), CSCConditions::crosstalkIntercept(), CSCCrosstalkDBConditions::prefillDBCrosstalk(), and CSCFakeDBCrosstalk::prefillDBCrosstalk().

int CSCDBCrosstalk::factor_slope

Definition at line 19 of file CSCDBCrosstalk.h.

Referenced by CSCConditions::crossTalk(), CSCConditions::crosstalkSlope(), CSCCrosstalkDBConditions::prefillDBCrosstalk(), and CSCFakeDBCrosstalk::prefillDBCrosstalk().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:17:10 2009 for CMSSW by  doxygen 1.5.4