Hi - I'm trying to make some sense of the TSelector class. I'm using ROOT version 3.03/06. I generated a selector using myChain->MakeSelector("mySelector"); In mySelector.C, the comments says: // ProcessCut(): called at the beginning of each entry to return a flag, // true if the entry must be analyzed. // ProcessFill(): called in the entry loop for all entries accepted // by Select. It's not clear what "Select" means above. Further down in mySelector.C, there are three Process methods: Process(),ProcessCut(),and ProcessFill(). For ProcessFill(), it says: // Read branches not processed in ProcessCut() and fill histograms. I don't quite understand the point of all this. What is the point of Process()? Also - why does one need a separate ProcessCut() and ProcessFill()? Since you are using if statements in ProcessCut(), you can fill either histos for events that pass the cuts, or different histos for events that don't pass the cuts. Thanks for any help. -Ed
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:51:05 MET