Difference: HUSUSYRoot (3 vs. 4)

Revision 42009-06-30 - AnitaKapusi

Line: 1 to 1
 
META TOPICPARENT name="SusySearch"

How to use Root:


http://root.cern.ch/

"How to" page:
http://root.cern.ch/drupal/content/howtos
User's guide:
http://root.cern.ch/drupal/content/users-guide
Reference guide:
http://root.cern.ch/drupal/content/reference-guide

Changed:
<
<

Run it:

>
>

Run the Root:

root -l
 
Deleted:
<
<
root -l
 
Open a file:

TFile *_file0 = TFile::Open("..... .root")

Line: 31 to 31
 
Draw a histogram:
Changed:
<
<
< name of the tree in the file >.Draw("< name of a Branch >.< name of a leaf >") 2D histogram:
< name of the tree in the file >. Draw("< name of a Branch1 >.< name of a leaf1 >:< name of a Branch2 >.< name of a leaf2 >")
>
>
< name of the tree in the file >.Draw("< name of a Branch >.< name of a leaf >")
 
Changed:
<
<
histogram with cut criteria:
< name of the tree in the file >.Draw("< name of a Branch1 >.< name of a leaf1 >,< name of a Branch2 >.< name of a leaf2 >< cut criteria>")
>
>
2D histogram:
 
Changed:
<
<
draw two histogram in one canvas:
< name of the tree in the file >.Draw("< name of a Branch1 >.< name of a leaf1 >")
>
>
< name of the tree in the file >. Draw("< name of a Branch1 >.< name of a leaf1 >:< name of a Branch2 >.< name of a leaf2 >")

histogram with cut criteria:

< name of the tree in the file >.Draw("< name of a Branch1 >.< name of a leaf1 >,< name of a Branch2 >.< name of a leaf2 >< cut criteria>")

draw two histogram in one canvas:

< name of the tree in the file >.Draw("< name of a Branch1 >.< name of a leaf1 >")

  < name of the tree in the file >.Draw("< name of a Branch2 >.< name of a leaf2 > ","","SAME")
e.g.:
tree.Draw("pelectron_1.tight: pelectron_1.loose ","pelectron_1.tight>-1")
Open an AOD file in root:
 
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback