Dear experts,
suppose I have defined the following TTree structure:
tree->Branch("njt", &njt_, "njt/I");
tree->Branch("jtrank", jtrank_, "jtrank[njt]/b");
tree->Branch("jte", jte_, "jte[njt]/F");
tree->Branch("jtpt", jtpt_, "jtpt[njt]/F");
tree->Branch("jteta", jteta_, "jteta[njt]/F");
tree->Branch("jtphi", jtphi_, "jtphi[njt]/F");
And then do
I would have expected that for each event, the pT of all those entries would be drawn for which |eta|<2.5.
Unfortunately, it appears that all pT will be considered for events where at least one array entry fulfills the eta requirement.
Is there a way to achieve what I was expecting instead?
Thanks,
Philipp