I have a macro with a header file named PtCorr_mix.h, I’m trying to read a root file and attach the tree chain via the header file and proceed to analyze it in the macro. But I am unable to read the contents of the root file in the macro.
Please help me in figuring out what the issue is.
Im attaching the file here, and I run PtCorr_mix.C using sh run_mpt_mix.sh
Hi @Wile_E_Coyote , Thanks a lot!, this works perfectly.
If it’s not too much, could you explain the SetMakeClass() part, I can’t seem to understand that one.
Best,
Rutik