Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v30r3 (a5ef0a68)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
GaudiRoot Namespace Reference

Classes

class  IOHandler
 
union  RefAccessor
 

Functions

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

Function Documentation

bool GaudiRoot::patchStreamers ( MsgStream log)

Definition at line 214 of file RootIOHandler.cpp.

215  {
216  static bool first = true;
217  if ( first ) {
218  first = false;
219 #if ROOT_VERSION_CODE < ROOT_VERSION( 5, 99, 0 )
220  gSystem->Load( "libCintex" );
221  gROOT->ProcessLine( "Cintex::Cintex::Enable()" );
222  gROOT->ProcessLine( "#include <vector>" );
223  gInterpreter->EnableAutoLoading();
224  gInterpreter->AutoLoad( "DataObject" );
225  gInterpreter->AutoLoad( "PoolDbLinkManager" );
226  gSystem->Load( "libGaudiKernelDict" );
227  gSystem->Load( "libGaudiExamplesDict" );
228 #else
229  gInterpreter->EnableAutoLoading();
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  }
string s
Definition: gaudirun.py:253
void GaudiRoot::popCurrentDataObject ( )

Definition at line 41 of file RootIOHandler.cpp.

42  {
44  resetLastLink();
45  }
GAUDI_API void popCurrentDataObject()
void resetLastLink()
void GaudiRoot::pushCurrentDataObject ( DataObject **  pobjAddr)

Definition at line 36 of file RootIOHandler.cpp.

37  {
38  Gaudi::pushCurrentDataObject( pobjAddr );
39  resetLastLink();
40  }
GAUDI_API void pushCurrentDataObject(DataObject **pobjAddr)
void resetLastLink()
void GaudiRoot::resetLastLink ( )

Definition at line 31 of file RootIOHandler.cpp.

32  {
33  last_link_object = nullptr;
34  last_link_hint = -1;
35  }