#include <CondFormats/CSCObjects/interface/CSCDBGains.h>
Public Types | |
enum | factors { FGAIN = 1000 } |
typedef std::vector< Item > | GainContainer |
Public Member Functions | |
CSCDBGains () | |
const Item & | item (const CSCDetId &cscId, int strip) const |
~CSCDBGains () | |
Public Attributes | |
int | factor_gain |
GainContainer | gains |
Classes | |
struct | Item |
Definition at line 8 of file CSCDBGains.h.
typedef std::vector<Item> CSCDBGains::GainContainer |
Definition at line 25 of file CSCDBGains.h.
enum CSCDBGains::factors |
CSCDBGains::CSCDBGains | ( | ) |
CSCDBGains::~CSCDBGains | ( | ) |
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 }
Definition at line 18 of file CSCDBGains.h.
Referenced by CSCConditions::averageGain(), CSCConditions::gain(), CSCFakeDBGains::prefillDBGains(), and CSCGainsDBConditions::prefillDBGains().
Definition at line 27 of file CSCDBGains.h.
Referenced by CSCConditions::averageGain(), CSCValidation::doCalibrations(), item(), operator<<(), CSCFakeDBGains::prefillDBGains(), and CSCGainsDBConditions::prefillDBGains().