#include <REROOT_GAFKey.h>
Public Member Functions | |
| REROOT_GAFKey (GAFKEY_DEF *) | |
| REROOT_GAFKey () | |
| ~REROOT_GAFKey () | |
| virtual void | accept (REROOT_Visitor &v) |
| void | clear () |
| void | printEvent (std::ostream &) const |
| Int_t | ID () const |
| const Char_t * | Type () const |
| Int_t | Version () const |
| Int_t | RunNo () const |
| Int_t | EventNo () const |
| const Char_t * | Name () const |
Private Member Functions | |
| void | init () |
Private Attributes | |
| Int_t | m_ID |
| Char_t | m_Type [5] |
| Int_t | m_Version |
| Int_t | m_RunNo |
| Int_t | m_EventNo |
| Char_t | m_Name [33] |
|
|
Definition at line 61 of file REROOT_GAFKey.cxx. References init(). 00062 {
00063 m_ID = nr->ID - 1; // C index
00064 m_Version = nr->Version;
00065 m_RunNo = nr->RunNo;
00066 m_EventNo = nr->EventNo;
00067
00068 // Fill String objects for char vectors from GAFKey struct.
00069 Int_t i; // Keep this declaration here for scope outside for-loops.
00070 for (i=0; i<4; i++) {
00071 if (nr->Type[i]=='\0' || nr->Type[i]==' ') break;
00072 m_Type[i] = nr->Type[i];
00073 }
00074 m_Type[i] = '\0';
00075
00076 for (i=0; i<32; i++) {
00077 if (nr->Name[i]=='\0' || nr->Name[i]==' ') break;
00078 m_Name[i] = nr->Name[i];
00079 }
00080 m_Name[i] = '\0';
00081
00082 init();
00083 }
|
|
|
Definition at line 85 of file REROOT_GAFKey.cxx. 00086 {
00087 }
|
|
|
Definition at line 93 of file REROOT_GAFKey.cxx. 00094 {
00095 }
|
|
|
Definition at line 34 of file REROOT_GAFKey.h. References REROOT_Visitor::visit(). 00034 { v.visit(this); }
|
|
|
Definition at line 97 of file REROOT_GAFKey.cxx. 00098 {
00099 }
|
|
|
Definition at line 44 of file REROOT_GAFKey.h. Referenced by printEvent(), and MINFast::ProcessEvent(). 00044 {return m_EventNo; } // EventNo
|
|
|
Definition at line 40 of file REROOT_GAFKey.h. Referenced by printEvent(). 00040 {return m_ID; } // ID
|
|
|
Definition at line 89 of file REROOT_GAFKey.cxx. 00090 {
00091 }
|
|
|
Definition at line 45 of file REROOT_GAFKey.h. Referenced by printEvent(). 00045 {return m_Name; } // Name[33]
|
|
|
Definition at line 102 of file REROOT_GAFKey.cxx. References EventNo(), ID(), Name(), RunNo(), Type(), and Version(). Referenced by REROOT_UserVisitor::visit(). 00103 {
00104 pstream << "======================= GAFKey ======================\n";
00105 pstream << "GAFKey.ID = " << ID() << "\n";
00106 pstream << "GAFKey.vType() = " << Type() << "\n";
00107 pstream << "GAFKey.Version = " << Version() << "\n";
00108 pstream << "GAFKey.RunNo = " << RunNo() << "\n";
00109 pstream << "GAFKey.EventNo = " << EventNo() << "\n";
00110 pstream << "GAFKey.vName() = " << Name() << "\n";
00111 }
|
|
|
Definition at line 43 of file REROOT_GAFKey.h. Referenced by printEvent(), and MINFast::ProcessEvent(). 00043 {return m_RunNo; } // RunNo
|
|
|
Definition at line 41 of file REROOT_GAFKey.h. Referenced by printEvent(). 00041 {return m_Type; } // Type[5]
|
|
|
Definition at line 42 of file REROOT_GAFKey.h. Referenced by RerootExodus::PEC_pack(), and printEvent(). 00042 {return m_Version; } // Version
|
|
|
Definition at line 23 of file REROOT_GAFKey.h. |
|
|
Definition at line 19 of file REROOT_GAFKey.h. |
|
|
Definition at line 24 of file REROOT_GAFKey.h. |
|
|
Definition at line 22 of file REROOT_GAFKey.h. |
|
|
Definition at line 20 of file REROOT_GAFKey.h. |
|
|
Definition at line 21 of file REROOT_GAFKey.h. |
1.3.9.1