[ROOT] draw option after TH1::Sumw2() call

From: Miroslav Helbich (lhelbich@znev08.desy.de)
Date: Thu Apr 10 2003 - 16:44:19 MEST


 Dear all (mainly developers),


   I encountered a following feature: After calling TH1::Sumw2() method so
that my error bars after reweighting are calculated correctly I can only
draw the histogram with errors (e.g. draw option "E" is set
automatically! and I cannot use options like "L" or "C"). 
Is there a way to go around? Can it be changed in the next release?

TH1F* hh = new TH1F("hh","",10,0.,10.);
hh->Sumw2();
hh->Fill(4.5,0.5);
hh->Fill(5.5,0.3);    
hh->Draw("L"); // draws as with "E"

 I am using version 3.05/02 on Suse Linux,


						Miro



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:10 MET