This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| root:chain [2009/06/22 10:00] – created decianm | root:chain [2009/06/22 10:07] (current) – decianm | ||
|---|---|---|---|
| Line 16: | Line 16: | ||
| </ | </ | ||
| + | ===== Accessing the chain ===== | ||
| + | All the trees in the chain can be accessed the same way as it is done with trees, for example: | ||
| + | < | ||
| + | myChain-> | ||
| + | </ | ||
| + | to make a histogram with the B-mass. | ||
| + | **Note**: The first time you access the chain in a ROOT session, 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...) | ||