Hi Davide, This new function generated by MakeSelector was introduced in 3.03/09 in view of PROOF. The comments in the generated code are a bit misleading and will be improved. We will provide a documentation on how to use this facility with PROOF when a working version of PROOF will be released. Continue to use the ProcessCut function for the time being. Rene Brun On Fri, 22 Nov 2002, Davide Grandi wrote: > Dear rooters, > in the new version of root (3.03.09 on a Linux machine, Intel 2.0 > Ghz double processor) using MakeSelector there is a new bool part of the > .C file, essentially the Process part (see below). Sorry for my ignorance > but what is the main difference with ProcessCut (it is not mentioned in > the example in the Users Guide...)? > > Bool_t test2::Process(Int_t entry) > { > // Processing function. > // Entry is the entry number in the current tree. > // Read only the necessary branches to select entries. > // To read complete event, call fChain->GetTree()->GetEntry(entry). > // Return kFALSE as stop processing. > > } > > Bool_t test2::ProcessCut(Int_t entry) > { > // Selection function. > // Entry is the entry number in the current tree. > // Read only the necessary branches to select entries. > // Return kFALSE as soon as a bad entry is detected. > // To read complete event, call fChain->GetTree()->GetEntry(entry). > > return kTRUE; > } > > > Thanks > > Davide Grandi > > > ********************************************************************** > $ Davide Grandi % > $ INFN Milano e-mail Davide.Grandi@mib.infn.it % > $ P.zza delle Scienze 3 phone +39 02 6448 2306 % > $ 20126 MILANO fax +39 02 6448 2367 % > $ ITALY % > $ % > $ at CERN e-mail Davide.Grandi@cern.ch % > $ CH-1211 Geneve CH phone +41 22 767 9403 % > $ Bldg. 506 room R018 % > $ or phone +41 22 767 7560 % > $ Bldg. 576 room R002 % > &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& > >
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:20 MET