The Gaudi Framework  v31r0 (aeb156f0)
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 201 of file RootIOHandler.cpp.

201  {
202  static bool first = true;
203  if ( first ) {
204  first = false;
205 #if ROOT_VERSION_CODE < ROOT_VERSION( 5, 99, 0 )
206  gSystem->Load( "libCintex" );
207  gROOT->ProcessLine( "Cintex::Cintex::Enable()" );
208  gROOT->ProcessLine( "#include <vector>" );
209  gInterpreter->EnableAutoLoading();
210  gInterpreter->AutoLoad( "DataObject" );
211  gInterpreter->AutoLoad( "PoolDbLinkManager" );
212  gSystem->Load( "libGaudiKernelDict" );
213  gSystem->Load( "libGaudiExamplesDict" );
214 #else
215  gInterpreter->EnableAutoLoading();
216  gInterpreter->AutoLoad( "DataObject" );
217  gInterpreter->AutoLoad( "PoolDbLinkManager" );
218 #endif
219 
220  bool b1 = makeStreamer<SmartRefBase>( s );
221  bool b2 = makeStreamer<ContainedObject>( s );
222  bool b3 = makeStreamer<pool::Token>( s );
223  return b1 && b2 && b3;
224  }
225  return true;
226  }
string s
Definition: gaudirun.py:312
void GaudiRoot::popCurrentDataObject ( )

Definition at line 38 of file RootIOHandler.cpp.

38  {
40  resetLastLink();
41  }
GAUDI_API void popCurrentDataObject()
void resetLastLink()
void GaudiRoot::pushCurrentDataObject ( DataObject **  pobjAddr)

Definition at line 34 of file RootIOHandler.cpp.

34  {
35  Gaudi::pushCurrentDataObject( pobjAddr );
36  resetLastLink();
37  }
GAUDI_API void pushCurrentDataObject(DataObject **pobjAddr)
void resetLastLink()
void GaudiRoot::resetLastLink ( )

Definition at line 30 of file RootIOHandler.cpp.

30  {
31  last_link_object = nullptr;
32  last_link_hint = -1;
33  }