ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/cbrown/Development/Plotting/Modules/SampleClass.C
(Generate patch)

Comparing UserCode/cbrown/Development/Plotting/Modules/SampleClass.C (file contents):
Revision 1.24 by buchmann, Mon Jan 21 14:42:04 2013 UTC vs.
Revision 1.25 by buchmann, Thu Jan 24 08:20:00 2013 UTC

# Line 611 | Line 611 | TLegend* samplecollection::allbglegend(s
611   }
612  
613   TLegend* samplecollection::allbglegend(string title="",float posx=0.65, float posy=0.60) {
614 //   Int_t currlevel=gErrorIgnoreLevel;
615 //   gErrorIgnoreLevel=5000;
614    TH1F *blub = new TH1F("nothing","nothing",1,0,1);
617 //   gErrorIgnoreLevel=currlevel;//we know this possibly replaces a previous histo, but we don't care since it's fake anyway.
615    TLegend *leg = this->allbglegend(title,blub,posx,posy);
616 <  delete blub;
616 >  PlottingSetup::FakeHistoHeap.push_back(blub);
617    return leg;
618   }
619  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines