237 |
ev[0]=0; |
ev[0]=0; |
238 |
records[0]=0; |
records[0]=0; |
239 |
OBT[0]=tmr->TM_RECORD_OBT; |
OBT[0]=tmr->TM_RECORD_OBT; |
240 |
}else if (fmod(i, 35)==0 || ((tmr->TM_RECORD_OBT)<OBT[i-1]) || (i==(size-1)) ){ |
}else if (fmod(i, 30)==0 || ((tmr->TM_RECORD_OBT)<OBT[i-1]) || (i==(size-1)) ){ |
241 |
//}else if ((fmod(i, 20)==0) || (i==(size-1)) ){ |
//}else if ((fmod(i, 20)==0) || (i==(size-1)) ){ |
242 |
tot=tot+1; |
tot=tot+1; |
243 |
if (recordstotmax<recordstot) recordstotmax=recordstot; |
if (recordstotmax<recordstot) recordstotmax=recordstot; |
727 |
Canvasthdea->cd(k+1); |
Canvasthdea->cd(k+1); |
728 |
|
|
729 |
TGraph *threcord = new TGraph(recordstot, xrecordobtth_1, ythana_1); |
TGraph *threcord = new TGraph(recordstot, xrecordobtth_1, ythana_1); |
730 |
threcord->SetLineColor(kBlue); |
// threcord->SetLineColor(kBlue); |
731 |
|
threcord->SetMarkerSize(0.2); |
732 |
threcord->SetMarkerColor(kBlue); |
threcord->SetMarkerColor(kBlue); |
733 |
threcord->SetMarkerStyle(21); |
threcord->SetMarkerStyle(21); |
734 |
threcord->SetMinimum(-10); |
threcord->SetMinimum(-10); |
748 |
pt->AddText("OFF"); |
pt->AddText("OFF"); |
749 |
pt->SetBorderSize(1); |
pt->SetBorderSize(1); |
750 |
pt->Draw(); |
pt->Draw(); |
751 |
threcord->Draw("ACsame"); |
threcord->Draw("APsame"); |
752 |
TF1 *func1 = new TF1("func1", "50"); |
TF1 *func1 = new TF1("func1", "50"); |
753 |
func1->SetRange(xmin,xmax); |
func1->SetRange(xmin,xmax); |
754 |
func1->SetLineColor(2); |
func1->SetLineColor(2); |
761 |
pt->AddText("OFF"); |
pt->AddText("OFF"); |
762 |
pt->SetBorderSize(1); |
pt->SetBorderSize(1); |
763 |
pt->Draw(); |
pt->Draw(); |
764 |
threcord->Draw("ACsame"); |
threcord->Draw("APsame"); |
765 |
TF1 *func1 = new TF1("func1", "45"); |
TF1 *func1 = new TF1("func1", "45"); |
766 |
func1->SetRange(xmin,xmax); |
func1->SetRange(xmin,xmax); |
767 |
func1->SetLineColor(2); |
func1->SetLineColor(2); |
795 |
pt1->Draw(); |
pt1->Draw(); |
796 |
|
|
797 |
TGraph *dearecord = new TGraph(recordstot, xrecordobtdea_1, ydea_1); |
TGraph *dearecord = new TGraph(recordstot, xrecordobtdea_1, ydea_1); |
798 |
dearecord->SetLineColor(kBlue); |
//dearecord->SetLineColor(kBlue); |
799 |
dearecord->SetLineWidth(1); |
//dearecord->SetLineWidth(1); |
800 |
dearecord->SetMarkerStyle(21); |
dearecord->SetMarkerStyle(21); |
801 |
dearecord->SetMarkerSize(0.5); |
dearecord->SetMarkerSize(0.5); |
802 |
dearecord->SetMarkerColor(kBlue); |
dearecord->SetMarkerColor(kBlue); |
809 |
oss.str(""); |
oss.str(""); |
810 |
oss << filename.Data()<<": IPM "<<k+1<<" output"; |
oss << filename.Data()<<": IPM "<<k+1<<" output"; |
811 |
dearecord->SetTitle(oss.str().c_str()); |
dearecord->SetTitle(oss.str().c_str()); |
812 |
dearecord->Draw("ACPLsame"); |
dearecord->Draw("APsame"); |
813 |
|
//dearecord->Draw("ACPLsame"); |
814 |
|
|
815 |
Double_t xmin=dearecord->GetXaxis()->GetXmin(); |
Double_t xmin=dearecord->GetXaxis()->GetXmin(); |
816 |
Double_t xmax=dearecord->GetXaxis()->GetXmax(); |
Double_t xmax=dearecord->GetXaxis()->GetXmax(); |