The Gaudi Framework  master (ff829712)
Loading...
Searching...
No Matches
GaudiRoot Namespace Reference

Classes

class  IOHandler
 
union  RefAccessor
 

Functions

bool patchStreamers (MsgStream &log)
 
void resetLastLink ()
 
void pushCurrentDataObject (DataObject **pobjAddr)
 
void popCurrentDataObject ()
 

Function Documentation

◆ patchStreamers()

bool GaudiRoot::patchStreamers ( MsgStream & log)

Definition at line 211 of file RootIOHandler.cpp.

211 {
212 static bool first = true;
213 if ( first ) {
214 first = false;
215#if ROOT_VERSION_CODE < ROOT_VERSION( 5, 99, 0 )
216 gSystem->Load( "libCintex" );
217 gROOT->ProcessLine( "Cintex::Cintex::Enable()" );
218 gROOT->ProcessLine( "#include <vector>" );
219 gInterpreter->EnableAutoLoading();
220 gInterpreter->AutoLoad( "DataObject" );
221 gInterpreter->AutoLoad( "PoolDbLinkManager" );
222 gSystem->Load( "libGaudiKernelDict" );
223 gSystem->Load( "libGaudiTestSuiteDict" );
224#else
225# if ROOT_VERSION_CODE < ROOT_VERSION( 6, 19, 0 )
226 gInterpreter->EnableAutoLoading();
227# else
228 gInterpreter->LoadLibraryMap();
229# endif
230 gInterpreter->AutoLoad( "DataObject" );
231 gInterpreter->AutoLoad( "PoolDbLinkManager" );
232#endif
233
234 bool b1 = makeStreamer<SmartRefBase>( s );
235 bool b2 = makeStreamer<ContainedObject>( s );
236 bool b3 = makeStreamer<pool::Token>( s );
237 return b1 && b2 && b3;
238 }
239 return true;
240 }

◆ popCurrentDataObject()

void GaudiRoot::popCurrentDataObject ( )

Definition at line 48 of file RootIOHandler.cpp.

48 {
51 }
GAUDI_API void popCurrentDataObject()
void resetLastLink()

◆ pushCurrentDataObject()

void GaudiRoot::pushCurrentDataObject ( DataObject ** pobjAddr)

Definition at line 44 of file RootIOHandler.cpp.

44 {
47 }
GAUDI_API void pushCurrentDataObject(DataObject **pobjAddr)

◆ resetLastLink()

void GaudiRoot::resetLastLink ( )

Definition at line 40 of file RootIOHandler.cpp.

40 {
41 last_link_object = nullptr;
42 last_link_hint = -1;
43 }