19    if (reject && 
x[0] > 2.5 && 
x[0] < 3.5) {
 
   23   return par[0] + par[1]*
x[0];
 
   28   TF1 *
f1 = 
new TF1(
"f1",
"[0] +[1]*x +gaus(2)",0,5);
 
   31   TH1F *
h = 
new TH1F(
"h",
"background + signal",100,0,5);
 
   32   h->FillRandom(
"f1",2000);
 
   33   TF1 *fl = 
new TF1(
"fl",fline,0,5,2);
 
   40   TF1 *fleft = 
new TF1(
"fleft",fline,0,2.5,2);
 
   42   h->GetListOfFunctions()->Add(fleft);
 
   43   gROOT->GetListOfFunctions()->Remove(fleft);
 
   44   TF1 *fright = 
new TF1(
"fright",fline,3.5,5,2);
 
   46   h->GetListOfFunctions()->Add(fright);
 
   47   gROOT->GetListOfFunctions()->Remove(fright);
 
static void RejectPoint(Bool_t reject=kTRUE)
Static function to set the global flag to reject points the fgRejectPoint global flag is tested by al...
virtual Double_t * GetParameters() const
virtual void SetParameters(const Double_t *params)
1-D histogram with a float per channel (see TH1 documentation)}