PulserRefDriftF Class Reference

#include <PulserRefDriftF.h>

Inheritance diagram for PulserRefDriftF:
DbiTableRow

List of all members.

Public Member Functions

 PulserRefDriftF ()
 PulserRefDriftF (Int_t aggNo, Int_t seid, Float_t mean, Float_t error, Float_t num_entries)
virtual ~PulserRefDriftF ()
void New (Int_t aggNo, Int_t stripEndKey, const PulserSummary &ps)
Int_t GetAggregateNo () const
UInt_t GetIndex (UInt_t) const
Int_t GetStripEnd () const
Float_t GetMean () const
Float_t GetError () const
Float_t GetNumEntries () const
virtual DbiTableRowCreateTableRow () const
virtual void Fill (DbiResultSet &rs, const DbiValidityRec *vrec)
virtual void Store (DbiOutRowStream &ors, const DbiValidityRec *vrec) const

Private Attributes

Int_t fAggregateNo
Int_t fStripEnd
Float_t fMean
Float_t fError
Float_t fNumEntries

Detailed Description

Definition at line 33 of file PulserRefDriftF.h.


Constructor & Destructor Documentation

PulserRefDriftF::PulserRefDriftF (  ) 

Definition at line 45 of file PulserRefDriftF.cxx.

References fAggregateNo, fError, fMean, fNumEntries, and fStripEnd.

00046 {
00047   fAggregateNo = -1;
00048   fStripEnd = -1;
00049   fMean = -1;
00050   fError=-1;
00051   fNumEntries=-1;
00052 }

PulserRefDriftF::PulserRefDriftF ( Int_t  aggNo,
Int_t  seid,
Float_t  mean,
Float_t  error,
Float_t  num_entries 
)

Definition at line 53 of file PulserRefDriftF.cxx.

00054                                                                   :
00055    fAggregateNo(aggNo), fStripEnd(seid),fMean(mean),fError(error),
00056    fNumEntries(num_entries)
00057 {
00058 
00059 }

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

Definition at line 39 of file PulserRefDriftF.h.

00039 {};


Member Function Documentation

virtual DbiTableRow* PulserRefDriftF::CreateTableRow (  )  const [inline, virtual]

Implements DbiTableRow.

Definition at line 48 of file PulserRefDriftF.h.

00048 { return new PulserRefDriftF;}

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

Implements DbiTableRow.

Definition at line 73 of file PulserRefDriftF.cxx.

References fAggregateNo, fError, fMean, fNumEntries, and fStripEnd.

00075 {
00076    rs >> fAggregateNo;
00077    rs >> fStripEnd;
00078    rs >> fMean;
00079    rs >> fError;
00080    rs >> fNumEntries;
00081 
00082 }

Int_t PulserRefDriftF::GetAggregateNo (  )  const [inline, virtual]

Reimplemented from DbiTableRow.

Definition at line 42 of file PulserRefDriftF.h.

References fAggregateNo.

Referenced by PulserSigLinCalScheme::GetDriftFar().

00042 { return fAggregateNo; }

Float_t PulserRefDriftF::GetError (  )  const [inline]

Definition at line 46 of file PulserRefDriftF.h.

References fError.

00046 {return fError;}

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

Reimplemented from DbiTableRow.

Definition at line 43 of file PulserRefDriftF.h.

References fStripEnd.

00043 { return fStripEnd; }

Float_t PulserRefDriftF::GetMean (  )  const [inline]

Definition at line 45 of file PulserRefDriftF.h.

References fMean.

Referenced by PulserSigLinCalScheme::GetDriftFar().

00045 {return fMean;}

Float_t PulserRefDriftF::GetNumEntries (  )  const [inline]

Definition at line 47 of file PulserRefDriftF.h.

References fNumEntries.

Referenced by PulserSigLinCalScheme::GetDriftFar().

00047 {return fNumEntries;}

Int_t PulserRefDriftF::GetStripEnd (  )  const [inline]

Definition at line 44 of file PulserRefDriftF.h.

References fStripEnd.

00044 {return fStripEnd;}

void PulserRefDriftF::New ( Int_t  aggNo,
Int_t  stripEndKey,
const PulserSummary ps 
)

Definition at line 61 of file PulserRefDriftF.cxx.

References fAggregateNo, fError, fMean, fNumEntries, fStripEnd, PulserSummary::GetEntries(), PulserSummary::GetError(), and PulserSummary::GetMean().

00062 {
00063   fAggregateNo = aggNo;
00064   fStripEnd = stripEndKey;
00065   fMean = ps.GetMean();
00066   fError = ps.GetError();
00067   fNumEntries = ps.GetEntries();
00068 
00069 
00070 }

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

Reimplemented from DbiTableRow.

Definition at line 84 of file PulserRefDriftF.cxx.

References fAggregateNo, fError, fMean, fNumEntries, and fStripEnd.

00086 {
00087    ors << fAggregateNo;
00088    ors << fStripEnd;
00089    ors << fMean;
00090    ors << fError;
00091    ors << fNumEntries;
00092    
00093 }


Member Data Documentation

Definition at line 57 of file PulserRefDriftF.h.

Referenced by Fill(), GetAggregateNo(), New(), PulserRefDriftF(), and Store().

Float_t PulserRefDriftF::fError [private]

Definition at line 60 of file PulserRefDriftF.h.

Referenced by Fill(), GetError(), New(), PulserRefDriftF(), and Store().

Float_t PulserRefDriftF::fMean [private]

Definition at line 59 of file PulserRefDriftF.h.

Referenced by Fill(), GetMean(), New(), PulserRefDriftF(), and Store().

Float_t PulserRefDriftF::fNumEntries [private]

Definition at line 61 of file PulserRefDriftF.h.

Referenced by Fill(), GetNumEntries(), New(), PulserRefDriftF(), and Store().

Int_t PulserRefDriftF::fStripEnd [private]

Definition at line 58 of file PulserRefDriftF.h.

Referenced by Fill(), GetIndex(), GetStripEnd(), New(), PulserRefDriftF(), 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