Re: How to make smaller data files?

From: Marc Escalier <escalier_at_lal.in2p3.fr>
Date: Wed, 6 Jan 2010 17:07:33 +0100


Hi,

here are some advices

  1. open your file
  2. find the tree you wish
  3. 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

This archive was generated by hypermail 2.2.0 : Wed Jan 06 2010 - 23:50:01 CET