About MakeClass

Demo: Building Chains
{
gROOT->LoadMacro("$ROOTSYS/test/libEvent.so");
TChain chain(“T”) ;
chain->Add(“EventOB.root”) ;
chain->Add(“EventOB40.root”);
chain->Add(“EventOB50.root”);
chain->GetListOfFiles()->Print();
chain->MakeClass(“ChainClass”);
}

What’s the line ( “gROOT->LoadMacro(”$ROOTSYS/test/libEvent.so");" ) used for?
Can the line be deleted when do the above?
Why I can not find the $ROOTSYS/test/libEvent.so in cern(lxplus)?

[quote]Can the line be deleted when do the above?
[/quote]See
root.cern.ch/phpBB2/viewtopic.php?t=6135

[quote]Why I can not find the $ROOTSYS/test/libEvent.so in cern(lxplus)?[/quote]It is not build there. Simply do:cp -rp $ROOTSYS/test /your/directory cd /your/directory/test gmake Event

Cheers,
Philippe

after gmake Events
Do you know how to load the libEvents.so?
I try to load it , but it can not find the libEvents.so which stored under my directory.

Humm, In your post text you use the word ‘Events’ with a trailing ‘s’. If it reflect what you actually type, this extra ‘s’ would be the problem (the makefile target is ‘Event’ and the library name is ‘libEvent.so’)

Cheers,
Philipp;le