Opened 10 years ago
Closed 10 years ago
#418 closed How to (fixed)
Automatic generation of Delphes analysis class
Reported by: | Bjoern Penning | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Delphes code | Version: | Delphes 3 |
Keywords: | Cc: |
Description
Hi
One of my students is working with older code using an automatically created tree reader for the delpes_output.root files. Switching to a more recent Delphes version and rerunning Delphes manually (not in Madgraph) this code now crashes because the Tree has changed and when obtaining an entry root crashes. Can someone please remind me how to automatically create this delphes helper class?
It is the one starting with:
This class has been automatically generated on
Sat Sep 13 23:24:37 2014 by ROOT version 5.34/19
from TTree Delphes/Analysis tree
found on file: tag_1_delphes_events.root
Thanks, Cheers
Bjoern
Change History (2)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
There are two methods: TTree::MakeClass and TTree::MakeSelector
You can find more information at
https://root.cern.ch/root/html534/guides/users-guide/Trees.html#using-ttreemakeclass
https://root.cern.ch/root/html534/guides/users-guide/Trees.html#using-ttreemakeselector