Lisa Gerhardt
2012-11-27 17:55:56 UTC
Hello,
I'm working with root v5.34/01. I'm trying to use the TMVA routines with
a series of root files that are chained together. I'm having trouble
getting access to the tree. In the TMVA code, the line is:
factory->AddSignalTree ( (TTree*)my_chain_name->Get("my_tree_name") );
However, this doesn't work for chains. I tried my_chain_name->GetTree(),
but this returns "(const class TTree*)0x0". Is there some way to get
access to the Tree for multiple files chained together? Or do I have to
merge these files into a single big file?
Thanks,
Lisa
I'm working with root v5.34/01. I'm trying to use the TMVA routines with
a series of root files that are chained together. I'm having trouble
getting access to the tree. In the TMVA code, the line is:
factory->AddSignalTree ( (TTree*)my_chain_name->Get("my_tree_name") );
However, this doesn't work for chains. I tried my_chain_name->GetTree(),
but this returns "(const class TTree*)0x0". Is there some way to get
access to the Tree for multiple files chained together? Or do I have to
merge these files into a single big file?
Thanks,
Lisa