Ignore:
Timestamp:
05/16/07 14:48:37 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mjobs/MJCalibration.cc

    r8504 r8518  
    20242024    }
    20252025
     2026    if (fDisplay)
     2027        cont.Add(fDisplay);
     2028
    20262029    return WriteContainer(cont, GetOutputFileName(), "UPDATE");
    20272030}
     
    20292032void MJCalibration::DisplayDoubleProject(MHCamera *cam, const char* whatsmall, const char* whatbig) const
    20302033{
    2031  
     2034
    20322035  TArrayI inner(1);
    20332036  inner[0] = 0;
    2034  
     2037
    20352038  TArrayI outer(1);
    20362039  outer[0] = 1;
    2037          
     2040
    20382041  TArrayI s1(3);
    20392042  s1[0] = 6;
    20402043  s1[1] = 1;
    20412044  s1[2] = 2;
    2042  
     2045
    20432046  TArrayI s2(3);
    20442047  s2[0] = 3;
    20452048  s2[1] = 4;
    20462049  s2[2] = 5;
    2047  
     2050
    20482051  TVirtualPad *pad = gPad;
    20492052  pad->Divide(2,1);
    2050  
     2053
    20512054  TH1D *inout[2];
    20522055
     
    20562059      gPad->SetBorderMode(0);
    20572060      gPad->SetTicks();
    2058      
     2061
    20592062      inout[i] = cam->ProjectionS(TArrayI(), TArrayI(1,&i), i==0 ? "Inner" : "Outer");
    20602063      FixDataCheckHist(inout[i]);
     
    20812084
    20822085      TLegend *leg2 = new TLegend(0.55,0.4,0.99,0.6);
    2083      
     2086
    20842087      //
    20852088      // Display the two half of the camera separately
     
    20882091      half[0] = cam->ProjectionS(s1, TArrayI(1,&i), "Sector 6-1-2");
    20892092      half[1] = cam->ProjectionS(s2, TArrayI(1,&i), "Sector 3-4-5");
    2090      
     2093
    20912094      for (int j=0; j<2; j++)
    20922095        {
Note: See TracChangeset for help on using the changeset viewer.