Changeset 8715 for trunk


Ignore:
Timestamp:
08/27/07 19:24:39 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Cosy/tpoint
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Cosy/tpoint/gui.C

    r8570 r8715  
    487487        grzd.SetTitle(" \\Delta vs. Zd ");
    488488        grmag.SetTitle(" \\Delta vs. Mag ");
     489
     490        gaz.SetMarkerStyle(kFullDotMedium);;
     491        gzd.SetMarkerStyle(kFullDotMedium);
     492        gdaz.SetMarkerStyle(kFullDotMedium);;
     493        gdzd.SetMarkerStyle(kFullDotMedium);
     494        gmaz.SetMarkerStyle(kFullDotMedium);;
     495        gmzd.SetMarkerStyle(kFullDotMedium);
    489496   
    490497        TMinuit minuit(MPointing::GetNumPar());  //initialize TMinuit with a maximum of 5 params
     
    547554        b2.SetParameters(par);
    548555
    549         cout << "Sets with Residual exceeding 0.13deg:" << endl;
     556        const Double_t minres = 0.05; //0.13;
     557        const Double_t maxres = 0.13; //0.13;
     558
     559        cout << "Sets with Residual exceeding " << maxres << "deg:" << endl;
     560
     561        ofstream fout("residuals.txt");
    550562
    551563        //
     
    586598            grzd.SetPointError(i, 0, err);
    587599
    588             if (resi>0.13)//orig.GetStarAz()>0 && orig.GetStarAz()<50 && set0.GetDZd()<-0.032 && orig.GetStarEl()<80) // 0.13
     600            if (resi>maxres)//orig.GetStarAz()>0 && orig.GetStarAz()<50 && set0.GetDZd()<-0.032 && orig.GetStarEl()<80) // 0.13
    589601                cout << " " << orig << "  <" << resi << ">" << endl;
     602            if (resi>minres)
     603            {
     604                fout << Form("%6.3f", resi) << ": " << (resi>maxres?"*":" ");
     605                fout << " " << orig << endl;
     606            }
    590607
    591608            proaz.Fill(za.Az(), set0.GetResidual(&err));
     
    603620            }
    604621        }
     622
     623        cout << "Residuals (>0.13deg) written to residuals.txt." << endl;
    605624   
    606625        //
     
    609628        const Stat_t ov = hres2.GetBinContent(hres2.GetNbinsX()+1);
    610629        if (ov>0)
    611             cout << "WARNING: " << ov << " overflows in residuals." << endl;
     630            cout << "WARNING: " << ov << " overflows (>" << maxres << ") in residuals." << endl;
    612631   
    613632   
     
    715734        gPad->SetGridx();
    716735        gPad->SetGridy();
    717         g=(TGraph*)gaz.DrawClone("A*");
     736        g=(TGraph*)gaz.DrawClone("AP");
    718737        g->SetBit(kCanDelete);
    719738        g->GetHistogram()->SetXTitle("Az [\\circ]");
     
    728747        gPad->SetGridx();
    729748        gPad->SetGridy();
    730         g=(TGraph*)gdaz.DrawClone("A*");
     749        g=(TGraph*)gdaz.DrawClone("AP");
    731750        g->SetBit(kCanDelete);
    732751        g->GetHistogram()->SetXTitle("Zd [\\circ]");
     
    743762        if (gmaz.GetN()>0)
    744763        {
    745             g=(TGraph*)gmaz.DrawClone("A*");
     764            g=(TGraph*)gmaz.DrawClone("AP");
    746765            g->SetBit(kCanDelete);
    747766            g->GetHistogram()->SetXTitle("Mag");
     
    761780        gPad->SetGridx();
    762781        gPad->SetGridy();
    763         g=(TGraph*)gdzd.DrawClone("A*");
     782        g=(TGraph*)gdzd.DrawClone("AP");
    764783        g->SetBit(kCanDelete);
    765784        g->GetHistogram()->SetXTitle("Az [\\circ]");
     
    779798        gPad->SetGridx();
    780799        gPad->SetGridy();
    781         g=(TGraph*)gzd.DrawClone("A*");
     800        g=(TGraph*)gzd.DrawClone("AP");
    782801        g->SetBit(kCanDelete);
    783802        g->GetHistogram()->SetXTitle("Zd [\\circ]");
     
    793812        if (gmzd.GetN()>0)
    794813        {
    795             g=(TGraph*)gmzd.DrawClone("A*");
     814            g=(TGraph*)gmzd.DrawClone("AP");
    796815            g->SetBit(kCanDelete);
    797816            g->GetHistogram()->SetXTitle("Mag");
  • trunk/MagicSoft/Cosy/tpoint/starg200606.txt

    r8570 r8715  
    44
    55# 10.06.2006 03:01:10.536
    6 23.93977 71.57613 24.11383 71.62783 19.74944 45.13083 0.01096671 0.07643101 53896.125816 44 60.801871456
     6##23.93977 71.57613 24.11383 71.62783 19.74944 45.13083 0.01096671 0.07643101 53896.125816 44 60.801871456
    77##69.22305 69.28094 69.32599 69.40241 20.77028 33.97028 0.007843975 0.05557714 53896.132659 41 62.129820416
    88156.6169 58.25111 156.7153 58.31012 20.18833 -0.8213889 0.01147947 0.03712898 53896.140219 34 65.047523629
  • trunk/MagicSoft/Cosy/tpoint/starg200611.txt

    r8570 r8715  
    320320
    321321# 11.11.2006 01:39:28.968
    322 -179.2553 85.40779 180.7859 85.36819 3.791389 24.105 0 0 54050.069085 16 57.827717391
     322##-179.2553 85.40779 180.7859 85.36819 3.791389 24.105 0 0 54050.069085 16 57.827717391
    323323
    324324# 11.11.2006 00:31:08.814
  • trunk/MagicSoft/Cosy/tpoint/starg200702.txt

    r8570 r8715  
    3434-103.2635 68.51063 256.6702 68.54173 7.335278 21.98222 0.01541821 0.07004006 54155.989347 57 48.025666352
    3535-130.373 60.86801 229.5846 60.89958 7.4525 8.289444 0.02093938 0.04994954 54155.992557 58 48.052325142
    36 -10.4266 81.82359 349.1546 81.8217 9.314167 36.8025 -0.01625493 0.1916798 54156.014189 43 45.319839319
     36##-10.4266 81.82359 349.1546 81.8217 9.314167 36.8025 -0.01625493 0.1916798 54156.014189 43 45.319839319
    3737
    3838# 24.02.2007 23:02:17.995
  • trunk/MagicSoft/Cosy/tpoint/starg200703.txt

    r8570 r8715  
    4848-145.0508 63.03962 214.9239 63.07685 8.923333 5.945556 0.0324991 0.03378307 54167.0046 48 52.907202268
    4949-167.4724 51.80568 192.5275 51.84303 9.459722 -8.658611 0.03397601 0.00957816 54167.006548 46 55.230907372
    50 164.2115 43.52449 164.1979 43.6189 10.82694 -16.19361 0.03138028 0.02382112 54167.008939 36 63.701687146
     50##164.2115 43.52449 164.1979 43.6189 10.82694 -16.19361 0.03138028 0.02382112 54167.008939 36 63.701687146
    5151-168.9541 16.58774 191.0852 16.62935 9.133333 -43.4325 0.046828 -0.03113037 54167.01194 51 73.722821361
    5252160.9484 26.41385 161.0047 26.45003 11.55 -31.85778 0.01966534 -0.02003378 54167.016088 31 78.719872401
     
    676732.88018 30.64531 32.89387 30.68449 16.39972 61.51417 0.01648002 -0.0262825 54168.054261 55 55.488241966
    686840.52492 20.15726 40.54508 20.18444 17.50722 52.30139 0.01188592 -0.004952567 54168.056318 43 59.843331758
    69 -92.91564 70.51859 266.8498 70.61451 9.879444 26.00694 -0.002697063 0.01016691 54168.059617 34 49.976862004
     69##-92.91564 70.51859 266.8498 70.61451 9.879444 26.00694 -0.002697063 0.01016691 54168.059617 34 49.976862004
    7070-123.8267 59.86372 236.1389 59.89165 9.685833 9.892222 0.007044195 0.02724725 54168.060961 39 51.492481096
    7171-116.0303 48.27727 243.9775 48.30507 8.923333 5.945556 0.01395001 -0.008373953 54168.062305 40 52.340401701
  • trunk/MagicSoft/Cosy/tpoint/starg200706.txt

    r8570 r8715  
    44
    55# 02.06.2007 23:13:10.323
    6 -143.0725 78.17468 217.102 78.19845 14.26111 19.1825 -0.04009367 -0.2732272 54253.967481 31 74.353823251
     6##-143.0725 78.17468 217.102 78.19845 14.26111 19.1825 -0.04009367 -0.2732272 54253.967481 31 74.353823251
    77104.7744 68.59282 104.7676 68.64498 16.50361 21.48972 0.1189675 -0.01986304 54253.978096 46 79.131488658
    8891.7306 21.82253 91.72561 21.85488 19.84639 8.868333 0.09408124 -0.06221934 54253.984977 30 120.54891777
     
    1111134.8075 76.86075 134.8218 76.90868 16.36528 19.15306 0.08744883 -0.08017026 54254.006963 41 74.646706049
    1212162.8273 49.16266 162.875 49.20244 16.61917 -10.56722 0.04229123 -0.1217483 54254.013394 33 103.99680057
    13 -160.7432 50.02553 199.1173 50.06995 15.28333 -9.383056 0.0247403 -0.08366578 54254.023363 36 75.933010397
    14 -127.0387 32.00775 232.8785 32.04867 13.42 -11.16139 -0.009871156 -0.09732563 54254.03243 34 74.901299622
     13##-160.7432 50.02553 199.1173 50.06995 15.28333 -9.383056 0.0247403 -0.08366578 54254.023363 36 75.933010397
     14##-127.0387 32.00775 232.8785 32.04867 13.42 -11.16139 -0.009871156 -0.09732563 54254.03243 34 74.901299622
    1515-99.62634 39.10823 260.3791 39.1566 13.03639 10.95917 -0.03018289 -0.07706557 54254.037583 31 70.503137996
    16 -163.4773 82.46318 196.685 82.43189 16.50361 21.48972 0.01084957 -0.2546636 54254.04642 38 67.662017958
     16##-163.4773 82.46318 196.685 82.43189 16.50361 21.48972 0.01084957 -0.2546636 54254.04642 38 67.662017958
    1717-93.16962 73.90512 266.8009 73.95077 15.57806 26.71472 -0.06328661 0.01486732 54254.051259 36 69.106257089
    1818-57.21797 84.49259 302.3545 84.52068 16.68806 31.60306 -0.07897235 0.4841618 54254.062454 43 64.651398866
    191954.38443 70.09423 54.22173 70.13722 18.61556 38.78361 0.1003963 0.2020046 54254.069932 53 68.831261815
    20 4.018298 66.30034 3.880837 66.35011 17.50722 52.30139 -0.04234773 0.2011728 54254.074257 41 69.393785444
    21 -18.57638 81.51205 340.8544 81.53647 17.25083 36.80917 0.05137325 0.6552503 54254.080379 47 66.2136862
     20##4.018298 66.30034 3.880837 66.35011 17.50722 52.30139 -0.04234773 0.2011728 54254.074257 41 69.393785444
     21##-18.57638 81.51205 340.8544 81.53647 17.25083 36.80917 0.05137325 0.6552503 54254.080379 47 66.2136862
    2222112.333 87.37996 112.076 87.39637 17.77417 27.72056 0.0770777 0.2425495 54254.085068 60 72.942462193
    2323-74.57892 75.65139 285.3544 75.71206 16.68806 31.60306 -0.05884845 0.08666882 54254.092443 38 68.347811909
    24 -58.17211 88.98067 301.8963 89.08253 17.96278 29.24778 0 0 54254.103137 52 67.611545369
     24##-58.17211 88.98067 301.8963 89.08253 17.96278 29.24778 0 0 54254.103137 52 67.611545369
    2525-101.059 65.10628 258.9387 65.1548 16.50361 21.48972 -0.05791216 -0.03920462 54254.112757 43 67.934319471
    2626##50.03849 82.5615 49.46401 82.62217 18.83472 33.36278 0.06944439 0.6381071 54254.117936 78 68.337277883
    2727-21.86293 63.75523 338.0652 63.77347 17.50722 52.30139 -0.02410645 0.1200334 54254.124779 41 73.550316635
    28 -6.170107 79.98216 353.3393 79.9897 18.61556 38.78361 0.07473618 0.5782356 54254.131541 8 139.9899811
     28##-6.170107 79.98216 353.3393 79.9897 18.61556 38.78361 0.07473618 0.5782356 54254.131541 8 139.9899811
Note: See TracChangeset for help on using the changeset viewer.