[ROOT] TChain and TEventList

From: Matthieu Guillo (guillo@jlab.org)
Date: Tue Oct 09 2001 - 20:17:44 MEST


Hi Rooters,

I would like to be sure of the behavior of a TEventList object when
applied to a TChain.

For instance if I have:

TChain chain("tree");
chain.Add("monbeau.root");
chain.Add("sapinroi.root");
chain.Add("desforets.root");

TCut neutron_cut = "(missppp.M2()>0.713)&&(missppp.M2()<0.974)";
tree->Draw(">> neutron_select", neutron_cut); 
TEventList* neutron_select = (TEventList*) gDirectory->Get("neutron_select");

tree->SetEventList(neutron_select);
tree->Draw("pp.M2()");


Does this work? I read somewhere in the ROOT talks that with tree friends
this can be a trouble, but what about TChain?

I am using ROOT 3.02

Thanks

Matthieu Guillo
University of South Carolina
Thomas Jefferson National Laboratory
Office 71 trailer 16
Phone: 757-269-5551



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:51:02 MET