CMS 3D CMS Logo

Public Member Functions

LMFRunDat Class Reference

#include <LMFRunDat.h>

Inheritance diagram for LMFRunDat:
LMFDat LMFUnique IUniqueDBObject IDBObject

List of all members.

Public Member Functions

LMFRunDatData (const EcalLogicID &id, const std::vector< float > &v)
int getEvents (const EcalLogicID &id)
int getEvents (int id)
int getQualityFlag (int id)
int getQualityFlag (const EcalLogicID &id)
 LMFRunDat ()
 LMFRunDat (EcalDBConnection *conn)
 LMFRunDat (oracle::occi::Environment *env, oracle::occi::Connection *conn)
LMFRunDatsetData (const EcalLogicID &id, int n, int q)
LMFRunDatsetEvents (const EcalLogicID &id, int n)
LMFRunDatsetQualityFlag (const EcalLogicID &id, int q)
 ~LMFRunDat ()

Detailed Description

LMF_RUN_DAT interface

Definition at line 15 of file LMFRunDat.h.


Constructor & Destructor Documentation

LMFRunDat::LMFRunDat ( )

Definition at line 3 of file LMFRunDat.cc.

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

                     : LMFDat() {
  m_tableName = "LMF_RUN_DAT";
  m_className = "LMFRunDat";
  m_keys["NEVENTS"] = 0;
  m_keys["QUALITY_FLAG"] = 1;
}
LMFRunDat::LMFRunDat ( EcalDBConnection conn)

Definition at line 10 of file LMFRunDat.cc.

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

                                           : LMFDat(conn) {
  m_tableName = "LMF_RUN_DAT";
  m_className = "LMFRunDat";
  m_keys["NEVENTS"] = 0;
  m_keys["QUALITY_FLAG"] = 1;
}
LMFRunDat::LMFRunDat ( oracle::occi::Environment *  env,
oracle::occi::Connection *  conn 
)

Definition at line 17 of file LMFRunDat.cc.

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

                                                 : LMFDat(env, conn) {
  m_tableName = "LMF_RUN_DAT";
  m_className = "LMFRunDat";
  m_keys["NEVENTS"] = 0;
  m_keys["QUALITY_FLAG"] = 1;
}
LMFRunDat::~LMFRunDat ( ) [inline]

Definition at line 21 of file LMFRunDat.h.

{ }

Member Function Documentation

LMFRunDat& LMFRunDat::Data ( const EcalLogicID id,
const std::vector< float > &  v 
) [inline]

Definition at line 48 of file LMFRunDat.h.

References setData().

                                                                    {
    LMFDat::setData(id, v);
    return *this;
  }
int LMFRunDat::getEvents ( const EcalLogicID id) [inline]

Definition at line 23 of file LMFRunDat.h.

References LMFDat::getData().

                                       {
    return (int)rint(LMFDat::getData(id, "NEVENTS"));
  }
int LMFRunDat::getEvents ( int  id) [inline]

Definition at line 26 of file LMFRunDat.h.

References LMFDat::getData().

                        {
    return (int)rint(LMFDat::getData(id, "NEVENTS"));
  }
int LMFRunDat::getQualityFlag ( int  id) [inline]

Definition at line 32 of file LMFRunDat.h.

References LMFDat::getData().

                             {
    return (int)rint(LMFDat::getData(id, "QUALITY_FLAG"));
  }
int LMFRunDat::getQualityFlag ( const EcalLogicID id) [inline]

Definition at line 29 of file LMFRunDat.h.

References LMFDat::getData().

                                            {
    return (int)rint(LMFDat::getData(id, "QUALITY_FLAG"));
  }
LMFRunDat& LMFRunDat::setData ( const EcalLogicID id,
int  n,
int  q 
) [inline]

Definition at line 43 of file LMFRunDat.h.

Referenced by Data(), setEvents(), and setQualityFlag().

                                                          {
    LMFDat::setData(id, "NEVENTS", (float)n);
    LMFDat::setData(id, "QUALITY_FLAG", (float)q);
    return *this;
  }
LMFRunDat& LMFRunDat::setEvents ( const EcalLogicID id,
int  n 
) [inline]

Definition at line 35 of file LMFRunDat.h.

References setData().

                                                     {
    LMFDat::setData(id, "NEVENTS", (float)n);
    return *this;
  }
LMFRunDat& LMFRunDat::setQualityFlag ( const EcalLogicID id,
int  q 
) [inline]

Definition at line 39 of file LMFRunDat.h.

References setData().

                                                          {
    LMFDat::setData(id, "QUALITY_FLAG", (float)q);
    return *this;
  }