#include <REROOT_SubVolPos.h>
Public Member Functions | |
| REROOT_SubVolPos (SUBVOLPOS_DEF *) | |
| REROOT_SubVolPos () | |
| ~REROOT_SubVolPos () | |
| virtual void | accept (REROOT_Visitor &v) |
| void | clear () |
| void | printEvent (std::ostream &) const |
| Int_t | ID () const |
| const Char_t * | VolName () const |
| Int_t | ICopy () const |
| const Char_t * | VolMother () const |
| Float_t | XPos () const |
| Float_t | YPos () const |
| Float_t | ZPos () const |
| Int_t | IRot () const |
| const Char_t * | Only () const |
Private Member Functions | |
| void | init () |
Private Attributes | |
| Int_t | m_ID |
| Char_t | m_VolName [5] |
| Int_t | m_ICopy |
| Char_t | m_VolMother [5] |
| Float_t | m_XPos |
| Float_t | m_YPos |
| Float_t | m_ZPos |
| Int_t | m_IRot |
| Char_t | m_Only [5] |
|
|
Definition at line 59 of file REROOT_SubVolPos.cxx. References init(). 00060 {
00061 m_ID = nr->ID - 1; // C index
00062 m_ICopy = nr->ICopy - 1; // C index
00063 m_XPos = nr->XPos;
00064 m_YPos = nr->YPos;
00065 m_ZPos = nr->ZPos;
00066 m_IRot = nr->IRot - 1; // C index
00067
00068 // Fill String objects for char vectors from SubVolPos struct.
00069 Int_t i; // Keep this declaration here for scope outside for-loops.
00070 for (i=0; i<4; i++) {
00071 if (nr->VolName[i]=='\0' || nr->VolName[i]==' ') break;
00072 m_VolName[i] = nr->VolName[i];
00073 }
00074 m_VolName[i] = '\0';
00075 for (i=0; i<4; i++) {
00076 if (nr->VolMother[i]=='\0' || nr->VolMother[i]==' ') break;
00077 m_VolMother[i] = nr->VolMother[i];
00078 }
00079 m_VolMother[i] = '\0';
00080 for (i=0; i<4; i++) {
00081 if (nr->Only[i]=='\0' || nr->Only[i]==' ') break;
00082 m_Only[i] = nr->Only[i];
00083 }
00084 m_Only[i] = '\0';
00085
00086 init();
00087 }
|
|
|
Definition at line 89 of file REROOT_SubVolPos.cxx. 00090 {
00091 }
|
|
|
Definition at line 97 of file REROOT_SubVolPos.cxx. 00098 {
00099 }
|
|
|
Definition at line 36 of file REROOT_SubVolPos.h. References REROOT_Visitor::visit(). 00036 { v.visit(this); }
|
|
|
Definition at line 101 of file REROOT_SubVolPos.cxx. 00102 {
00103 }
|
|
|
Definition at line 44 of file REROOT_SubVolPos.h. 00044 {return m_ICopy; } // ICopy
|
|
|
Definition at line 42 of file REROOT_SubVolPos.h. 00042 {return m_ID; } // ID
|
|
|
Definition at line 93 of file REROOT_SubVolPos.cxx. 00094 {
00095 }
|
|
|
Definition at line 49 of file REROOT_SubVolPos.h. 00049 {return m_IRot; } // IRot
|
|
|
Definition at line 50 of file REROOT_SubVolPos.h. 00050 {return m_Only; } // Only[5]
|
|
|
Definition at line 105 of file REROOT_SubVolPos.cxx. 00106 {
00107 pstream << "====================== SubVolPos =====================\n";
00108 }
|
|
|
Definition at line 45 of file REROOT_SubVolPos.h. 00045 {return m_VolMother; } // VolMother[5]
|
|
|
Definition at line 43 of file REROOT_SubVolPos.h. 00043 {return m_VolName; } // VolName[5]
|
|
|
Definition at line 46 of file REROOT_SubVolPos.h. 00046 {return m_XPos; } // XPos
|
|
|
Definition at line 47 of file REROOT_SubVolPos.h. 00047 {return m_YPos; } // YPos
|
|
|
Definition at line 48 of file REROOT_SubVolPos.h. 00048 {return m_ZPos; } // ZPos
|
|
|
Definition at line 21 of file REROOT_SubVolPos.h. |
|
|
Definition at line 19 of file REROOT_SubVolPos.h. |
|
|
Definition at line 26 of file REROOT_SubVolPos.h. |
|
|
Definition at line 27 of file REROOT_SubVolPos.h. |
|
|
Definition at line 22 of file REROOT_SubVolPos.h. |
|
|
Definition at line 20 of file REROOT_SubVolPos.h. |
|
|
Definition at line 23 of file REROOT_SubVolPos.h. |
|
|
Definition at line 24 of file REROOT_SubVolPos.h. |
|
|
Definition at line 25 of file REROOT_SubVolPos.h. |
1.3.9.1