1 #ifndef _CSCFAKEDBGAINS_H
2 #define _CSCFAKEDBGAINS_H
27 typedef std::unique_ptr<CSCDBGains>
Pointer;
48 const int FACTOR = 1000;
51 cndbgains->
gains.resize(MAX_SIZE);
59 cndbgains->
gains[
i].gain_slope =
60 (
short int)(((
double)rand() / ((
double)(RAND_MAX) + (
double)(1))) + mean * FACTOR + 0.5);
~CSCFakeDBGains() override
Pointer produceDBGains(const CSCDBGainsRcd &)
static CSCDBGains * prefillDBGains()
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
CSCFakeDBGains(const edm::ParameterSet &)
constexpr unsigned int MAX_SIZE
std::unique_ptr< CSCDBGains > Pointer