MBSpill Class Reference

#include <MBSpill.h>

Inheritance diagram for MBSpill:
DbiTableRow

List of all members.

Public Member Functions

 MBSpill ()
 MBSpill (int sec, int nsec, float pot, float hI)
virtual ~MBSpill ()
Bool_t CanL2Cache () const
VldTimeStamp GetTimeStamp () const
Int_t GetSec () const
Int_t GetNanoSec () const
Float_t GetPOT () const
Float_t GetHorn_current () 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 (MBSpill, 1)

Private Attributes

Int_t fSecond
Int_t fNanoSec
Float_t fPOT
Float_t fHorn_current

Detailed Description

Definition at line 18 of file MBSpill.h.


Constructor & Destructor Documentation

MBSpill::MBSpill (  )  [inline]

Definition at line 22 of file MBSpill.h.

References LEA_CTOR.

00022 { LEA_CTOR; };

MBSpill::MBSpill ( int  sec,
int  nsec,
float  pot,
float  hI 
) [inline]

Definition at line 24 of file MBSpill.h.

References LEA_CTOR.

00025     : fSecond(sec) 
00026     , fNanoSec(nsec)
00027     , fPOT(pot)
00028     , fHorn_current(hI)
00029   { LEA_CTOR; };

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

Definition at line 31 of file MBSpill.h.

References LEA_DTOR.

00031 { LEA_DTOR; };


Member Function Documentation

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

Reimplemented from DbiTableRow.

Definition at line 34 of file MBSpill.h.

00034 { return kTRUE; }

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

Implements DbiTableRow.

Definition at line 43 of file MBSpill.h.

00043 { return new MBSpill; }

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

Implements DbiTableRow.

Definition at line 27 of file MBSpill.cxx.

References fHorn_current, fNanoSec, fPOT, and fSecond.

00028                                                                 {
00029 
00030 //
00031 //
00032 //  Purpose:  Fill object from Result Set
00033 //
00034 //  Arguments: 
00035 //    rs           in    Result Set used to fill object
00036 //    vrec         in    Associated validity record (or 0 if filling
00037 //                                                    DbiValidityRec)
00038 //
00039 //  o Fill object from current row of Result Set.
00040 
00041 //  Program Notes:-
00042 //  =============
00043 
00044 //  This method demonstrates both the "dumb" fill method (just
00045 //  load the data as it comes) and the smart method (check column
00046 //  name and load according to column order). 
00047 
00048   rs  >> fSecond >> fNanoSec >> fPOT >> fHorn_current;
00049 }

Float_t MBSpill::GetHorn_current (  )  const [inline]

Definition at line 41 of file MBSpill.h.

References fHorn_current.

Referenced by MNtpModule::Ana(), CountPot::Ana(), and CountPot::EndJob().

00041 { return fHorn_current; }

Int_t MBSpill::GetNanoSec (  )  const [inline]

Definition at line 39 of file MBSpill.h.

References fNanoSec.

Referenced by MNtpModule::Ana(), and FiltMBSpillModule::Ana().

00039 { return fNanoSec; }

Float_t MBSpill::GetPOT (  )  const [inline]

Definition at line 40 of file MBSpill.h.

References fPOT.

Referenced by MNtpModule::Ana(), CountPot::Ana(), CountPot::EndJob(), and CountPot::FillMBPOT().

00040 { return fPOT; }

Int_t MBSpill::GetSec (  )  const [inline]

Definition at line 38 of file MBSpill.h.

References fSecond.

Referenced by MNtpModule::Ana(), and FiltMBSpillModule::Ana().

00038 { return fSecond; }

VldTimeStamp MBSpill::GetTimeStamp (  )  const [inline]
void MBSpill::Store ( DbiOutRowStream ors,
const DbiValidityRec vrec 
) const [virtual]

Reimplemented from DbiTableRow.

Definition at line 53 of file MBSpill.cxx.

References fHorn_current, fNanoSec, fPOT, and fSecond.

00054                                                                        {
00055   //
00056   //
00057   //  Purpose:  Stream object to output row stream
00058   //
00059   //  Arguments: 
00060   //    ors          in     Output row stream.
00061   //    vrec         in    Associated validity record (or 0 if filling
00062   
00063   ors << fSecond << fNanoSec << fPOT << fHorn_current;
00064 }


Member Data Documentation

Float_t MBSpill::fHorn_current [private]

Definition at line 55 of file MBSpill.h.

Referenced by Fill(), GetHorn_current(), and Store().

Int_t MBSpill::fNanoSec [private]

Definition at line 53 of file MBSpill.h.

Referenced by Fill(), GetNanoSec(), GetTimeStamp(), and Store().

Float_t MBSpill::fPOT [private]

Definition at line 54 of file MBSpill.h.

Referenced by Fill(), GetPOT(), and Store().

Int_t MBSpill::fSecond [private]

Definition at line 52 of file MBSpill.h.

Referenced by Fill(), GetSec(), GetTimeStamp(), and Store().


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1