#include <REROOT_PlaneSpec.h>
Public Member Functions | |
| REROOT_PlaneSpec (PLANESPEC_DEF *) | |
| REROOT_PlaneSpec () | |
| ~REROOT_PlaneSpec () | |
| virtual void | accept (REROOT_Visitor &v) |
| void | clear () |
| void | printEvent (std::ostream &) const |
| Int_t | ID () const |
| const Char_t * | PlnName () const |
| const Char_t * | Shape () const |
| Float_t | Width () const |
| Float_t | Length () const |
| Float_t | Thickness () const |
| const Float_t * | AirGap () const |
| const Char_t * | TMedium () const |
| Int_t | BMap () const |
| Int_t | DigiType () const |
| Float_t | AbsLen () const |
| Float_t | RadLen () const |
| Float_t | Density () const |
| Int_t | NStrip () const |
| Int_t | NExtru () const |
| Int_t | NCell () const |
| Float_t | CellWidth () const |
| Float_t | CellThick () const |
| Int_t | CoverSide () const |
| Int_t | NGSVol () const |
| const Float_t * | GSVol () const |
| Int_t | NLevel () const |
| const Char_t * | NamePth (Int_t i) const |
| const Int_t * | NumbPth () const |
| const Float_t * | RSquash () const |
| Int_t | FirstStrip () const |
| Int_t | LastStrip () const |
Private Member Functions | |
| void | init () |
Private Attributes | |
| Int_t | m_ID |
| Char_t | m_PlnName [5] |
| Char_t | m_Shape [5] |
| Float_t | m_Width |
| Float_t | m_Length |
| Float_t | m_Thickness |
| Float_t | m_AirGap [2] |
| Char_t | m_TMedium [5] |
| Int_t | m_BMap |
| Int_t | m_DigiType |
| Float_t | m_AbsLen |
| Float_t | m_RadLen |
| Float_t | m_Density |
| Int_t | m_NStrip |
| Int_t | m_NExtru |
| Int_t | m_NCell |
| Float_t | m_CellWidth |
| Float_t | m_CellThick |
| Int_t | m_CoverSide |
| Int_t | m_NGSVol |
| Float_t | m_GSVol [10] |
| Int_t | m_NLevel |
| Char_t | m_NamePth [45] |
| Int_t | m_NumbPth [9] |
| Float_t | m_RSquash [8] |
| Int_t | m_FirstStrip |
| Int_t | m_LastStrip |
|
|
Definition at line 58 of file REROOT_PlaneSpec.cxx. References init(). 00058 {
00059 m_ID = nr->ID - 1; // C index
00060 m_Width = nr->Width;
00061 m_Length = nr->Length;
00062 m_Thickness = nr->Thickness;
00063 m_BMap = nr->BMap;
00064 m_DigiType = nr->DigiType;
00065 m_AbsLen = nr->AbsLen;
00066 m_RadLen = nr->RadLen;
00067 m_Density = nr->Density;
00068 if (nr->NStrip != 2147483647) m_NStrip = nr->NStrip;
00069 else m_NStrip = 0;
00070 m_NExtru = nr->NExtru;
00071 m_NCell = nr->NCell;
00072 m_CellWidth = nr->CellWidth;
00073 m_CellThick = nr->CellThick;
00074 m_CoverSide = nr->CoverSide;
00075 m_NGSVol = nr->NGSVol;
00076 m_NLevel = nr->NLevel;
00077 if (nr->FirstStrip != 2147483647)
00078 m_FirstStrip = nr->FirstStrip - 1; // C index
00079 else m_FirstStrip = -1; // C index
00080 if (nr->LastStrip != 2147483647)
00081 m_LastStrip = nr->LastStrip - 1; // C index
00082 else m_LastStrip = -1; // C index
00083
00084 // Fill simple arrays from CellPos struct.
00085 Int_t i; // Keep this declaration here for scope outside for-loops.
00086 for (i=0; i<2; i++) {
00087 m_AirGap[i] = nr->AirGap[i];
00088 }
00089 for (i=0; i<10; i++) {
00090 m_GSVol[i] = nr->GSVol[i];
00091 }
00092 for (i=0; i<9; i++) {
00093 m_NumbPth[i] = nr->NumbPth[i];
00094 }
00095 for (i=0; i<8; i++) {
00096 m_RSquash[i] = nr->RSquash[i];
00097 }
00098
00099 // Fill String objects for char vectors from PlaneSpec struct.
00100 for (i=0; i<4; i++) {
00101 if (nr->PlnName[i]=='\0' || nr->PlnName[i]==' ') break;
00102 m_PlnName[i] = nr->PlnName[i];
00103 }
00104 m_PlnName[i] = '\0';
00105 for (i=0; i<4; i++) {
00106 if (nr->Shape[i]=='\0' || nr->Shape[i]==' ') break;
00107 m_Shape[i] = nr->Shape[i];
00108 }
00109 m_Shape[i] = '\0';
00110 for (i=0; i<4; i++) {
00111 if (nr->TMedium[i]=='\0' || nr->TMedium[i]==' ') break;
00112 m_TMedium[i] = nr->TMedium[i];
00113 }
00114 m_TMedium[i] = '\0';
00115
00116 Int_t k=-5;
00117 for (Int_t j=0; j<9; j++) {
00118 k += 5;
00119 for (i=0; i<4; i++) {
00120 if (nr->NamePth[j][i]=='\0' || nr->NamePth[j][i]==' ') break;
00121 m_NamePth[k+i] = nr->NamePth[j][i];
00122 }
00123 m_NamePth[k+i] = '\0';
00124 }
00125
00126 init();
00127 }
|
|
|
Definition at line 129 of file REROOT_PlaneSpec.cxx. 00130 {
00131 }
|
|
|
Definition at line 137 of file REROOT_PlaneSpec.cxx. 00138 {
00139 }
|
|
|
Definition at line 73 of file REROOT_PlaneSpec.h. 00073 {return m_AbsLen;} // AbsLen
|
|
|
Definition at line 57 of file REROOT_PlaneSpec.h. References REROOT_Visitor::visit(). 00057 {v.visit(this);}
|
|
|
Definition at line 69 of file REROOT_PlaneSpec.h. Referenced by UgliGeometryReroot::MakeTempDbiPosInfo(). 00069 {return m_AirGap;} // AirGap
|
|
|
Definition at line 71 of file REROOT_PlaneSpec.h. Referenced by UgliGeometryReroot::MakeTempDbiPosInfo(). 00071 {return m_BMap;} // BMap
|
|
|
Definition at line 80 of file REROOT_PlaneSpec.h. Referenced by RerootExodus::SEIdHalfThickness(). 00080 {return m_CellThick;} // CellThick
|
|
|
Definition at line 79 of file REROOT_PlaneSpec.h. Referenced by UgliGeometryReroot::MakeTempDbiPosInfo(), and RerootExodus::SEIdHalfWidth(). 00079 {return m_CellWidth;} // CellWidth
|
|
|
Definition at line 141 of file REROOT_PlaneSpec.cxx. 00142 {
00143 }
|
|
|
Definition at line 81 of file REROOT_PlaneSpec.h. 00081 {return m_CoverSide;} // CoverSide
|
|
|
Definition at line 75 of file REROOT_PlaneSpec.h. 00075 {return m_Density;} // Density
|
|
|
Definition at line 72 of file REROOT_PlaneSpec.h. 00072 {return m_DigiType;} // DigiType
|
|
|
Definition at line 89 of file REROOT_PlaneSpec.h. Referenced by RerootExodus::GetCellPos(), RerootExodus::NStripsNonZero(), and RerootExodus::PECAB2SEId(). 00089 {return m_FirstStrip;} // FirstStrip
|
|
|
Definition at line 83 of file REROOT_PlaneSpec.h. 00083 {return m_GSVol;} // GSVol[10]
|
|
|
Definition at line 63 of file REROOT_PlaneSpec.h. 00063 {return m_ID;} // ID
|
|
|
Definition at line 133 of file REROOT_PlaneSpec.cxx. 00134 {
00135 }
|
|
|
Definition at line 90 of file REROOT_PlaneSpec.h. Referenced by RerootExodus::GetCellPos(), RerootExodus::NStripsNonZero(), and RerootExodus::PECAB2SEId(). 00090 {return m_LastStrip;} // LastStrip
|
|
|
Definition at line 67 of file REROOT_PlaneSpec.h. 00067 {return m_Length;} // Length
|
|
|
Definition at line 85 of file REROOT_PlaneSpec.h. References m_NamePth. 00086 {return &m_NamePth[5*i];}
|
|
|
Definition at line 78 of file REROOT_PlaneSpec.h. 00078 {return m_NCell;} // NCell
|
|
|
Definition at line 77 of file REROOT_PlaneSpec.h. 00077 {return m_NExtru;} // NExtru
|
|
|
Definition at line 82 of file REROOT_PlaneSpec.h. 00082 {return m_NGSVol;} // NGSVol
|
|
|
Definition at line 84 of file REROOT_PlaneSpec.h. 00084 {return m_NLevel;} // NLevel
|
|
|
Definition at line 76 of file REROOT_PlaneSpec.h. 00076 {return m_NStrip;} // NStrip
|
|
|
Definition at line 87 of file REROOT_PlaneSpec.h. 00087 {return m_NumbPth;} // NumbPth[9]
|
|
|
Definition at line 64 of file REROOT_PlaneSpec.h. Referenced by RerootExodus::RerootPln2PlnId(). 00064 {return m_PlnName;} // PlnName[5]
|
|
|
Definition at line 145 of file REROOT_PlaneSpec.cxx. 00146 {
00147 pstream << "====================== PlaneSpec =====================\n";
00148 }
|
|
|
Definition at line 74 of file REROOT_PlaneSpec.h. 00074 {return m_RadLen;} // RadLen
|
|
|
Definition at line 88 of file REROOT_PlaneSpec.h. 00088 {return m_RSquash;} // RSquash[8]
|
|
|
Definition at line 65 of file REROOT_PlaneSpec.h. 00065 {return m_Shape;} // Shape[5]
|
|
|
Definition at line 68 of file REROOT_PlaneSpec.h. Referenced by MINFLST::BookHits(), MINFFLS::BookHits(), MINFEMU::BookHits(), MINFDetGeom::BuildDetectorGeometry(), UgliGeometryReroot::MakeTempDbiPosInfo(), RerootExodus::RerootPlaneXYZ0(), RerootExodus::SEIdGlobalToLocal(), and RerootExodus::SEIdLocalToGlobal(). 00068 {return m_Thickness;} // Thickness
|
|
|
Definition at line 70 of file REROOT_PlaneSpec.h. 00070 {return m_TMedium;} // TMedium[5]
|
|
|
Definition at line 66 of file REROOT_PlaneSpec.h. Referenced by MINFDetGeom::BuildDetectorGeometry(). 00066 {return m_Width;} // Width
|
|
|
Definition at line 31 of file REROOT_PlaneSpec.h. |
|
|
Definition at line 27 of file REROOT_PlaneSpec.h. |
|
|
Definition at line 29 of file REROOT_PlaneSpec.h. |
|
|
Definition at line 38 of file REROOT_PlaneSpec.h. |
|
|
Definition at line 37 of file REROOT_PlaneSpec.h. |
|
|
Definition at line 39 of file REROOT_PlaneSpec.h. |
|
|
Definition at line 33 of file REROOT_PlaneSpec.h. |
|
|
Definition at line 30 of file REROOT_PlaneSpec.h. |
|
|
Definition at line 46 of file REROOT_PlaneSpec.h. |
|
|
Definition at line 41 of file REROOT_PlaneSpec.h. |
|
|
Definition at line 21 of file REROOT_PlaneSpec.h. |
|
|
Definition at line 47 of file REROOT_PlaneSpec.h. |
|
|
Definition at line 25 of file REROOT_PlaneSpec.h. |
|
|
Definition at line 43 of file REROOT_PlaneSpec.h. Referenced by NamePth(). |
|
|
Definition at line 36 of file REROOT_PlaneSpec.h. |
|
|
Definition at line 35 of file REROOT_PlaneSpec.h. |
|
|
Definition at line 40 of file REROOT_PlaneSpec.h. |
|
|
Definition at line 42 of file REROOT_PlaneSpec.h. |
|
|
Definition at line 34 of file REROOT_PlaneSpec.h. |
|
|
Definition at line 44 of file REROOT_PlaneSpec.h. |
|
|
Definition at line 22 of file REROOT_PlaneSpec.h. |
|
|
Definition at line 32 of file REROOT_PlaneSpec.h. |
|
|
Definition at line 45 of file REROOT_PlaneSpec.h. |
|
|
Definition at line 23 of file REROOT_PlaneSpec.h. |
|
|
Definition at line 26 of file REROOT_PlaneSpec.h. |
|
|
Definition at line 28 of file REROOT_PlaneSpec.h. |
|
|
Definition at line 24 of file REROOT_PlaneSpec.h. |
1.3.9.1