527 |
// |
// |
528 |
if ( !bdone ){ |
if ( !bdone ){ |
529 |
Baseline->Fill(ce->base[l][ii][bl]); |
Baseline->Fill(ce->base[l][ii][bl]); |
530 |
if ( ce->base[l][ii][bl] > 2000. && ce->base[l][ii][bl] < 4500. ){ |
if ( ce->base[l][ii][bl] > 2000. && ce->base[l][ii][bl] < 5500. ){ |
531 |
inbase++; |
inbase++; |
532 |
} else { |
} else { |
533 |
outbase++; |
outbase++; |
1080 |
Baseline->SetYTitle("Number of events"); |
Baseline->SetYTitle("Number of events"); |
1081 |
Baseline->Draw(); |
Baseline->Draw(); |
1082 |
h1max = Baseline->GetMaximum()*1.05; |
h1max = Baseline->GetMaximum()*1.05; |
1083 |
Double_t xc[4] = {2000.,4500.,4500.,2000.}; |
Double_t xc[4] = {2000.,5500.,5500.,2000.}; |
1084 |
Double_t yc[4] = {0.,0.,h1max,h1max}; |
Double_t yc[4] = {0.,0.,h1max,h1max}; |
1085 |
banda1 = new TPolyLine(4,xc,yc); |
banda1 = new TPolyLine(4,xc,yc); |
1086 |
banda1->SetLineColor(5); |
banda1->SetLineColor(5); |