Changeset 7085


Ignore:
Timestamp:
05/23/05 11:55:11 (20 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r7084 r7085  
    2828   * datacenter/macros/fillstar.C, fillcalib.C, fillsignal.C:
    2929     - added check
     30
     31   * datacenter/macros/fillcalib.C, setupdb.C:
     32     - adapted variables for the conversion factor
    3033
    3134
  • trunk/MagicSoft/Mars/datacenter/macros/fillcalib.C

    r7084 r7085  
    171171    meani = TMath::Nint(meani*10)/10.;
    172172    rmsi  = TMath::Nint(rmsi*10)/10.;
    173     TString meaninner = Form("%4.1f", meani);
    174     TString rmsinner  = Form("%4.1f", rmsi);
     173    TString meaninner = Form("%5.1f", meani);
     174    TString rmsinner  = Form("%5.1f", rmsi);
    175175
    176176
     
    187187    meano = TMath::Nint(meano*10)/10.;
    188188    rmso  = TMath::Nint(rmso*10)/10.;
    189     TString meanouter = Form("%4.1f", meano);
    190     TString rmsouter  = Form("%4.1f", rmso);
     189    TString meanouter = Form("%5.1f", meano);
     190    TString rmsouter  = Form("%5.1f", rmso);
    191191
    192192
     
    209209    meanconvi = TMath::Nint(meanconvi*10)/10.;
    210210    meanconvo = TMath::Nint(meanconvo*10)/10.;
    211     TString meanconvinner=Form("%4.1f", meanconvi);
    212     TString meanconvouter=Form("%4.1f", meanconvo);
     211    TString meanconvinner=Form("%6.2f", meanconvi);
     212    TString meanconvouter=Form("%6.2f", meanconvo);
    213213
    214214
     
    229229    cout << "  Isolated:   (i/o) " << Form("%3d %3d", (int)isoin, (int)isoout) << endl; // Isolated (unbrauchbar)
    230230    cout << "  Max.Cluster:      " << Form("%3d", (int)clumax)                 << endl; // Max Cluster
    231     cout << "  Arr Time inner:    " << Form("%4.1f +- %4.1f", meani, rmsi)      << endl;
    232     cout << "  Arr Time outer:    " << Form("%4.1f +- %4.1f", meano, rmso)      << endl;
    233     cout << "  Mean Conv inner:   " << Form("%4.1f", meanconvi)                 << endl;
    234     cout << "  Mean Conv outer:   " << Form("%4.1f", meanconvo)                 << endl;
     231    cout << "  Arr Time inner:    " << Form("%5.1f +- %5.1f", meani, rmsi)      << endl;
     232    cout << "  Arr Time outer:    " << Form("%5.1f +- %5.1f", meano, rmso)      << endl;
     233    cout << "  Mean Conv inner:   " << Form("%6.2f", meanconvi)                 << endl;
     234    cout << "  Mean Conv outer:   " << Form("%6.2f", meanconvo)                 << endl;
    235235
    236236    TString query;
  • trunk/MagicSoft/Mars/datacenter/macros/setupdb.C

    r7062 r7085  
    520520         "  fArrTimeMeanOuter   FLOAT(5,1)            NOT NULL,"
    521521         "  fArrTimeRmsOuter    FLOAT(5,1)            NOT NULL,"
    522          "  fConvFactorInner    FLOAT(5,1)            NOT NULL,"
    523          "  fConvFactorOuter    FLOAT(5,1)            NOT NULL,"
     522         "  fConvFactorInner    FLOAT(6,2)            NOT NULL,"
     523         "  fConvFactorOuter    FLOAT(6,2)            NOT NULL,"
    524524         "  fLastUpdate         TIMESTAMP"
    525525         ")"));
Note: See TracChangeset for help on using the changeset viewer.