Hi rooters, I tried to project a chain on a predefined histo without success. Here is what I did: { gROOT->Reset(); // Create the chain as above TChain chain("Events") chain.Add("Pseudoelectron_0_0_7_1000to1009_w0.root"); chain.Add("Pseudoelectron_0_0_7_1130to1139_w0.root"); // Create an histogram TH1F *helectron = new TH1F("helectron","Triggered electrons",50,0,5); // Project the chain chain.Draw("180.0*fTheta/3.1415 >>+ helectron "); // Draw the histogram helectron ->Draw(); } The histogram I got seems to contain only the events in the second file. My data are: PC Pentium IV Linux RedHat 7.2 ROOT Version 3.02/07 7 February 2003 What did I do wrong ? Thanks a lot in advance. Regards, ciro
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET