Dear Rooters,
I am trying to run root code on different input rootfiles, which differs in some input variables. Means some are having 100 variables and some are having say 110 variables(10 different/new than others). Now When I run my code on all input files together , it is running but giving me warning error messages below
Error in <TTree::SetBranchStatus>: unknown branch -> Branch Name
This is understood because some input files may not be having these variables. I want to get rid of these and for that, I did
fChain->SetBranchStatus("*",0);
fChain->SetBranchStatus("RunNumber",1);
and so on...... i.e red only those branches which are of interest.
But after that also, it is complaining same. It is reading those variables which I dont need and which are not in some of the input variables.
What should I do.
cheers
Harinder Received on Mon Oct 18 2010 - 11:20:40 CEST
This archive was generated by hypermail 2.2.0 : Mon Oct 18 2010 - 17:50:02 CEST