Changeset 3091 for trunk/MagicSoft/Mars
- Timestamp:
- 02/11/04 14:48:59 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/CCDataCheck.C
r3083 r3091 34 34 //////////////////////////////////////////////////////////////////////////// 35 35 36 void CCDataCheck (const TString filename="CC_2003_11_30_20_29_20.root", const TString directory="../rootfiles/2003_12_01/")36 void CCDataCheck_new(const TString filename="CC_2003_11_30_20_29_20.root", const TString directory="../rootfiles/2003_12_01/") 37 37 { 38 38 // … … 40 40 // 41 41 MStatusDisplay *d = new MStatusDisplay; 42 d->SetTitle(Form("- %s -",filename)); 42 43 d->SetLogStream(&gLog, kTRUE); // Disables output to stdout 43 44 … … 570 571 axey->SetBinLabel(axey->FindFixBin(8),"SHUTD"); 571 572 axey->SetBinLabel(axey->FindFixBin(9),"N/A"); 573 axey->SetLabelSize(0.07); 572 574 hist->SetXTitle("Time"); 573 575 hist->SetYTitle(""); … … 588 590 axey->SetBinLabel(axey->FindFixBin(6),"Warm"); 589 591 axey->SetBinLabel(axey->FindFixBin(9),"n/a"); 592 axey->SetLabelSize(0.07); 590 593 hist->SetXTitle("Time"); 591 594 hist->SetYTitle(""); … … 608 611 axey->SetBinLabel(axey->FindFixBin(6),"LimCurrentWarning"); 609 612 axey->SetBinLabel(axey->FindFixBin(9),"n/a"); 613 axey->SetLabelSize(0.07); 610 614 hist->SetXTitle("Time"); 611 615 hist->SetYTitle(""); … … 627 631 axey->SetBinLabel(axey->FindFixBin(7),"Stopped"); 628 632 axey->SetBinLabel(axey->FindFixBin(9),"n/a"); 633 axey->SetLabelSize(0.07); 629 634 hist->SetXTitle("Time"); 630 635 hist->SetYTitle(""); … … 646 651 axey->SetBinLabel(axey->FindFixBin(7),"Cond.Warning"); 647 652 axey->SetBinLabel(axey->FindFixBin(9),"n/a"); 653 axey->SetLabelSize(0.07); 648 654 hist->SetXTitle("Time"); 649 655 hist->SetYTitle(""); … … 667 673 axey->SetBinLabel(axey->FindFixBin(7),"CECO TIMEOUT"); 668 674 axey->SetBinLabel(axey->FindFixBin(9),"N/A"); 675 axey->SetLabelSize(0.07); 669 676 hist->SetXTitle("Time"); 670 677 hist->SetYTitle(""); … … 841 848 gStyle->SetPadGridX(kTRUE); 842 849 gStyle->SetPadGridY(kTRUE); 843 TLegend *legtrig = new TLegend(0. 75,0.85,0.99,0.99);850 TLegend *legtrig = new TLegend(0.85,0.85,0.99,0.99); 844 851 TGraph *g = hTrigBL2.GetGraph(); 845 852 g->SetMarkerStyle(kFullDotSmall); … … 882 889 axey->SetBinLabel(axey->FindFixBin(4),"Active"); 883 890 axey->SetBinLabel(axey->FindFixBin(5),"Stopped"); 891 axey->SetLabelSize(0.07); 884 892 hist->SetXTitle("Time"); 885 893 hist->SetYTitle(""); … … 888 896 c7->Divide(2,2); 889 897 c7->cd(1); 890 TLegend *legtrig = new TLegend(0.80,0.7 5,0.99,0.99);898 TLegend *legtrig = new TLegend(0.80,0.70,0.99,0.99); 891 899 TGraph *g = htrigmc1.GetGraph(); 892 900 g->SetMarkerStyle(kFullDotSmall); … … 902 910 legtrig->DrawClone(); 903 911 c7->cd(2); 904 TLegend *legtrig = new TLegend(0.80,0.7 5,0.99,0.99);912 TLegend *legtrig = new TLegend(0.80,0.70,0.99,0.99); 905 913 TGraph *g = htrigmc2.GetGraph(); 906 914 g->SetMarkerStyle(kFullDotSmall); … … 951 959 legtrig->DrawClone(); 952 960 c7->cd(3); 953 TLegend *legtrig = new TLegend(0.80,0.7 5,0.99,0.99);961 TLegend *legtrig = new TLegend(0.80,0.70,0.99,0.99); 954 962 TGraph *g = htrigmc8.GetGraph(); 955 963 g->SetMarkerStyle(kFullDotSmall); … … 998 1006 legtrig->DrawClone(); 999 1007 c7->cd(4); 1000 TLegend *legtrig = new TLegend(0.80,0.7 5,0.99,0.99);1008 TLegend *legtrig = new TLegend(0.80,0.70,0.99,0.99); 1001 1009 TGraph *g = htrigmc14.GetGraph(); 1002 1010 g->SetMarkerStyle(kFullDotSmall);
Note:
See TracChangeset
for help on using the changeset viewer.