#include <CSCDBGains.h>
Classes | |
struct | Item |
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 |
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 | ( | ) |
Definition at line 4 of file CSCDBGains.cc.
{}
CSCDBGains::~CSCDBGains | ( | ) |
Definition at line 5 of file CSCDBGains.cc.
{}
const CSCDBGains::Item & CSCDBGains::item | ( | const CSCDetId & | cscId, |
int | strip | ||
) | const |
Definition at line 7 of file CSCDBGains.cc.
References gains, and CSCIndexer::stripChannelIndex().
{ CSCIndexer indexer; // return gains.at( indexer.stripChannelIndex(cscId, strip)-1 ); // if we worry about range return gains[ indexer.stripChannelIndex(cscId, strip)-1 ]; // no worries about range! }
Definition at line 18 of file CSCDBGains.h.
Referenced by CSCFakeDBGains::prefillDBGains(), and CSCGainsDBConditions::prefillDBGains().
Definition at line 27 of file CSCDBGains.h.
Referenced by CSCValidation::doCalibrations(), item(), operator<<(), CSCFakeDBGains::prefillDBGains(), and CSCGainsDBConditions::prefillDBGains().