#include <LMFTestPulseConfigDat.h>
Public Member Functions | |
float | getDACMGPA (EcalLogicID &id) |
float | getPNGain (EcalLogicID &id) |
float | getPNVinj (EcalLogicID &id) |
float | getVFEGain (EcalLogicID &id) |
LMFTestPulseConfigDat (EcalDBConnection *c) | |
LMFTestPulseConfigDat () | |
LMFTestPulseConfigDat & | setDACMGPA (EcalLogicID &id, float g) |
LMFTestPulseConfigDat & | setData (EcalLogicID &id, std::vector< float > v) |
LMFTestPulseConfigDat & | setData (EcalLogicID &id, float g, float d, float pnga, float pnv) |
LMFTestPulseConfigDat & | setPNGain (EcalLogicID &id, float g) |
LMFTestPulseConfigDat & | setPNVinj (EcalLogicID &id, float g) |
LMFTestPulseConfigDat & | setVFEGain (EcalLogicID &id, float g) |
~LMFTestPulseConfigDat () |
LMF_TEST_PULSE_CONFIG_DAT interface
Definition at line 13 of file LMFTestPulseConfigDat.h.
LMFTestPulseConfigDat::LMFTestPulseConfigDat | ( | ) | [inline] |
Definition at line 15 of file LMFTestPulseConfigDat.h.
References LMFUnique::m_className, LMFDat::m_keys, and LMFDat::m_tableName.
: LMFDat() { m_tableName = "LMF_TEST_PULSE_CONFIG_DAT"; m_className = "LMFTestPulseConfigDat"; m_keys["VFE_GAIN"] = 0; m_keys["DAC_MGPA"] = 1; m_keys["PN_GAIN"] = 2; m_keys["PN_VINJ"] = 3; }
LMFTestPulseConfigDat::LMFTestPulseConfigDat | ( | EcalDBConnection * | c | ) | [inline] |
Definition at line 23 of file LMFTestPulseConfigDat.h.
References LMFUnique::m_className, LMFDat::m_keys, and LMFDat::m_tableName.
: LMFDat(c) { m_tableName = "LMF_TEST_PULSE_CONFIG_DAT"; m_className = "LMFTestPulseConfigDat"; m_keys["VFE_GAIN"] = 0; m_keys["DAC_MGPA"] = 1; m_keys["PN_GAIN"] = 2; m_keys["PN_VINJ"] = 3; }
LMFTestPulseConfigDat::~LMFTestPulseConfigDat | ( | ) | [inline] |
Definition at line 31 of file LMFTestPulseConfigDat.h.
{}
float LMFTestPulseConfigDat::getDACMGPA | ( | EcalLogicID & | id | ) | [inline] |
Definition at line 68 of file LMFTestPulseConfigDat.h.
References LMFDat::getData().
{ return getData(id, "DAC_MGPA"); }
float LMFTestPulseConfigDat::getPNGain | ( | EcalLogicID & | id | ) | [inline] |
Definition at line 65 of file LMFTestPulseConfigDat.h.
References LMFDat::getData().
{ return getData(id, "PN_GAIN"); }
float LMFTestPulseConfigDat::getPNVinj | ( | EcalLogicID & | id | ) | [inline] |
Definition at line 71 of file LMFTestPulseConfigDat.h.
References LMFDat::getData().
{ return getData(id, "PN_VINJ"); }
float LMFTestPulseConfigDat::getVFEGain | ( | EcalLogicID & | id | ) | [inline] |
Definition at line 62 of file LMFTestPulseConfigDat.h.
References LMFDat::getData().
{ return getData(id, "VFE_GAIN"); }
LMFTestPulseConfigDat& LMFTestPulseConfigDat::setDACMGPA | ( | EcalLogicID & | id, |
float | g | ||
) | [inline] |
Definition at line 41 of file LMFTestPulseConfigDat.h.
References setData().
{ LMFDat::setData(id, "DAC_MGPA", g); return *this; }
LMFTestPulseConfigDat& LMFTestPulseConfigDat::setData | ( | EcalLogicID & | id, |
float | g, | ||
float | d, | ||
float | pnga, | ||
float | pnv | ||
) | [inline] |
Definition at line 49 of file LMFTestPulseConfigDat.h.
Referenced by setDACMGPA(), setData(), setPNGain(), setPNVinj(), and setVFEGain().
{ LMFDat::setData(id, "VFE_GAIN", g); LMFDat::setData(id, "DAC_MGPA", d); LMFDat::setData(id, "PN_GAIN", pnga); LMFDat::setData(id, "PN_VINJ", pnv); return *this; }
LMFTestPulseConfigDat& LMFTestPulseConfigDat::setData | ( | EcalLogicID & | id, |
std::vector< float > | v | ||
) | [inline] |
Definition at line 57 of file LMFTestPulseConfigDat.h.
References setData().
{ LMFDat::setData(id, v); return *this; }
LMFTestPulseConfigDat& LMFTestPulseConfigDat::setPNGain | ( | EcalLogicID & | id, |
float | g | ||
) | [inline] |
Definition at line 37 of file LMFTestPulseConfigDat.h.
References setData().
{ LMFDat::setData(id, "PN_GAIN", g); return *this; }
LMFTestPulseConfigDat& LMFTestPulseConfigDat::setPNVinj | ( | EcalLogicID & | id, |
float | g | ||
) | [inline] |
Definition at line 45 of file LMFTestPulseConfigDat.h.
References setData().
{ LMFDat::setData(id, "PN_VINJ", g); return *this; }
LMFTestPulseConfigDat& LMFTestPulseConfigDat::setVFEGain | ( | EcalLogicID & | id, |
float | g | ||
) | [inline] |
Definition at line 33 of file LMFTestPulseConfigDat.h.
References setData().
{ LMFDat::setData(id, "VFE_GAIN", g); return *this; }