Fork me on GitHub

Changeset 91 in svn for trunk/interface/FuncDef.h


Ignore:
Timestamp:
Dec 9, 2008, 10:22:42 AM (16 years ago)
Author:
severine ovyn
Message:

for resol plots

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/interface/FuncDef.h

    r39 r91  
    7979
    8080  string nom = histo.erase(0,histo.find(">>")+2);
    81   TH1F *h = new TH1F(nom.c_str(),"",50,-3,3);
     81  TH1F *h = new TH1F(nom.c_str(),"",50,-1,3);
    8282
    8383  string all = min + " && " + max;
     
    8585  h->SetMarkerSize(0.6);
    8686  double MeanFix = h->GetMean();
    87   TF1 *Gauss = new TF1("Gauss","gaus",-3,3);
     87  TF1 *Gauss = new TF1("Gauss","gaus",-1,3);
    8888  Gauss->FixParameter(1,MeanFix);
    8989  h->Fit("Gauss","QR");
Note: See TracChangeset for help on using the changeset viewer.