Changeset 3462 for trunk/MagicSoft


Ignore:
Timestamp:
03/10/04 17:32:55 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r3436 r3462  
    586586        inner[0] = 0;
    587587
     588        TArrayI outer(1);
     589        outer[0] = 1;
     590
    588591        // Just to get the right (maximum) binning
    589         TH1D *half[2];
    590         half[0] = obj1->ProjectionS(s0, inner, "Sector 6-1-2");
    591         half[1] = obj1->ProjectionS(s0, inner, "Sector 3-4-5");
    592 
    593         for (int i=0; i<2; i++)
     592        TH1D *half[4];
     593        half[0] = obj1->ProjectionS(s0, inner, "Sector 6-1-2 Inner");
     594        half[1] = obj1->ProjectionS(s1, inner, "Sector 3-4-5 Inner");
     595        half[2] = obj1->ProjectionS(s0, outer, "Sector 6-1-2 Outer");
     596        half[3] = obj1->ProjectionS(s1, outer, "Sector 3-4-5 Outer");
     597
     598        for (int i=0; i<4; i++)     
    594599        {
    595600            half[i]->SetLineColor(kRed+i);
Note: See TracChangeset for help on using the changeset viewer.