#include <PulserRawGainF.h>
Inheritance diagram for PulserRawGainF:

Public Member Functions | |
| PulserRawGainF () | |
| PulserRawGainF (Int_t aggNo, Int_t seid, Float_t *mean, Float_t *error, Float_t *num_entries) | |
| virtual | ~PulserRawGainF () |
| void | New (Int_t aggNo, Int_t points, Int_t stripEndKey) |
| void | AddPoint (Int_t point, const PulserSummary &ps) |
| Int_t | GetAggregateNo () const |
| UInt_t | GetIndex (UInt_t) const |
| Int_t | GetStripEnd () const |
| Int_t | GetNumPoints () const |
| const Float_t * | GetMean () const |
| const Float_t * | GetError () const |
| const Float_t * | GetNumEntries () const |
| virtual DbiTableRow * | CreateTableRow () 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 |
| Int_t | fNumPoints |
| Float_t | fMean [40] |
| Float_t | fError [40] |
| Float_t | fNumEntries [40] |
|
|
Definition at line 42 of file PulserRawGainF.cxx. 00043 {
00044 fAggregateNo = -1;
00045 fStripEnd = -1;
00046 memset(fMean,0,40*sizeof(Float_t));
00047 memset(fError,0,40*sizeof(Float_t));
00048 memset(fNumEntries,0,40*sizeof(Float_t));
00049 }
|
|
||||||||||||||||||||||||
|
Definition at line 51 of file PulserRawGainF.cxx. References fError, fMean, and fNumEntries. 00052 : 00053 fAggregateNo(aggNo) , fStripEnd(seid) 00054 { 00055 for (int i=0;i<40;i++) { 00056 fMean[i] = mean[i]; 00057 fError[i] = error[i]; 00058 fNumEntries[i] = num_entries[i]; 00059 } 00060 }
|
|
|
Definition at line 37 of file PulserRawGainF.h. 00037 {};
|
|
||||||||||||
|
Definition at line 72 of file PulserRawGainF.cxx. References fError, fMean, fNumEntries, fNumPoints, PulserSummary::GetEntries(), PulserSummary::GetError(), and PulserSummary::GetMean(). 00073 {
00074 fMean[point-1] = ps.GetMean();
00075 fError[point-1] =ps.GetError();
00076 fNumEntries[point-1] = ps.GetEntries();
00077 fNumPoints = point;
00078 }
|
|
|
Implements DbiTableRow. Definition at line 50 of file PulserRawGainF.h. 00050 { return new PulserRawGainF;}
|
|
||||||||||||
|
Implements DbiTableRow. Definition at line 80 of file PulserRawGainF.cxx. References fAggregateNo, fError, fMean, fNumEntries, and fStripEnd. 00082 {
00083 rs >> fAggregateNo >> fStripEnd >> fNumPoints;
00084 for (int i=0;i<40;i++) rs >> fMean[i];
00085 for (int i=0;i<40;i++) rs >> fError[i];
00086 for (int i=0;i<40;i++) rs >> fNumEntries[i];
00087 }
|
|
|
Reimplemented from DbiTableRow. Definition at line 42 of file PulserRawGainF.h. 00042 { return fAggregateNo; }
|
|
|
Definition at line 47 of file PulserRawGainF.h. Referenced by Plotter::BasicPlot(), MakeLin::DoCalc(), and Plotter::Plot(). 00047 {return fError;}
|
|
|
Reimplemented from DbiTableRow. Definition at line 43 of file PulserRawGainF.h. 00043 { return fStripEnd; }
|
|
|
Definition at line 46 of file PulserRawGainF.h. Referenced by Plotter::BasicPlot(), MakeLin::DoCalc(), and Plotter::Plot(). 00046 {return fMean;}
|
|
|
Definition at line 48 of file PulserRawGainF.h. 00048 {return fNumEntries;}
|
|
|
Definition at line 45 of file PulserRawGainF.h. Referenced by Plotter::BasicPlot(), MakeLin::DoCalc(), and Plotter::Plot(). 00045 {return fNumPoints;}
|
|
|
Definition at line 44 of file PulserRawGainF.h. 00044 {return fStripEnd;}
|
|
||||||||||||||||
|
Definition at line 62 of file PulserRawGainF.cxx. References fAggregateNo, fError, fMean, fNumEntries, fNumPoints, and fStripEnd. 00063 {
00064 fAggregateNo = aggNo;
00065 fStripEnd = stripEndKey;
00066 fNumPoints =points;
00067 memset(fMean,0,40*sizeof(Float_t));
00068 memset(fError,0,40*sizeof(Float_t));
00069 memset(fNumEntries,0,40*sizeof(Float_t));
00070 }
|
|
||||||||||||
|
Reimplemented from DbiTableRow. Definition at line 89 of file PulserRawGainF.cxx. References fAggregateNo, fError, fMean, fNumEntries, and fStripEnd. 00091 {
00092 ors << fAggregateNo << fStripEnd << fNumPoints;
00093 for (int i=0;i<40;i++) ors << fMean[i];
00094 for (int i=0;i<40;i++) ors << fError[i];
00095 for (int i=0;i<40;i++) ors << fNumEntries[i];
00096
00097 }
|
|
|
Definition at line 59 of file PulserRawGainF.h. |
|
|
Definition at line 63 of file PulserRawGainF.h. Referenced by AddPoint(), Fill(), New(), PulserRawGainF(), and Store(). |
|
|
Definition at line 62 of file PulserRawGainF.h. Referenced by AddPoint(), Fill(), New(), PulserRawGainF(), and Store(). |
|
|
Definition at line 64 of file PulserRawGainF.h. Referenced by AddPoint(), Fill(), New(), PulserRawGainF(), and Store(). |
|
|
Definition at line 61 of file PulserRawGainF.h. Referenced by AddPoint(), and New(). |
|
|
Definition at line 60 of file PulserRawGainF.h. |
1.3.9.1