The Gaudi Framework  master (37c0b60a)
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  {
50  resetLastLink();
51  }

◆ pushCurrentDataObject()

void GaudiRoot::pushCurrentDataObject ( DataObject **  pobjAddr)

Definition at line 44 of file RootIOHandler.cpp.

44  {
45  Gaudi::pushCurrentDataObject( pobjAddr );
46  resetLastLink();
47  }

◆ resetLastLink()

void GaudiRoot::resetLastLink ( )

Definition at line 40 of file RootIOHandler.cpp.

40  {
41  last_link_object = nullptr;
42  last_link_hint = -1;
43  }
gaudirun.s
string s
Definition: gaudirun.py:346
Gaudi::popCurrentDataObject
GAUDI_API void popCurrentDataObject()
CFinViewTest.b2
b2
Definition: CFinViewTest.py:99
GaudiRoot::resetLastLink
void resetLastLink()
Definition: RootIOHandler.cpp:40
Gaudi::pushCurrentDataObject
GAUDI_API void pushCurrentDataObject(DataObject **pobjAddr)
CFinViewTest.b1
b1
Definition: CFinViewTest.py:96