CMS 3D CMS Logo

Public Member Functions

LMFLaserConfigDat Class Reference

#include <LMFLaserConfigDat.h>

Inheritance diagram for LMFLaserConfigDat:
LMFDat LMFUnique IUniqueDBObject IDBObject

List of all members.

Public Member Functions

float getLSRAttenuator (int id)
float getLSRAttenuator (EcalLogicID &id)
float getLSRCurrent (int id)
float getLSRCurrent (EcalLogicID &id)
float getLSRDelay1 (int id)
float getLSRDelay1 (EcalLogicID &id)
float getLSRDelay2 (int id)
float getLSRDelay2 (EcalLogicID &id)
float getLSRPower (int id)
float getLSRPower (EcalLogicID &id)
float getPNGain (int id)
float getPNGain (EcalLogicID &id)
float getVFEGain (int id)
float getVFEGain (EcalLogicID &id)
float getWavelength (EcalLogicID &id)
float getWavelength (int id)
 LMFLaserConfigDat (EcalDBConnection *c)
 LMFLaserConfigDat ()
LMFLaserConfigDatsetData (EcalLogicID &id, std::vector< float > v)
LMFLaserConfigDatsetData (EcalLogicID &id, float w, float g, float pnga, float p, float a, float c, float d1, float d2)
LMFLaserConfigDatsetLSRAttenuator (EcalLogicID &id, float g)
LMFLaserConfigDatsetLSRCurrent (EcalLogicID &id, float g)
LMFLaserConfigDatsetLSRDelay1 (EcalLogicID &id, float g)
LMFLaserConfigDatsetLSRDelay2 (EcalLogicID &id, float g)
LMFLaserConfigDatsetLSRPower (EcalLogicID &id, float g)
LMFLaserConfigDatsetPNGain (EcalLogicID &id, float g)
LMFLaserConfigDatsetVFEGain (EcalLogicID &id, float g)
LMFLaserConfigDatsetWavelength (EcalLogicID &id, int w)
 ~LMFLaserConfigDat ()

Detailed Description

LMF_LASER_CONFIG_DAT interface

Definition at line 13 of file LMFLaserConfigDat.h.


Constructor & Destructor Documentation

LMFLaserConfigDat::LMFLaserConfigDat ( ) [inline]

Definition at line 15 of file LMFLaserConfigDat.h.

References LMFUnique::m_className, LMFDat::m_keys, and LMFDat::m_tableName.

                      : LMFDat() {
    m_tableName = "LMF_LASER_CONFIG_DAT";
    m_className = "LMFLaserConfigDat";
    m_keys["WAVELENGTH"] = 0;
    m_keys["VFE_GAIN"] = 1;
    m_keys["PN_GAIN"] = 2;
    m_keys["LSR_POWER"] = 3;
    m_keys["LSR_ATTENUATOR"] = 4;
    m_keys["LSR_CURRENT"] = 5;
    m_keys["LSR_DELAY_1"] = 6;
    m_keys["LSR_DELAY_2"] = 7;
  }
LMFLaserConfigDat::LMFLaserConfigDat ( EcalDBConnection c) [inline]

Definition at line 27 of file LMFLaserConfigDat.h.

References LMFUnique::m_className, LMFDat::m_keys, and LMFDat::m_tableName.

                                         : LMFDat(c) {
    m_tableName = "LMF_LASER_CONFIG_DAT";
    m_className = "LMFLaserConfigDat";
    m_keys["WAVELENGTH"] = 0;
    m_keys["VFE_GAIN"] = 1;
    m_keys["PN_GAIN"] = 2;
    m_keys["LSR_POWER"] = 3;
    m_keys["LSR_ATTENUATOR"] = 4;
    m_keys["LSR_CURRENT"] = 5;
    m_keys["LSR_DELAY_1"] = 6;
    m_keys["LSR_DELAY_2"] = 7;
  }
LMFLaserConfigDat::~LMFLaserConfigDat ( ) [inline]

Definition at line 39 of file LMFLaserConfigDat.h.

{}

Member Function Documentation

float LMFLaserConfigDat::getLSRAttenuator ( int  id) [inline]

Definition at line 102 of file LMFLaserConfigDat.h.

References LMFDat::getData().

                                 {
    return getData(id, "LSR_ATTENUATOR");
  }
float LMFLaserConfigDat::getLSRAttenuator ( EcalLogicID id) [inline]

Definition at line 127 of file LMFLaserConfigDat.h.

References LMFDat::getData().

                                          {
    return getData(id, "LSR_ATTENUATOR");
  }
float LMFLaserConfigDat::getLSRCurrent ( int  id) [inline]

Definition at line 105 of file LMFLaserConfigDat.h.

References LMFDat::getData().

                              {
    return getData(id, "LSR_CURRENT");
  }
float LMFLaserConfigDat::getLSRCurrent ( EcalLogicID id) [inline]

Definition at line 130 of file LMFLaserConfigDat.h.

References LMFDat::getData().

                                       {
    return getData(id, "LSR_CURRENT");
  }
float LMFLaserConfigDat::getLSRDelay1 ( int  id) [inline]

Definition at line 108 of file LMFLaserConfigDat.h.

References LMFDat::getData().

                             {
    return getData(id, "LSR_DELAY_1");
  }
float LMFLaserConfigDat::getLSRDelay1 ( EcalLogicID id) [inline]

Definition at line 133 of file LMFLaserConfigDat.h.

References LMFDat::getData().

                                      {
    return getData(id, "LSR_DELAY_1");
  }
float LMFLaserConfigDat::getLSRDelay2 ( int  id) [inline]

Definition at line 111 of file LMFLaserConfigDat.h.

References LMFDat::getData().

                             {
    return getData(id, "LSR_DELAY_2");
  }
float LMFLaserConfigDat::getLSRDelay2 ( EcalLogicID id) [inline]

Definition at line 136 of file LMFLaserConfigDat.h.

References LMFDat::getData().

                                      {
    return getData(id, "LSR_DELAY_2");
  }
float LMFLaserConfigDat::getLSRPower ( EcalLogicID id) [inline]

Definition at line 124 of file LMFLaserConfigDat.h.

References LMFDat::getData().

                                     {
    return getData(id, "LSR_POWER");
  }
float LMFLaserConfigDat::getLSRPower ( int  id) [inline]

Definition at line 99 of file LMFLaserConfigDat.h.

References LMFDat::getData().

                            {
    return getData(id, "LSR_POWER");
  }
float LMFLaserConfigDat::getPNGain ( EcalLogicID id) [inline]

Definition at line 121 of file LMFLaserConfigDat.h.

References LMFDat::getData().

                                   {
    return getData(id, "PN_GAIN");
  }
float LMFLaserConfigDat::getPNGain ( int  id) [inline]

Definition at line 96 of file LMFLaserConfigDat.h.

References LMFDat::getData().

                          {
    return getData(id, "PN_GAIN");
  }
float LMFLaserConfigDat::getVFEGain ( EcalLogicID id) [inline]

Definition at line 118 of file LMFLaserConfigDat.h.

References LMFDat::getData().

                                    {
    return getData(id, "VFE_GAIN");
  }
float LMFLaserConfigDat::getVFEGain ( int  id) [inline]

Definition at line 93 of file LMFLaserConfigDat.h.

References LMFDat::getData().

                           {
    return getData(id, "VFE_GAIN");
  }
float LMFLaserConfigDat::getWavelength ( int  id) [inline]

Definition at line 90 of file LMFLaserConfigDat.h.

References LMFDat::getData().

                              {
    return getData(id, "WAVELENGTH");
  }
float LMFLaserConfigDat::getWavelength ( EcalLogicID id) [inline]

Definition at line 115 of file LMFLaserConfigDat.h.

References LMFDat::getData().

                                       {
    return getData(id, "WAVELENGTH");
  }
LMFLaserConfigDat& LMFLaserConfigDat::setData ( EcalLogicID id,
float  w,
float  g,
float  pnga,
float  p,
float  a,
float  c,
float  d1,
float  d2 
) [inline]

Definition at line 73 of file LMFLaserConfigDat.h.

Referenced by setData(), setLSRAttenuator(), setLSRCurrent(), setLSRDelay1(), setLSRDelay2(), setLSRPower(), setPNGain(), setVFEGain(), and setWavelength().

                                                                            {
    LMFDat::setData(id, "WAVELENGTH", w);
    LMFDat::setData(id, "VFE_GAIN", g);
    LMFDat::setData(id, "PN_GAIN", pnga);
    LMFDat::setData(id, "LSR_POWER", p);
    LMFDat::setData(id, "LSR_ATTENUATOR", a);
    LMFDat::setData(id, "LSR_CURRENT", c);
    LMFDat::setData(id, "LSR_DELAY_1", d1);
    LMFDat::setData(id, "LSR_DELAY_2", d2);
    return *this;
  }
LMFLaserConfigDat& LMFLaserConfigDat::setData ( EcalLogicID id,
std::vector< float >  v 
) [inline]

Definition at line 85 of file LMFLaserConfigDat.h.

References setData().

                                                                  {
    LMFDat::setData(id, v);
    return *this;
  }
LMFLaserConfigDat& LMFLaserConfigDat::setLSRAttenuator ( EcalLogicID id,
float  g 
) [inline]

Definition at line 57 of file LMFLaserConfigDat.h.

References setData().

                                                                {
    LMFDat::setData(id, "LSR_ATTENUATOR", g);
    return *this;
  }
LMFLaserConfigDat& LMFLaserConfigDat::setLSRCurrent ( EcalLogicID id,
float  g 
) [inline]

Definition at line 61 of file LMFLaserConfigDat.h.

References setData().

                                                             {
    LMFDat::setData(id, "LSR_CURRENT", g);
    return *this;
  }
LMFLaserConfigDat& LMFLaserConfigDat::setLSRDelay1 ( EcalLogicID id,
float  g 
) [inline]

Definition at line 65 of file LMFLaserConfigDat.h.

References setData().

                                                            {
    LMFDat::setData(id, "LSR_DELAY_1", g);
    return *this;
  }
LMFLaserConfigDat& LMFLaserConfigDat::setLSRDelay2 ( EcalLogicID id,
float  g 
) [inline]

Definition at line 69 of file LMFLaserConfigDat.h.

References setData().

                                                            {
    LMFDat::setData(id, "LSR_DELAY_2", g);
    return *this;
  }
LMFLaserConfigDat& LMFLaserConfigDat::setLSRPower ( EcalLogicID id,
float  g 
) [inline]

Definition at line 53 of file LMFLaserConfigDat.h.

References setData().

                                                           {
    LMFDat::setData(id, "LSR_POWER", g);
    return *this;
  }
LMFLaserConfigDat& LMFLaserConfigDat::setPNGain ( EcalLogicID id,
float  g 
) [inline]

Definition at line 49 of file LMFLaserConfigDat.h.

References setData().

                                                         {
    LMFDat::setData(id, "PN_GAIN", g);
    return *this;
  }
LMFLaserConfigDat& LMFLaserConfigDat::setVFEGain ( EcalLogicID id,
float  g 
) [inline]

Definition at line 45 of file LMFLaserConfigDat.h.

References setData().

                                                          {
    LMFDat::setData(id, "VFE_GAIN", g);
    return *this;
  }
LMFLaserConfigDat& LMFLaserConfigDat::setWavelength ( EcalLogicID id,
int  w 
) [inline]

Definition at line 41 of file LMFLaserConfigDat.h.

References setData().

                                                           {
    LMFDat::setData(id, "WAVELENGTH", w);
    return *this;
  }