Hi,
here are some advices
- open your file
- find the tree you wish
- do
YourTree.MakeClass("NameOfTheTreeForExample")
==>it creates a .C and .h
then edit the loop() method in the C
and do some cuts to write your favorite reduced ntuple
regards
asaddiqu_at_ualberta.ca a écrit :
> Hi,
>
> I am a new user of root and may have a basic question. In my analysis
> i have to apply some offline cuts on the data and then i want to write
> a data file which will be smaller one. Then for the next time i will
> always start my analysis from that smaller file because it will save
> my time. So, how can i write that smaller file after some cuts? It is
> like filtering of data.
>
> Cheers, Asif
>
> University of Alberta.
>
Received on Wed Jan 06 2010 - 17:10:56 CET