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

Public Member Functions | |
| BfieldMapHeader () | |
| BfieldMapHeader (Float_t a, Float_t b, Int_t c, Float_t d, Float_t e, Int_t f, Float_t g, Int_t h, Int_t i) | |
| BfieldMapHeader (const BfieldMapHeader &from) | |
| virtual | ~BfieldMapHeader () |
| Bool_t | CanL2Cache () const |
| Bool_t | Compare (const BfieldMapHeader &that) const |
| Float_t | GetInitialXPos () const |
| Float_t | GetInitialYPos () const |
| Float_t | GetXDelta () const |
| Float_t | GetYDelta () const |
| Int_t | GetXNum () const |
| Int_t | GetYNum () const |
| Float_t | GetGeneratedCoilCurrent () const |
| Int_t | GetQuadInfo () const |
| Int_t | GetMapType () const |
| virtual void | Fill (DbiResultSet &rs, const DbiValidityRec *vrec) |
| virtual void | Store (DbiOutRowStream &ors, const DbiValidityRec *vrec) const |
| virtual DbiTableRow * | CreateTableRow () const |
Private Attributes | |
| Float_t | xposinit |
| Float_t | xdelta |
| Int_t | xnum |
| Float_t | yposinit |
| Float_t | ydelta |
| Int_t | ynum |
| Float_t | current |
| Int_t | maptype |
| Int_t | quadinfo |
|
|
Definition at line 15 of file BfieldMapHeader.h. 00015 { }
|
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 16 of file BfieldMapHeader.h. References current, maptype, quadinfo, xdelta, xnum, xposinit, ydelta, ynum, and yposinit. 00018 : xposinit(a),xdelta(b),xnum(c),yposinit(d),ydelta(e), 00019 ynum(f),current(g),maptype(h), quadinfo(i) { }
|
|
|
Definition at line 20 of file BfieldMapHeader.h. 00021 : DbiTableRow(from) { *this = from; }
|
|
|
Definition at line 23 of file BfieldMapHeader.h. 00023 { };
|
|
|
Reimplemented from DbiTableRow. Definition at line 25 of file BfieldMapHeader.h. 00025 { return kTRUE; }
|
|
|
Definition at line 27 of file BfieldMapHeader.h. References current, maptype, quadinfo, xdelta, xnum, xposinit, ydelta, ynum, and yposinit. 00027 {
00028 return xposinit == that.xposinit
00029 && xdelta == that.xdelta
00030 && xnum == that.xnum
00031 && yposinit == that.yposinit
00032 && ydelta == that.ydelta
00033 && ynum == that.ynum
00034 && current == that.current
00035 && maptype == that.maptype
00036 && quadinfo == that.quadinfo; }
|
|
|
Implements DbiTableRow. Definition at line 52 of file BfieldMapHeader.h. 00052 { return new BfieldMapHeader; }
|
|
||||||||||||
|
Implements DbiTableRow. Definition at line 17 of file BfieldMapHeader.cxx. References MSG. 00017 {
00018
00019 if ( rs.TableName() != "BfieldMapHeader"
00020 && rs.TableName() != "BFIELDMAPHEADER" ) {
00021 rs >> current >> xposinit >> xdelta >> xnum >> yposinit >> ydelta >> ynum >> maptype >> quadinfo;
00022 }
00023 else {
00024 Int_t numCol = rs.NumCols();
00025 // seqno already processed
00026 for (Int_t curCol = rs.HasRowCounter() ? 3 : 2; curCol <= numCol; ++curCol) {
00027 string colName = rs.CurColName();
00028 if ( colName == "GEN_COIL_CURRENT_AMP_TURNS" ) rs >> current;
00029 else if ( colName == "XPOS_INIT" ) rs >> xposinit;
00030 else if ( colName == "X_DELTA" ) rs >> xdelta;
00031 else if ( colName == "X_NUMBER" ) rs >> xnum;
00032 else if ( colName == "YPOS_INIT" ) rs >> yposinit;
00033 else if ( colName == "Y_DELTA" ) rs >> ydelta;
00034 else if ( colName == "Y_NUMBER" ) rs >> ynum;
00035 else if ( colName == "MAPTYPE" ) rs >> maptype;
00036 else if ( colName == "QUADINFO" ) rs >> quadinfo;
00037 else {
00038 MSG("Dbi",Msg::kDebug) << "Ignoring column " << curCol
00039 << "(" << colName << ")"
00040 << "; not part of BfieldMapHeader" << endl;
00041 rs.IncrementCurCol();
00042 }
00043 }
00044 }
00045 }
|
|
|
Definition at line 45 of file BfieldMapHeader.h. 00045 { return current; }
|
|
|
Definition at line 39 of file BfieldMapHeader.h. 00039 { return xposinit; }
|
|
|
Definition at line 40 of file BfieldMapHeader.h. 00040 { return yposinit; }
|
|
|
Definition at line 47 of file BfieldMapHeader.h. 00047 { return maptype; }
|
|
|
Definition at line 46 of file BfieldMapHeader.h. 00046 { return quadinfo; }
|
|
|
Definition at line 41 of file BfieldMapHeader.h. 00041 { return xdelta; }
|
|
|
Definition at line 43 of file BfieldMapHeader.h. 00043 { return xnum; }
|
|
|
Definition at line 42 of file BfieldMapHeader.h. 00042 { return ydelta; }
|
|
|
Definition at line 44 of file BfieldMapHeader.h. 00044 { return ynum; }
|
|
||||||||||||
|
Reimplemented from DbiTableRow. Definition at line 47 of file BfieldMapHeader.cxx. References current, maptype, xdelta, xnum, xposinit, ydelta, ynum, and yposinit. 00047 {
00048 ors << current << xposinit << xdelta << xnum << yposinit << ydelta << ynum << maptype << quadinfo;
00049 }
|
|
|
Definition at line 62 of file BfieldMapHeader.h. Referenced by BfieldMapHeader(), Compare(), and Store(). |
|
|
Definition at line 63 of file BfieldMapHeader.h. Referenced by BfieldMapHeader(), Compare(), and Store(). |
|
|
Definition at line 64 of file BfieldMapHeader.h. Referenced by BfieldMapHeader(), and Compare(). |
|
|
Definition at line 57 of file BfieldMapHeader.h. Referenced by BfieldMapHeader(), Compare(), and Store(). |
|
|
Definition at line 58 of file BfieldMapHeader.h. Referenced by BfieldMapHeader(), Compare(), and Store(). |
|
|
Definition at line 56 of file BfieldMapHeader.h. Referenced by BfieldMapHeader(), Compare(), and Store(). |
|
|
Definition at line 60 of file BfieldMapHeader.h. Referenced by BfieldMapHeader(), Compare(), and Store(). |
|
|
Definition at line 61 of file BfieldMapHeader.h. Referenced by BfieldMapHeader(), Compare(), and Store(). |
|
|
Definition at line 59 of file BfieldMapHeader.h. Referenced by BfieldMapHeader(), Compare(), and Store(). |
1.3.9.1