1 #ifndef LMFLASERCONFIGDAT_H
2 #define LMFLASERCONFIGDAT_H
22 m_keys[
"LSR_ATTENUATOR"] = 4;
34 m_keys[
"LSR_ATTENUATOR"] = 4;
74 float p,
float a,
float c,
float d1,
float d2) {
91 return getData(
id,
"WAVELENGTH");
100 return getData(
id,
"LSR_POWER");
103 return getData(
id,
"LSR_ATTENUATOR");
106 return getData(
id,
"LSR_CURRENT");
109 return getData(
id,
"LSR_DELAY_1");
112 return getData(
id,
"LSR_DELAY_2");
116 return getData(
id,
"WAVELENGTH");
119 return getData(
id,
"VFE_GAIN");
125 return getData(
id,
"LSR_POWER");
128 return getData(
id,
"LSR_ATTENUATOR");
131 return getData(
id,
"LSR_CURRENT");
134 return getData(
id,
"LSR_DELAY_1");
137 return getData(
id,
"LSR_DELAY_2");
LMFLaserConfigDat & setLSRCurrent(EcalLogicID &id, float g)
float getPNGain(EcalLogicID &id)
float getWavelength(EcalLogicID &id)
LMFDat & setData(int logic_id, const std::vector< float > &data)
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e g
float getLSRPower(int id)
LMFLaserConfigDat & setData(EcalLogicID &id, std::vector< float > v)
LMFLaserConfigDat & setWavelength(EcalLogicID &id, int w)
float getLSRPower(EcalLogicID &id)
float getLSRDelay2(int id)
LMFLaserConfigDat & setLSRAttenuator(EcalLogicID &id, float g)
float getLSRAttenuator(EcalLogicID &id)
LMFLaserConfigDat(EcalDBConnection *c)
LMFLaserConfigDat & setVFEGain(EcalLogicID &id, float g)
float getLSRDelay1(int id)
LMFLaserConfigDat & setLSRDelay2(EcalLogicID &id, float g)
LMFLaserConfigDat & setData(EcalLogicID &id, float w, float g, float pnga, float p, float a, float c, float d1, float d2)
std::map< int, std::vector< float > > getData()
float getLSRCurrent(EcalLogicID &id)
LMFLaserConfigDat & setPNGain(EcalLogicID &id, float g)
LMFLaserConfigDat & setLSRPower(EcalLogicID &id, float g)
float getVFEGain(EcalLogicID &id)
float getLSRDelay1(EcalLogicID &id)
float getLSRCurrent(int id)
float getLSRAttenuator(int id)
std::map< std::string, unsigned int > m_keys
LMFLaserConfigDat & setLSRDelay1(EcalLogicID &id, float g)
float getWavelength(int id)
float getLSRDelay2(EcalLogicID &id)