User Tools

Site Tools


root:chain

Differences

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

Link to this comparison view

Next revisionBoth sides next revision
root:chain [2009/06/22 10:00] – created decianmroot:chain [2009/06/22 10:06] decianm
Line 16: Line 16:
 </code> </code>
  
 +===== Accessing the chain ===== 
 +All the trees in the chain can be accessed the same way as it is done with trees, for example: 
 +<code> 
 +myChain->Draw("B_M"); 
 +</code> 
 +to make a histogram with the B-mass. 
 +''Note'': The first time you access the chain, it takes a little longer, as the file has to be checked (there is a way around this, but it hasn't worked 
 +out yet...)
root/chain.txt · Last modified: 2009/06/22 10:07 by decianm