Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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

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.

Referenced by PhotonLookupTable::MakeRandomHisto().

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.

00012 { return (int)fx; };

Double_t PhotonLookupTableRow::GetX void   )  const [inline]
 

Definition at line 13 of file PhotonLookupTableRow.h.

Referenced by PhotonLookupTable::Rebuild().

00013 { return fx; };

Double_t PhotonLookupTableRow::GetY void   )  const [inline]
 

Definition at line 14 of file PhotonLookupTableRow.h.

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.

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


Member Data Documentation

Double_t PhotonLookupTableRow::fx [private]
 

Definition at line 24 of file PhotonLookupTableRow.h.

Referenced by PhotonLookupTableRow(), and Store().

Double_t PhotonLookupTableRow::fy [private]
 

Definition at line 25 of file PhotonLookupTableRow.h.

Referenced by PhotonLookupTableRow().


The documentation for this class was generated from the following files:
Generated on Mon Feb 15 11:10:02 2010 for loon by  doxygen 1.3.9.1