Error in accessing branch W1 of simulated root file.
Created by: mustak21
Hi,
I have the root file generated after simulation of a reaction. The branches are the various detectors namely AnnularS1,W1,SSSD etc. I wrote a macro which needs to access the leaves of the branch of W1. However on executing the macro I am getting the error
> use of undeclared identifier 'W1'
t0->SetBranchAddress("W1",&W1);
So where is the variable W1 defined ?
I am attaching the macro . W1_theta.pdf