Ignore:
Timestamp:
10/15/09 12:05:52 (15 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

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

    r9496 r9512  
    101101};
    102102
    103 const Int_t counts = 29+10+18+1+13+11+31;
     103const Int_t counts = 29+10+18+1+13+11+31-27+3+5+18;
    104104Description_t desc[counts] =
    105105{
     
    134134    // Pointing model changed due to fixing a screw
    135135    {"0506", "TPoints Residuals 6/2005" , "tpoint/tpoint0506.txt"},
     136
    136137    // New pointing model applied (7.-9.6.2005)
    137138    {"0508", "TPoints Residuals 8/2005" , "tpoint/tpoint0508.txt"},
     
    145146    //{"05111", "TPoints Residuals 11/2005-1" , "tpoint/tpoint0511-1.txt"},
    146147
    147     //New pointing model installed (24.11.2005)
     148    // New pointing model installed (24.11.2005)
    148149    {"05112", "TPoints Residuals 11/2005-2" , "tpoint/tpoint0511-2.txt"},
    149150    {"+0512", "TPoints Residuals 12/2005" , "tpoint/tpoint0512.txt"},
     
    159160    {"+0610", "TPoints Residuals 10/2006" ,  "tpoint/tpoint0610.txt"},
    160161
    161     // 5: 6/10/17
     162    // New pointing model: 6/10/17
    162163    {"0611", "TPoints Residuals 11/2006" ,  "tpoint/tpoint0611.txt"},
    163164    {"+0612", "TPoints Residuals 12/2006" ,  "tpoint/tpoint0612.txt"},
     
    171172    {"+07071", "TPoints Residuals  7/2007-1" ,  "tpoint/tpoint0707-1.txt"},
    172173    {"+07072", "TPoints Residuals  7/2007-2" ,  "tpoint/tpoint0707-2.txt"},
    173     // 7/6/17
    174 
    175     {"0708",  "TPoints Residuals 7/8/23", "tpoint/2007_08_23_TPoints.txt"},
    176     {"+0708", "TPoints Residuals 7/8/23", "tpoint/2007_08_24_TPoints.txt"},
    177     {"+0708", "TPoints Residuals 7/8/23", "tpoint/2007_08_25_TPoints.txt"},
    178     {"+0708", "TPoints Residuals 7/8/23", "tpoint/2007_08_26_TPoints.txt"},
    179     {"+0708", "TPoints Residuals 7/8/23", "tpoint/2007_09_01_TPoints.txt"},
    180     {"+0708", "TPoints Residuals 7/8/23", "tpoint/2007_09_03_TPoints.txt"},
    181     {"+0708", "TPoints Residuals 7/8/23", "tpoint/2007_09_13_TPoints.txt"},
    182     {"+0708", "TPoints Residuals 7/8/23", "tpoint/2007_09_15_TPoints.txt"},
    183     {"+0708", "TPoints Residuals 7/8/23", "tpoint/2007_09_20_TPoints.txt"},
    184     {"+0708", "TPoints Residuals 7/8/23", "tpoint/2007_10_04_TPoints.txt"},
    185     {"+0708", "TPoints Residuals 7/8/23", "tpoint/2007_10_05_TPoints.txt"},
    186 
    187     {"0801",  "TPoints Residuals 7/8/23", "tpoint/2008_01_15_TPoints.txt"},
    188     {"+0801", "TPoints Residuals 7/8/23", "tpoint/2008_01_18_TPoints.txt"},
    189     {"+0801", "TPoints Residuals 7/8/23", "tpoint/2008_01_25_TPoints.txt"},
    190     {"+0801", "TPoints Residuals 7/8/23", "tpoint/2008_01_26_TPoints.txt"},
    191     {"+0801", "TPoints Residuals 7/8/23", "tpoint/2008_02_26_TPoints.txt"},
    192     {"+0801", "TPoints Residuals 7/8/23", "tpoint/2008_03_16_TPoints.txt"},
    193     {"+0801", "TPoints Residuals 7/8/23", "tpoint/2008_03_17_TPoints.txt"},
    194     {"+0801", "TPoints Residuals 7/8/23", "tpoint/2008_03_18_TPoints.txt"},
    195     {"+0801", "TPoints Residuals 7/8/23", "tpoint/2008_03_19_TPoints.txt"},
    196     {"+0801", "TPoints Residuals 7/8/23", "tpoint/2008_03_25_TPoints.txt"},
    197     {"+0801", "TPoints Residuals 7/8/23", "tpoint/2008_04_13_TPoints.txt"},
    198     {"+0801", "TPoints Residuals 7/8/23", "tpoint/2008_04_14_TPoints.txt"},
    199     {"+0801", "TPoints Residuals 7/8/23", "tpoint/2008_04_15_TPoints.txt"},
    200     {"+0801", "TPoints Residuals 7/8/23", "tpoint/2008_04_16_TPoints.txt"},
    201     {"+0801", "TPoints Residuals 7/8/23", "tpoint/2008_04_17_TPoints.txt"},
    202     {"+0801", "TPoints Residuals 7/8/23", "tpoint/2008_04_23_TPoints.txt"},
    203     {"+0801", "TPoints Residuals 7/8/23", "tpoint/2008_04_24_TPoints.txt"},
    204     {"+0801", "TPoints Residuals 7/8/23", "tpoint/2008_04_25_TPoints.txt"},
     174
     175    // New pointing model: 07/06/17
     176    {"",      "",                         ""},
     177
     178    // AMC adjust:         07/08/04
     179    {"0708",  "TPoints Residuals 7/8/23", "tpoint/m1/tpoints20070823.txt"},
     180
     181    // New pointing model: 07/10/18
     182    {"",      "",                         ""},
     183
     184    // New pointing model: 08/01/14
     185    {"0801",  "TPoints Residuals 7/8/23", "tpoint/m1/tpoints20080115.txt"},
    205186
    206187    // New pointing model 080611
    207188    {"0806", "TPoints Residuals 7/8/23", "tpoint/tpoint0806.txt"},
     189
    208190    // New pointing model 080618
     191    {"0807",  "",                         "tpoint/tpoint0807.txt"},
     192    {"+0807", "",                         "tpoint/tpoint0808.txt"},
     193    {"+0807", "",                         "tpoint/tpoint0811.txt"},
     194    {"+0807", "",                         "tpoint/tpoint0812.txt"},
     195    {"+0901", "",                         "tpoint/tpoint0901.txt"},
     196
     197    // Drive upgrade started
     198    {"", "",                         ""},
    209199
    210200    // Drive Upgrade finished 090511
    211     {"090512", "TPoints Residuals 7/8/23", "tpoint/m1/2009_05_12/tpoint_20090511_220118.txt"},
     201    {"090512", "TPoints Residuals 7/8/23",  "tpoint/m1/2009_05_12/tpoint_20090511_220118.txt"},
    212202    {"+090512", "TPoints Residuals 7/8/23", "tpoint/m1/2009_05_12/tpoint_20090511_221333.txt"},
    213203    {"+090512", "TPoints Residuals 7/8/23", "tpoint/m1/2009_05_12/tpoint_20090511_222434.txt"},
     
    283273
    284274    // ------ 09/08/17 new pointing model -------
     275
     276    {"090817","TPoints", "tpoint/m1/2009_09_01/tpoint_20090831_233034.txt"},
     277    {"+090817","TPoints", "tpoint/m1/2009_09_02/tpoint_20090901_231918.txt"},
     278    {"+090817","TPoints", "tpoint/m1/2009_09_02/tpoint_20090902_005204.txt"},
     279    {"+090817","TPoints", "tpoint/m1/2009_09_08/tpoint_20090907_213404.txt"},
     280    {"+090817","TPoints", "tpoint/m1/2009_09_09/tpoint_20090908_225027.txt"},
     281    {"+090817","TPoints", "tpoint/m1/2009_09_09/tpoint_20090908_231720.txt"},
     282    {"+090817","TPoints", "tpoint/m1/2009_09_09/tpoint_20090909_010649.txt"},
     283    {"+090817","TPoints", "tpoint/m1/2009_09_10/tpoint_20090909_235222.txt"},
     284    {"+090817","TPoints", "tpoint/m1/2009_09_10/tpoint_20090910_025054.txt"},
     285    {"+090817","TPoints", "tpoint/m1/2009_09_12/tpoint_20090912_004826.txt"},
     286    {"+090817","TPoints", "tpoint/m1/2009_09_17/tpoint_20090917_015404.txt"},
     287    {"+090817","TPoints", "tpoint/m1/2009_09_18/tpoint_20090917_202449.txt"},
     288    {"+090817","TPoints", "tpoint/m1/2009_09_23/tpoint_20090922_223445.txt"},
     289    {"+090817","TPoints", "tpoint/m1/2009_09_24/tpoint_20090923_204444.txt"},
     290    {"+090817","TPoints", "tpoint/m1/2009_09_24/tpoint_20090924_041824.txt"},
     291    {"+090817","TPoints", "tpoint/m1/2009_09_25/tpoint_20090924_225725.txt"},
     292    {"+090817","TPoints", "tpoint/m1/2009_09_26/tpoint_20090925_212537.txt"},
     293    {"+090817","TPoints", "tpoint/m1/2009_09_27/tpoint_20090926_212332.txt"},
    285294};
    286295
     
    388397        MTime(2006,  3, 19).GetAxisTime(),
    389398        MTime(2006, 10, 17).GetAxisTime(),
    390         MTime(2007,  7, 31).GetAxisTime(),
     399        MTime(2007,  6, 17).GetAxisTime(),
     400        MTime(2007,  8,  4).GetAxisTime(),
     401        MTime(2007, 10, 18).GetAxisTime(),
    391402        MTime(2008,  1, 14).GetAxisTime(),
    392403        MTime(2008,  6, 11).GetAxisTime(),
    393         //MTime(2008,  6, 18).GetAxisTime(),
     404        MTime(2008,  6, 18).GetAxisTime(),
    394405        // Are we missing TPoints between 080618 and 090501??
    395406        MTime(2009,  5, 1).GetAxisTime(),
     
    397408        MTime(2009,  5, 12).GetAxisTime(),
    398409        MTime(2009,  5, 13).GetAxisTime(),
     410        MTime(2009,  5, 16).GetAxisTime(),
    399411        MTime(2009,  6, 11).GetAxisTime(),
    400412        MTime(2009,  7, 23).GetAxisTime(),
     
    406418
    407419    MBinning bins;
    408     bins.SetEdges(TArrayD(20, time));
     420    bins.SetEdges(TArrayD(24, time));
    409421
    410422    bins.Apply(histres[0]);
     
    419431        cout << i+1 << " - Mean:  " << Form("%5.1f +- %5.1f", hx[i].GetMean()*3600, hx[i].GetRMS()*3600);
    420432        cout << "   (Overflows=" << hx[i].GetBinContent(hx[i].GetNbinsX()+1)*hx[i].GetEntries() << ")   " << (int)hx[i].GetEntries() << endl;
     433
     434        if (hx[i].GetEntries()<1)
     435            continue;
    421436
    422437        /*
Note: See TracChangeset for help on using the changeset viewer.