Changeset 3091 for trunk


Ignore:
Timestamp:
02/11/04 14:48:59 (21 years ago)
Author:
reyes
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/macros/CCDataCheck.C

    r3083 r3091  
    3434////////////////////////////////////////////////////////////////////////////
    3535
    36 void CCDataCheck(const TString filename="CC_2003_11_30_20_29_20.root", const TString directory="../rootfiles/2003_12_01/")
     36void CCDataCheck_new(const TString filename="CC_2003_11_30_20_29_20.root", const TString directory="../rootfiles/2003_12_01/")
    3737{
    3838  //
     
    4040  //
    4141  MStatusDisplay *d = new MStatusDisplay;
     42  d->SetTitle(Form("- %s -",filename));
    4243  d->SetLogStream(&gLog, kTRUE);            // Disables output to stdout
    4344
     
    570571  axey->SetBinLabel(axey->FindFixBin(8),"SHUTD");
    571572  axey->SetBinLabel(axey->FindFixBin(9),"N/A");
     573  axey->SetLabelSize(0.07);
    572574  hist->SetXTitle("Time");
    573575  hist->SetYTitle("");
     
    588590  axey->SetBinLabel(axey->FindFixBin(6),"Warm");
    589591  axey->SetBinLabel(axey->FindFixBin(9),"n/a");
     592  axey->SetLabelSize(0.07);
    590593  hist->SetXTitle("Time");
    591594  hist->SetYTitle("");
     
    608611  axey->SetBinLabel(axey->FindFixBin(6),"LimCurrentWarning");
    609612  axey->SetBinLabel(axey->FindFixBin(9),"n/a");
     613  axey->SetLabelSize(0.07);
    610614  hist->SetXTitle("Time");
    611615  hist->SetYTitle("");
     
    627631  axey->SetBinLabel(axey->FindFixBin(7),"Stopped");
    628632  axey->SetBinLabel(axey->FindFixBin(9),"n/a");
     633  axey->SetLabelSize(0.07);
    629634  hist->SetXTitle("Time");
    630635  hist->SetYTitle("");
     
    646651  axey->SetBinLabel(axey->FindFixBin(7),"Cond.Warning");
    647652  axey->SetBinLabel(axey->FindFixBin(9),"n/a");
     653  axey->SetLabelSize(0.07);
    648654  hist->SetXTitle("Time");
    649655  hist->SetYTitle("");
     
    667673  axey->SetBinLabel(axey->FindFixBin(7),"CECO TIMEOUT");
    668674  axey->SetBinLabel(axey->FindFixBin(9),"N/A");
     675  axey->SetLabelSize(0.07);
    669676  hist->SetXTitle("Time");
    670677  hist->SetYTitle("");
     
    841848  gStyle->SetPadGridX(kTRUE);
    842849  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);
    844851  TGraph *g = hTrigBL2.GetGraph();
    845852  g->SetMarkerStyle(kFullDotSmall);
     
    882889  axey->SetBinLabel(axey->FindFixBin(4),"Active");
    883890  axey->SetBinLabel(axey->FindFixBin(5),"Stopped");
     891  axey->SetLabelSize(0.07);
    884892  hist->SetXTitle("Time");
    885893  hist->SetYTitle("");
     
    888896  c7->Divide(2,2);
    889897  c7->cd(1);
    890   TLegend *legtrig = new TLegend(0.80,0.75,0.99,0.99);
     898  TLegend *legtrig = new TLegend(0.80,0.70,0.99,0.99);
    891899  TGraph *g = htrigmc1.GetGraph();
    892900  g->SetMarkerStyle(kFullDotSmall);
     
    902910  legtrig->DrawClone();
    903911  c7->cd(2);
    904   TLegend *legtrig = new TLegend(0.80,0.75,0.99,0.99);
     912  TLegend *legtrig = new TLegend(0.80,0.70,0.99,0.99);
    905913  TGraph *g = htrigmc2.GetGraph();
    906914  g->SetMarkerStyle(kFullDotSmall);
     
    951959  legtrig->DrawClone();
    952960  c7->cd(3);
    953   TLegend *legtrig = new TLegend(0.80,0.75,0.99,0.99);
     961  TLegend *legtrig = new TLegend(0.80,0.70,0.99,0.99);
    954962  TGraph *g = htrigmc8.GetGraph();
    955963  g->SetMarkerStyle(kFullDotSmall);
     
    9981006  legtrig->DrawClone();
    9991007  c7->cd(4);
    1000   TLegend *legtrig = new TLegend(0.80,0.75,0.99,0.99);
     1008  TLegend *legtrig = new TLegend(0.80,0.70,0.99,0.99);
    10011009  TGraph *g = htrigmc14.GetGraph();
    10021010  g->SetMarkerStyle(kFullDotSmall);
Note: See TracChangeset for help on using the changeset viewer.