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”.
W1_theta.C (1.1 KB)
Bedp.root (2.8 MB)