#include <REROOT_CellPos.h>
Public Member Functions | |
| REROOT_CellPos (CELLPOS_DEF *) | |
| REROOT_CellPos () | |
| ~REROOT_CellPos () | |
| virtual void | accept (REROOT_Visitor &v) |
| void | clear () |
| void | printEvent (std::ostream &) const |
| Int_t | ID () const |
| const Char_t * | PlnName () const |
| Int_t | IStrip () const |
| Int_t | IExtr () const |
| Int_t | ICell () const |
| const Float_t * | XYZReadout () const |
| const Float_t * | XYZCenter () const |
| const Float_t * | XYZFarend () const |
| Float_t | FiberTailA () const |
| Float_t | FiberTailB () const |
| Float_t | ClearFiberA () const |
| Float_t | ClearFiberB () const |
Private Member Functions | |
| void | init () |
Private Attributes | |
| Int_t | m_ID |
| Char_t | m_PlnName [5] |
| Int_t | m_IStrip |
| Int_t | m_IExtr |
| Int_t | m_ICell |
| Float_t | m_XYZReadout [3] |
| Float_t | m_XYZCenter [3] |
| Float_t | m_XYZFarend [3] |
| Float_t | m_FiberTailA |
| Float_t | m_FiberTailB |
| Float_t | m_ClearFiberA |
| Float_t | m_ClearFiberB |
|
|
Definition at line 57 of file REROOT_CellPos.cxx. References init(). 00058 {
00059 m_ID = nr->ID - 1; // C index
00060 if (nr->IStrip != 2147483647) m_IStrip = nr->IStrip - 1; // C index
00061 else m_IStrip = -1; // C index
00062 m_IExtr = nr->IExtr - 1; // C index
00063 m_ICell = nr->ICell - 1; // C index
00064 m_FiberTailA = nr->FiberTailA;
00065 m_FiberTailB = nr->FiberTailB;
00066 m_ClearFiberA = nr->ClearFiberA;
00067 m_ClearFiberB = nr->ClearFiberB;
00068
00069 // Fill simple arrays from CellPos struct.
00070 Int_t i; // Keep this declaration here for scope outside for-loops.
00071 for (i=0; i<3; i++) {
00072 m_XYZReadout[i] = nr->XYZReadout[i];
00073 m_XYZCenter[i] = nr->XYZCenter[i];
00074 m_XYZFarend[i] = nr->XYZFarend[i];
00075 }
00076
00077 // Fill String objects for char vectors from CellPos struct.
00078 for (i=0; i<4; i++) {
00079 if (nr->PlnName[i]=='\0' ||
00080 nr->PlnName[i]==' ') break;
00081 m_PlnName[i] = nr->PlnName[i];
00082 }
00083 m_PlnName[i] = '\0';
00084
00085 init();
00086 }
|
|
|
Definition at line 88 of file REROOT_CellPos.cxx. 00089 {
00090 }
|
|
|
Definition at line 96 of file REROOT_CellPos.cxx. 00097 {
00098 }
|
|
|
Definition at line 42 of file REROOT_CellPos.h. References v, and REROOT_Visitor::visit().
|
|
|
Definition at line 100 of file REROOT_CellPos.cxx. 00101 {
00102 }
|
|
|
Definition at line 58 of file REROOT_CellPos.h. Referenced by UgliStripNode::ClearFiber(), and UgliGeometryReroot::MakeTempDbiPosInfo(). 00058 {return m_ClearFiberA;}//ClearFiberA
|
|
|
Definition at line 59 of file REROOT_CellPos.h. Referenced by UgliStripNode::ClearFiber(), and UgliGeometryReroot::MakeTempDbiPosInfo(). 00059 {return m_ClearFiberB;}//ClearFiberA
|
|
|
Definition at line 56 of file REROOT_CellPos.h. Referenced by UgliGeometryReroot::MakeTempDbiScintStruct(), and UgliStripNode::WlsPigtail(). 00056 {return m_FiberTailA;} // FiberTailA
|
|
|
Definition at line 57 of file REROOT_CellPos.h. Referenced by UgliGeometryReroot::MakeTempDbiScintStruct(), and UgliStripNode::WlsPigtail(). 00057 {return m_FiberTailB;} // FiberTailA
|
|
|
Definition at line 52 of file REROOT_CellPos.h. Referenced by RerootExodus::PECAB2SEId(). 00052 {return m_ICell;} // ICell
|
|
|
Definition at line 48 of file REROOT_CellPos.h. 00048 {return m_ID;} // ID
|
|
|
Definition at line 51 of file REROOT_CellPos.h. Referenced by UgliGeometryReroot::MakeTempDbiScintStruct(), and RerootExodus::PECAB2SEId(). 00051 {return m_IExtr;} // IExtr
|
|
|
Definition at line 92 of file REROOT_CellPos.cxx. 00093 {
00094 }
|
|
|
Definition at line 50 of file REROOT_CellPos.h. 00050 {return m_IStrip;} // IStrip
|
|
|
Definition at line 49 of file REROOT_CellPos.h. Referenced by RerootExodus::SEIdToLPos(), and RerootExodus::SEIdToTPos(). 00049 {return m_PlnName;} // PlnName[5]
|
|
|
Definition at line 104 of file REROOT_CellPos.cxx. 00105 {
00106 pstream << "======================== CellPos =====================\n";
00107 }
|
|
|
Definition at line 54 of file REROOT_CellPos.h. Referenced by MINFLST::BookHits(), MINFFLS::BookHits(), MINFEMU::BookHits(), RerootExodus::SEIdGlobalToLocal(), and RerootExodus::SEIdLocalToGlobal(). 00054 {return m_XYZCenter;} //XYZCenter[3]
|
|
|
Definition at line 55 of file REROOT_CellPos.h. Referenced by RerootExodus::GetCellPos(), UgliGeometryReroot::MakeTempDbiScintStruct(), RerootExodus::NStripsNonZero(), RerootExodus::PECAB2SEId(), RerootExodus::SEIdHalfLength(), RerootExodus::SEIdLocalToGlobal(), and RerootExodus::SEIdToLPos(). 00055 {return m_XYZFarend;} //XYZFarend[3]
|
|
|
Definition at line 53 of file REROOT_CellPos.h. Referenced by RerootExodus::GetCellPos(), UgliGeometryReroot::MakeTempDbiScintStruct(), RerootExodus::NStripsNonZero(), RerootExodus::PECAB2SEId(), RerootExodus::SEIdHalfLength(), RerootExodus::SEIdLocalToGlobal(), RerootExodus::SEIdToLPos(), and RerootExodus::SEIdToTPos(). 00053 {return m_XYZReadout;}//XYZReadou[3]
|
|
|
Definition at line 31 of file REROOT_CellPos.h. |
|
|
Definition at line 32 of file REROOT_CellPos.h. |
|
|
Definition at line 29 of file REROOT_CellPos.h. |
|
|
Definition at line 30 of file REROOT_CellPos.h. |
|
|
Definition at line 25 of file REROOT_CellPos.h. |
|
|
Definition at line 21 of file REROOT_CellPos.h. |
|
|
Definition at line 24 of file REROOT_CellPos.h. |
|
|
Definition at line 23 of file REROOT_CellPos.h. |
|
|
Definition at line 22 of file REROOT_CellPos.h. |
|
|
Definition at line 27 of file REROOT_CellPos.h. |
|
|
Definition at line 28 of file REROOT_CellPos.h. |
|
|
Definition at line 26 of file REROOT_CellPos.h. |
1.3.9.1