PulserRefDrift Class Reference

#include <PulserRefDrift.h>

Inheritance diagram for PulserRefDrift:
DbiTableRow

List of all members.

Public Member Functions

 PulserRefDrift ()
 PulserRefDrift (Int_t aggNo, Int_t seid, Float_t mean, Float_t error, Float_t num_entries)
virtual ~PulserRefDrift ()
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 PulserRefDrift.h.


Constructor & Destructor Documentation

PulserRefDrift::PulserRefDrift (  ) 

Definition at line 45 of file PulserRefDrift.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 }

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

Definition at line 53 of file PulserRefDrift.cxx.

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

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

Definition at line 39 of file PulserRefDrift.h.

00039 {};


Member Function Documentation

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

Implements DbiTableRow.

Definition at line 48 of file PulserRefDrift.h.

00048 { return new PulserRefDrift;}

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

Implements DbiTableRow.

Definition at line 73 of file PulserRefDrift.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 }

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

Reimplemented from DbiTableRow.

Definition at line 42 of file PulserRefDrift.h.

References fAggregateNo.

Referenced by PulserSigLinCalScheme::GetDriftPoint().

00042 { return fAggregateNo; }

Float_t PulserRefDrift::GetError (  )  const [inline]

Definition at line 46 of file PulserRefDrift.h.

References fError.

Referenced by LIPlexMaps::GetRefAdcPinRatio(), and LIPlexMaps::ReadDbPulserDrift().

00046 {return fError;}

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

Reimplemented from DbiTableRow.

Definition at line 43 of file PulserRefDrift.h.

References fStripEnd.

00043 { return fStripEnd; }

Float_t PulserRefDrift::GetMean (  )  const [inline]
Float_t PulserRefDrift::GetNumEntries (  )  const [inline]
Int_t PulserRefDrift::GetStripEnd (  )  const [inline]
void PulserRefDrift::New ( Int_t  aggNo,
Int_t  stripEndKey,
const PulserSummary ps 
)

Definition at line 61 of file PulserRefDrift.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 PulserRefDrift::Store ( DbiOutRowStream ors,
const DbiValidityRec vrec 
) const [virtual]

Reimplemented from DbiTableRow.

Definition at line 83 of file PulserRefDrift.cxx.

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

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


Member Data Documentation

Definition at line 57 of file PulserRefDrift.h.

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

Float_t PulserRefDrift::fError [private]

Definition at line 60 of file PulserRefDrift.h.

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

Float_t PulserRefDrift::fMean [private]

Definition at line 59 of file PulserRefDrift.h.

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

Float_t PulserRefDrift::fNumEntries [private]

Definition at line 61 of file PulserRefDrift.h.

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

Int_t PulserRefDrift::fStripEnd [private]

Definition at line 58 of file PulserRefDrift.h.

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