ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/UHHAnalysis/SFramePlotter/FileParser.cxx
(Generate patch)

Comparing UserCode/UHHAnalysis/SFramePlotter/FileParser.cxx (file contents):
Revision 1.3 by rkogler, Wed Feb 27 14:32:39 2013 UTC vs.
Revision 1.4 by rkogler, Tue May 14 13:14:27 2013 UTC

# Line 225 | Line 225 | TH1* FileParser::Rebin(TH1* hist, TStrin
225  
226   }
227  
228 < void FileParser::SetInfo(TString legname, double weight, int colour, int marker)
228 > void FileParser::SetInfo(TString legname, double weight, int colour, int marker, float unc)
229   {
230    
231    for (int i=0; i<m_hists->GetEntries(); ++i){
232      SHist* sh = (SHist*)m_hists->At(i);
233      sh->SetLegName(legname);
234      sh->SetWeight(weight);
235 +    sh->SetUnc(unc);
236      if (weight>0) sh->GetHist()->Scale(weight);
237      sh->GetHist()->SetMarkerColor(colour);
238      sh->GetHist()->SetLineColor(colour);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines