PhotonLookupTableRow Class Reference

#include <PhotonLookupTableRow.h>

Inheritance diagram for PhotonLookupTableRow:
DbiTableRow

List of all members.

Public Member Functions

 PhotonLookupTableRow ()
 PhotonLookupTableRow (double x, double y)
UInt_t GetIndex (UInt_t) const
Double_t GetX () const
Double_t GetY () const
virtual DbiTableRowCreateTableRow () const
virtual void Fill (DbiResultSet &rs, const DbiValidityRec *vrec)
virtual void Store (DbiOutRowStream &ors, const DbiValidityRec *vrec) const

Private Member Functions

 ClassDef (PhotonLookupTableRow, 1)

Private Attributes

Double_t fx
Double_t fy

Detailed Description

Definition at line 6 of file PhotonLookupTableRow.h.


Constructor & Destructor Documentation

PhotonLookupTableRow::PhotonLookupTableRow (  )  [inline]

Definition at line 9 of file PhotonLookupTableRow.h.

References fx, and fy.

00009 { fx = 0; fy = 0;};

PhotonLookupTableRow::PhotonLookupTableRow ( double  x,
double  y 
) [inline]

Definition at line 10 of file PhotonLookupTableRow.h.

References fx, and fy.

00010 {fx=x; fy=y;};


Member Function Documentation

PhotonLookupTableRow::ClassDef ( PhotonLookupTableRow  ,
 
) [private]
virtual DbiTableRow* PhotonLookupTableRow::CreateTableRow (  )  const [inline, virtual]

Implements DbiTableRow.

Definition at line 16 of file PhotonLookupTableRow.h.

00017     { return new PhotonLookupTableRow; };

void PhotonLookupTableRow::Fill ( DbiResultSet rs,
const DbiValidityRec vrec 
) [virtual]

Implements DbiTableRow.

Definition at line 17 of file PhotonLookupTableRow.cxx.

References fx, and fy.

00019 {
00020   //  only impliment 'dumb' method. I don't care about column names. 
00021   rs >> fx >> fy;
00022 }

UInt_t PhotonLookupTableRow::GetIndex ( UInt_t   )  const [inline, virtual]

Reimplemented from DbiTableRow.

Definition at line 12 of file PhotonLookupTableRow.h.

References fx.

00012 { return (int)fx; };

Double_t PhotonLookupTableRow::GetX ( void   )  const [inline]

Definition at line 13 of file PhotonLookupTableRow.h.

References fx.

Referenced by PhotonLookupTable::Rebuild().

00013 { return fx; };

Double_t PhotonLookupTableRow::GetY ( void   )  const [inline]

Definition at line 14 of file PhotonLookupTableRow.h.

References fy.

Referenced by PhotonLookupTable::Rebuild().

00014 { return fy; };

void PhotonLookupTableRow::Store ( DbiOutRowStream ors,
const DbiValidityRec vrec 
) const [virtual]

Reimplemented from DbiTableRow.

Definition at line 26 of file PhotonLookupTableRow.cxx.

References fx, and fy.

00027                                                                {
00028   ors  << fx << fy; 
00029 }


Member Data Documentation

Double_t PhotonLookupTableRow::fx [private]

Definition at line 24 of file PhotonLookupTableRow.h.

Referenced by Fill(), GetIndex(), GetX(), PhotonLookupTableRow(), and Store().

Double_t PhotonLookupTableRow::fy [private]

Definition at line 25 of file PhotonLookupTableRow.h.

Referenced by Fill(), GetY(), PhotonLookupTableRow(), and Store().


The documentation for this class was generated from the following files:

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1