CMS 3D CMS Logo

CSCDBGains Class Reference

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

List of all members.

Public Types

enum  factors { FGAIN = 1000 }
typedef std::vector< ItemGainContainer

Public Member Functions

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

Public Attributes

int factor_gain
GainContainer gains

Classes

struct  Item


Detailed Description

Definition at line 8 of file CSCDBGains.h.


Member Typedef Documentation

typedef std::vector<Item> CSCDBGains::GainContainer

Definition at line 25 of file CSCDBGains.h.


Member Enumeration Documentation

enum CSCDBGains::factors

Enumerator:
FGAIN 

Definition at line 20 of file CSCDBGains.h.

00020 {FGAIN=1000};


Constructor & Destructor Documentation

CSCDBGains::CSCDBGains (  ) 

Definition at line 4 of file CSCDBGains.cc.

00004 {}

CSCDBGains::~CSCDBGains (  ) 

Definition at line 5 of file CSCDBGains.cc.

00005 {}


Member Function Documentation

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

Definition at line 7 of file CSCDBGains.cc.

References gains, and CSCIndexer::stripChannelIndex().

Referenced by CSCConditions::gain().

00008 {
00009   CSCIndexer indexer;
00010   //  return gains.at( indexer.stripChannelIndex(cscId, strip)-1 ); // if we worry about range
00011   return gains[ indexer.stripChannelIndex(cscId, strip)-1 ]; // no worries about range!
00012 }


Member Data Documentation

int CSCDBGains::factor_gain

Definition at line 18 of file CSCDBGains.h.

Referenced by CSCConditions::averageGain(), CSCConditions::gain(), CSCFakeDBGains::prefillDBGains(), and CSCGainsDBConditions::prefillDBGains().

GainContainer CSCDBGains::gains

Definition at line 27 of file CSCDBGains.h.

Referenced by CSCConditions::averageGain(), CSCValidation::doCalibrations(), item(), operator<<(), CSCFakeDBGains::prefillDBGains(), and CSCGainsDBConditions::prefillDBGains().


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