User Tools

Site Tools


root:addclasstoroot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
root:addclasstoroot [2008/12/01 16:29] decianmroot:addclasstoroot [2008/12/01 16:30] decianm
Line 104: Line 104:
  
 ==== Loading the Class in ROOT ==== ==== Loading the Class in ROOT ====
-  * Start ROOT and type '' .L libAnaClasses.so ''. You can write a [[root::rootlogonscript|Logon script for ROOT]] as well that will do this for you.+  * Start ROOT and type '' .L libAnaClasses.so ''. You can write a [[root::rootlogonscript|Logon script for ROOT]] that will do this for you.
   * Create an instance of your object. Type ''ana myanaclass''.   * Create an instance of your object. Type ''ana myanaclass''.
   * Execute the method. Type ''myanaclass.test()''. Now you should have successfully created a ROOT file named bla.root.   * Execute the method. Type ''myanaclass.test()''. Now you should have successfully created a ROOT file named bla.root.
root/addclasstoroot.txt · Last modified: 2011/03/08 12:42 by decianm