/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Private Attributes
DaqCalibRunInfo Class Reference

#include <DaqCalibRunInfo.h>

Inheritance diagram for DaqCalibRunInfo:
Inheritance graph
[legend]
Collaboration diagram for DaqCalibRunInfo:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 DaqCalibRunInfo ()
 DaqCalibRunInfo (const DaqCalibRunInfo &from)
 DaqCalibRunInfo (int rn, int adn, int did, int sida, int zpa, int sidb, int zpb, int sidc, int zpc, int dura, int n1, int n2, int v1, int v2, int lf, int ps, int lm)
virtual ~DaqCalibRunInfo ()
Bool_t CanL2Cache () const
Bool_t Compare (const DaqCalibRunInfo &that) const
int GetRunNo () const
int GetAdNo () const
int GetDetectorId () const
int GetSourceIdA () const
int GetZPositionA () const
int GetSourceIdB () const
int GetZPositionB () const
int GetSourceIdC () const
int GetZPositionC () const
int GetDuration () const
int GetLedNumber1 () const
int GetLedNumber2 () const
int GetLedVoltage1 () const
int GetLedVoltage2 () const
int GetLedFreq () const
int GetLedPulseSep () const
int GetLtbMode () const
virtual DbiTableRowCreateTableRow () const
virtual void Fill (DbiResultSet &rs, const DbiValidityRec *vrec)
virtual void Store (DbiOutRowStream &ors, const DbiValidityRec *vrec) const
virtual std::string name () const
virtual size_t size () const
virtual Bool_t CanFixOrdering () const
virtual std::string GetExtraCondition () const
virtual Int_t GetAggregateNo () const
DbiResultGetOwner () const
virtual UInt_t GetIndex (UInt_t defIndex) const
void SetOwner (DbiResult *owner)
virtual bool CreateDatabaseTables (Int_t db_no=0, const char *tablename="default")
virtual std::string GetDatabaseLayout ()

Private Attributes

int m_RunNo
int m_AdNo
int m_DetectorId
int m_SourceIdA
int m_ZPositionA
int m_SourceIdB
int m_ZPositionB
int m_SourceIdC
int m_ZPositionC
int m_Duration
int m_LedNumber1
int m_LedNumber2
int m_LedVoltage1
int m_LedVoltage2
int m_LedFreq
int m_LedPulseSep
int m_LtbMode

Detailed Description

Definition at line 12 of file DaqCalibRunInfo.h.


Constructor & Destructor Documentation

DaqCalibRunInfo::DaqCalibRunInfo ( ) [inline]

Definition at line 16 of file DaqCalibRunInfo.h.

{ }
DaqCalibRunInfo::DaqCalibRunInfo ( const DaqCalibRunInfo from) [inline]

Definition at line 18 of file DaqCalibRunInfo.h.

    : DbiTableRow(from) {  *this = from; }
DaqCalibRunInfo::DaqCalibRunInfo ( int  rn,
int  adn,
int  did,
int  sida,
int  zpa,
int  sidb,
int  zpb,
int  sidc,
int  zpc,
int  dura,
int  n1,
int  n2,
int  v1,
int  v2,
int  lf,
int  ps,
int  lm 
) [inline]

Definition at line 21 of file DaqCalibRunInfo.h.

virtual DaqCalibRunInfo::~DaqCalibRunInfo ( ) [inline, virtual]

Definition at line 35 of file DaqCalibRunInfo.h.

{  };

Member Function Documentation

Bool_t DaqCalibRunInfo::CanL2Cache ( ) const [inline, virtual]

Reimplemented from DbiTableRow.

Definition at line 39 of file DaqCalibRunInfo.h.

{ return kFALSE; }
Bool_t DaqCalibRunInfo::Compare ( const DaqCalibRunInfo that) const [inline]

Definition at line 41 of file DaqCalibRunInfo.h.

int DaqCalibRunInfo::GetRunNo ( ) const [inline]

Definition at line 62 of file DaqCalibRunInfo.h.

{ return m_RunNo; }
int DaqCalibRunInfo::GetAdNo ( ) const [inline]

Definition at line 63 of file DaqCalibRunInfo.h.

{ return m_AdNo; }
int DaqCalibRunInfo::GetDetectorId ( ) const [inline]

Definition at line 64 of file DaqCalibRunInfo.h.

{ return m_DetectorId; }
int DaqCalibRunInfo::GetSourceIdA ( ) const [inline]

Definition at line 65 of file DaqCalibRunInfo.h.

{ return m_SourceIdA; }
int DaqCalibRunInfo::GetZPositionA ( ) const [inline]

Definition at line 66 of file DaqCalibRunInfo.h.

{ return m_ZPositionA; }
int DaqCalibRunInfo::GetSourceIdB ( ) const [inline]

Definition at line 67 of file DaqCalibRunInfo.h.

{ return m_SourceIdB; }
int DaqCalibRunInfo::GetZPositionB ( ) const [inline]

Definition at line 68 of file DaqCalibRunInfo.h.

{ return m_ZPositionB; }
int DaqCalibRunInfo::GetSourceIdC ( ) const [inline]

Definition at line 69 of file DaqCalibRunInfo.h.

{ return m_SourceIdC; }
int DaqCalibRunInfo::GetZPositionC ( ) const [inline]

Definition at line 70 of file DaqCalibRunInfo.h.

{ return m_ZPositionC; }
int DaqCalibRunInfo::GetDuration ( ) const [inline]

Definition at line 71 of file DaqCalibRunInfo.h.

{ return m_Duration; }
int DaqCalibRunInfo::GetLedNumber1 ( ) const [inline]

Definition at line 72 of file DaqCalibRunInfo.h.

{ return m_LedNumber1; }
int DaqCalibRunInfo::GetLedNumber2 ( ) const [inline]

Definition at line 73 of file DaqCalibRunInfo.h.

{ return m_LedNumber2; }
int DaqCalibRunInfo::GetLedVoltage1 ( ) const [inline]

Definition at line 74 of file DaqCalibRunInfo.h.

{ return m_LedVoltage1; }
int DaqCalibRunInfo::GetLedVoltage2 ( ) const [inline]

Definition at line 75 of file DaqCalibRunInfo.h.

{ return m_LedVoltage2; }
int DaqCalibRunInfo::GetLedFreq ( ) const [inline]

Definition at line 76 of file DaqCalibRunInfo.h.

{ return m_LedFreq; }
int DaqCalibRunInfo::GetLedPulseSep ( ) const [inline]

Definition at line 77 of file DaqCalibRunInfo.h.

{ return m_LedPulseSep; }
int DaqCalibRunInfo::GetLtbMode ( ) const [inline]

Definition at line 78 of file DaqCalibRunInfo.h.

{ return m_LtbMode; }
virtual DbiTableRow* DaqCalibRunInfo::CreateTableRow ( ) const [inline, virtual]

Implements DbiTableRow.

Definition at line 80 of file DaqCalibRunInfo.h.

{ return new DaqCalibRunInfo; }
void DaqCalibRunInfo::Fill ( DbiResultSet rs,
const DbiValidityRec vrec 
) [virtual]

Implements DbiTableRow.

Definition at line 13 of file DaqCalibRunInfo.cc.

                                                 {

    Int_t numCol = rs.NumCols();
    //  The first column (SeqNo) has already been processed.
    for (Int_t curCol = 2; curCol <= numCol; ++curCol) {
      string colName = rs.CurColName();
      if (      colName == "RUNNO"    )     rs >> m_RunNo;
      else if ( colName == "DETECTORID" )   rs >> m_DetectorId;
      else if ( colName == "ADNO" )         rs >> m_AdNo;
      else if ( colName == "SOURCEIDA" )    rs >> m_SourceIdA;
      else if ( colName == "ZPOSITIONA" )   rs >> m_ZPositionA;
      else if ( colName == "SOURCEIDB" )    rs >> m_SourceIdB;
      else if ( colName == "ZPOSITIONB" )   rs >> m_ZPositionB;
      else if ( colName == "SOURCEIDC" )    rs >> m_SourceIdC;
      else if ( colName == "ZPOSITIONC" )   rs >> m_ZPositionC;
      else if ( colName == "DURATION" )     rs >> m_Duration;
      else if ( colName == "LEDNUMBER1" )   rs >> m_LedNumber1;
      else if ( colName == "LEDNUMBER2" )   rs >> m_LedNumber2;
      else if ( colName == "LEDVOLTAGE1" )  rs >> m_LedVoltage1;
      else if ( colName == "LEDVOLTAGE2" )  rs >> m_LedVoltage2;
      else if ( colName == "LEDFREQ" )      rs >> m_LedFreq;
      else if ( colName == "LEDPULSESEP" )  rs >> m_LedPulseSep;
      else if ( colName == "LTBMODE" )      rs >> m_LtbMode;
      else {
        LOG(dbi,Logging::kDebug1) << "Ignoring column " << curCol 
                               << "(" << colName << ")"
                              << "; not part of DaqCalibRunInfo" << std::endl;
        rs.IncrementCurCol();
      }
    }
    
}
void DaqCalibRunInfo::Store ( DbiOutRowStream ors,
const DbiValidityRec vrec 
) const [virtual]

Member Data Documentation

int DaqCalibRunInfo::m_RunNo [private]

Definition at line 92 of file DaqCalibRunInfo.h.

int DaqCalibRunInfo::m_AdNo [private]

Definition at line 93 of file DaqCalibRunInfo.h.

Definition at line 94 of file DaqCalibRunInfo.h.

Definition at line 95 of file DaqCalibRunInfo.h.

Definition at line 96 of file DaqCalibRunInfo.h.

Definition at line 97 of file DaqCalibRunInfo.h.

Definition at line 98 of file DaqCalibRunInfo.h.

Definition at line 99 of file DaqCalibRunInfo.h.

Definition at line 100 of file DaqCalibRunInfo.h.

Definition at line 101 of file DaqCalibRunInfo.h.

Definition at line 102 of file DaqCalibRunInfo.h.

Definition at line 103 of file DaqCalibRunInfo.h.

Definition at line 104 of file DaqCalibRunInfo.h.

Definition at line 105 of file DaqCalibRunInfo.h.

Definition at line 106 of file DaqCalibRunInfo.h.

Definition at line 107 of file DaqCalibRunInfo.h.

Definition at line 108 of file DaqCalibRunInfo.h.


The documentation for this class was generated from the following files:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:57:05 for DaqRunInfoSvc by doxygen 1.7.4