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

Public Member Functions | |
| BfieldMapData () | |
| BfieldMapData (Int_t a, Float_t c, Float_t d) | |
| BfieldMapData (const BfieldMapData &from) | |
| virtual | ~BfieldMapData () |
| Bool_t | CanL2Cache () const |
| Bool_t | Compare (const BfieldMapData &that) const |
| Int_t | GetPosHash () const |
| Float_t | GetXBfld () const |
| Float_t | GetYBfld () const |
| virtual void | Fill (DbiResultSet &rs, const DbiValidityRec *vrec) |
| virtual void | Store (DbiOutRowStream &ors, const DbiValidityRec *vrec) const |
| virtual DbiTableRow * | CreateTableRow () const |
Private Attributes | |
| Int_t | poshash |
| Float_t | xbfld |
| Float_t | ybfld |
|
|
Definition at line 15 of file BfieldMapData.h. 00015 { }
|
|
||||||||||||||||
|
Definition at line 16 of file BfieldMapData.h. References poshash, xbfld, and ybfld.
|
|
|
Definition at line 18 of file BfieldMapData.h. 00019 : DbiTableRow(from) { *this = from; }
|
|
|
Definition at line 21 of file BfieldMapData.h. 00021 { };
|
|
|
Reimplemented from DbiTableRow. Definition at line 23 of file BfieldMapData.h. 00023 { return kTRUE; }
|
|
|
Definition at line 25 of file BfieldMapData.h. References poshash, xbfld, and ybfld. 00025 {
00026 return poshash == that.poshash
00027 && xbfld == that.xbfld
00028 && ybfld == that.ybfld; }
|
|
|
Implements DbiTableRow. Definition at line 37 of file BfieldMapData.h. 00037 { return new BfieldMapData; }
|
|
||||||||||||
|
Implements DbiTableRow. Definition at line 17 of file BfieldMapData.cxx. References MSG. 00017 {
00018 if ( rs.TableName() != "BfieldMapData"
00019 && rs.TableName() != "BFIELDMAPDATA" ) {
00020 rs >> poshash >> xbfld >> ybfld;
00021 }
00022 else {
00023 Int_t numCol = rs.NumCols();
00024 for (Int_t curCol = rs.HasRowCounter() ? 3 : 2; curCol <= numCol; ++curCol) {
00025 string colName = rs.CurColName();
00026 if ( colName == "XBFIELD_KGAUSS" ) rs >> xbfld;
00027 else if ( colName == "YBFIELD_KGAUSS" ) rs >> ybfld;
00028 else if ( colName == "POSITION_HASH" ) rs >> poshash;
00029 else {
00030 MSG("Dbi",Msg::kDebug) << "Ignoring column " << curCol
00031 << "(" << colName << ")"
00032 << "; not part of BfieldMapData" << endl;
00033 rs.IncrementCurCol();
00034 }
00035 }
00036 }
00037 }
|
|
|
Definition at line 30 of file BfieldMapData.h. 00030 { return poshash; }
|
|
|
Definition at line 31 of file BfieldMapData.h. 00031 { return xbfld; }
|
|
|
Definition at line 32 of file BfieldMapData.h. 00032 { return ybfld; }
|
|
||||||||||||
|
Reimplemented from DbiTableRow. Definition at line 39 of file BfieldMapData.cxx. References poshash, and xbfld.
|
|
|
Definition at line 41 of file BfieldMapData.h. Referenced by BfieldMapData(), Compare(), and Store(). |
|
|
Definition at line 42 of file BfieldMapData.h. Referenced by BfieldMapData(), Compare(), and Store(). |
|
|
Definition at line 43 of file BfieldMapData.h. Referenced by BfieldMapData(), and Compare(). |
1.3.9.1