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

Public Member Functions | |
| CalStripToStrip () | |
| CalStripToStrip (const PlexStripEndId &seid, Float_t resp, Float_t respErr) | |
| CalStripToStrip (Int_t seid_enc, Float_t resp, Float_t respErr) | |
| virtual | ~CalStripToStrip () |
| Bool_t | CanL2Cache () const |
| UInt_t | GetIndex (UInt_t) const |
| PlexStripEndId | GetStripEndId () const |
| UInt_t | GetSEIDkey () const |
| Float_t | GetResponse () const |
| Float_t | GetResponseErr () const |
| virtual DbiTableRow * | CreateTableRow () const |
| virtual void | Fill (DbiResultSet &rs, const DbiValidityRec *vrec) |
| virtual void | Store (DbiOutRowStream &ors, const DbiValidityRec *vrec) const |
Private Member Functions | |
| CalStripToStrip (const CalStripToStrip &from) | |
Private Attributes | |
| Int_t | fSEIdEncoded |
| Float_t | fResponse |
| Float_t | fResponseErr |
| UInt_t | fSEIdKey |
|
|
Definition at line 29 of file CalStripToStrip.h. 00029 { LEA_CTOR; }
|
|
||||||||||||||||
|
Definition at line 31 of file CalStripToStrip.h. References fResponse, fResponseErr, fSEIdEncoded, and fSEIdKey. 00032 : fSEIdEncoded(seid.GetEncoded()), 00033 fResponse(resp), 00034 fResponseErr(respErr), 00035 fSEIdKey(seid.BuildPlnStripEndKey()) 00036 { LEA_CTOR; }
|
|
||||||||||||||||
|
Definition at line 38 of file CalStripToStrip.h. References fResponse, fResponseErr, fSEIdEncoded, and fSEIdKey. 00039 : fSEIdEncoded(seid_enc), 00040 fResponse(resp), 00041 fResponseErr(respErr), 00042 fSEIdKey(PlexStripEndId(seid_enc).BuildPlnStripEndKey()) 00043 { LEA_CTOR; }
|
|
|
Definition at line 45 of file CalStripToStrip.h. 00045 { LEA_DTOR; };
|
|
|
Definition at line 66 of file CalStripToStrip.h. 00067 : DbiTableRow(from) { LEA_CTOR; *this = from; }
|
|
|
Reimplemented from DbiTableRow. Definition at line 48 of file CalStripToStrip.h. 00048 { return kTRUE; }
|
|
|
Implements DbiTableRow. Definition at line 55 of file CalStripToStrip.h. 00055 { return new CalStripToStrip; }
|
|
||||||||||||
|
Implements DbiTableRow. Definition at line 43 of file CalStripToStrip.cxx. References MSG. 00044 {
00045
00046 //
00047 //
00048 // Purpose: Fill object from Result Set
00049 //
00050 // Arguments:
00051 // rs in Result Set used to fill object
00052 // vrec in Associated validity record (or 0 if filling
00053 // DbiValidityRec)
00054 //
00055 // o Fill object from current row of Result Set.
00056
00057 // Program Notes:-
00058 // =============
00059
00060 // This method demonstrates both the "dumb" fill method (just
00061 // load the data as it comes) and the smart method (check column
00062 // name and load according to column order).
00063
00064 if ( rs.TableName() == "CALSTRIPTOSTRIP" ) {
00065 // Dumb method.
00066 rs >> fSEIdEncoded >> fResponse >> fResponseErr;
00067 fSEIdKey = PlexStripEndId(fSEIdEncoded).BuildPlnStripEndKey();
00068 }
00069
00070 else {
00071
00072 // Smart method
00073 Int_t numCol = rs.NumCols();
00074 // The first column (SeqNo) has already been processed.
00075 for (Int_t curCol = rs.HasRowCounter() ? 3 : 2; curCol <= numCol; ++curCol) {
00076 string colName = rs.CurColName();
00077 if ( colName == "SEIDENCODED" ) {
00078 rs >> fSEIdEncoded;
00079 fSEIdKey = PlexStripEndId(fSEIdEncoded).BuildPlnStripEndKey();
00080 }
00081 else if( colName == "RESPONSE" ) rs >> fResponse;
00082 else if( colName == "RESPONSEERR" ) rs >> fResponseErr;
00083 else {
00084 MSG("Dbi",Msg::kDebug) << "Ignoring column " << curCol
00085 << "(" << colName << ")"
00086 << "; not part of CalStripToStrip"
00087 << endl;
00088 rs.IncrementCurCol();
00089 }
00090 }
00091 }
00092
00093
00094 }
|
|
|
Reimplemented from DbiTableRow. Definition at line 49 of file CalStripToStrip.h. 00049 { return fSEIdKey; }
|
|
|
Definition at line 52 of file CalStripToStrip.h. Referenced by LIPlexMaps::CompareStripToStrip(), StripToStripCalScheme::DecalStripToStrip(), LIPlexMaps::DumpCalStripToStrip(), StripToStripCalScheme::GetStripToStripCorrected(), and LIPlexMaps::ReadDbCalStripToStrip(). 00052 { return fResponse; };
|
|
|
Definition at line 53 of file CalStripToStrip.h. Referenced by StripToStripCalScheme::DecalStripToStrip(), LIPlexMaps::DumpCalStripToStrip(), StripToStripCalScheme::GetStripToStripCorrected(), and LIPlexMaps::ReadDbCalStripToStrip(). 00053 { return fResponseErr; };
|
|
|
Definition at line 51 of file CalStripToStrip.h. 00051 { return fSEIdKey; }
|
|
|
Definition at line 50 of file CalStripToStrip.h. References fSEIdEncoded. Referenced by LIPlexMaps::CompareStripToStrip(), LIPlexMaps::DumpCalStripToStrip(), and LIPlexMaps::ReadDbCalStripToStrip(). 00050 { return PlexStripEndId(fSEIdEncoded); }
|
|
||||||||||||
|
Reimplemented from DbiTableRow. Definition at line 98 of file CalStripToStrip.cxx. References fResponse, and fSEIdEncoded. 00099 {
00100 //
00101 //
00102 // Purpose: Stream object to output row stream
00103 //
00104 // Arguments:
00105 // ors in Output row stream.
00106 // vrec in Associated validity record (or 0 if filling
00107
00108 ors << fSEIdEncoded << fResponse << fResponseErr;
00109 }
|
|
|
Definition at line 71 of file CalStripToStrip.h. Referenced by CalStripToStrip(), and Store(). |
|
|
Definition at line 72 of file CalStripToStrip.h. Referenced by CalStripToStrip(). |
|
|
Definition at line 70 of file CalStripToStrip.h. Referenced by CalStripToStrip(), GetStripEndId(), and Store(). |
|
|
Definition at line 75 of file CalStripToStrip.h. Referenced by CalStripToStrip(). |
1.3.9.1