Generating libXX.rootmap

From: Venkatesh Kaushik <venkat.kaushik_at_cern.ch>
Date: Tue, 12 Jan 2010 10:02:01 -0700


Hi,
I have a TTree with user-defined objects. I would like to provide a way of loading the tree without the user getting such warnings:
Attaching file SimpleFastReco_3981.root as _file0... Warning in <TClass::TClass>: no dictionary for class RunInfo is available

In the interactive root session I have to do something along the following lines
to get rid of the warning:

[] gSystem->Load("libHist.so");
   gSystem->Load("libmumutil.so")
   gSystem->Load("libmumcore.so");

and then read the tree.
  1. Is it possible to load these automatically when the user opens the root file containing this tree?
  2. Is having a .rootmap file a solution? and if so how is it done? Thanks for your help. Regards, Venkat

PS: The output and the program are not exactly small, so I cannot attach more
info other than providing the link to svn (where the code is) if necessary. Link to SVN:
https://svnweb.cern.ch/cern/wsvn/atlasgrp/Institutes/Arizona/micromegas/trunk/#path_Institutes_Arizona_micromegas_trunk_ Received on Tue Jan 12 2010 - 18:02:14 CET

This archive was generated by hypermail 2.2.0 : Tue Jan 12 2010 - 23:50:01 CET