Tuesday, November 02, 2004

So the analysis

Ok so I've chained together my 5 .ntpl files (output of CMKIN), into a file called analysis.root (which is what the h101 object uses) and I now want to analyise them, here's how.

Open root:
> root 


Instantiate a h101 object and run its loop method:

// This loads the class files from the directory above
root [3] .L ../h101.C
// This makes our h101 object
root [4] h101 c
// This runs the loop method of the h101 object, which makes the graphs etc.
root [5] c.Loop()

No comments: