Hi,
I have a root file with TTree structure. The branches of this root file are various detectors (e.g AnnularS1,W1,SSSD etc) which contain other informations such as energy,strip number etc in its leaves. I wrote a macro to access the leaves of one of the detectors named W1 so that I can plot my required variables.
However on executing the macro I am getting the following errors
> use of undeclared identifier ‘W1’ t0->SetBranchAddress(“W1”,&W1);
I am attaching both the root file “7Bedp.root” and the macro “W1_theta.C”.
Hi,
Actually I am a bit confused as there are a lot of files associated with W1 detector. I am attaching one of such file where W1 is a class. Tell me if it is useful to you in any way?