Changeset 7363


Ignore:
Timestamp:
09/22/05 14:04:38 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r7360 r7363  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21 2005/09/22 Daniela Dorner
     22
     23   * datacenter/macros/fillsignal.C, setupdb.C:
     24     - added new value (fMeanSignalInner/Outer)
     25
     26   * datacenter/macros/fillcalib.C, setupdb.C:
     27     - changed precision of fArrTimeRmsInnser/Outer
     28
     29
    2030
    2131 2005/09/22 Thomas Bretz
  • trunk/MagicSoft/Mars/datacenter/macros/fillcalib.C

    r7112 r7363  
    170170    Float_t rmsi  = h->GetRMS();
    171171    meani = TMath::Nint(meani*10)/10.;
    172     rmsi  = TMath::Nint(rmsi*10)/10.;
     172    rmsi  = TMath::Nint(rmsi*100)/100.;
    173173    TString meaninner = Form("%5.1f", meani);
    174     TString rmsinner  = Form("%5.1f", rmsi);
     174    TString rmsinner  = Form("%6.2f", rmsi);
    175175
    176176
     
    186186    Float_t rmso  = h->GetRMS();
    187187    meano = TMath::Nint(meano*10)/10.;
    188     rmso  = TMath::Nint(rmso*10)/10.;
     188    rmso  = TMath::Nint(rmso*100)/100.;
    189189    TString meanouter = Form("%5.1f", meano);
    190     TString rmsouter  = Form("%5.1f", rmso);
     190    TString rmsouter  = Form("%6.2f", rmso);
    191191
    192192
  • trunk/MagicSoft/Mars/datacenter/macros/fillsignal.C

    r7359 r7363  
    153153    cout << "  Mean Signal  outer [phe] " << meansigouter << endl;
    154154
    155     // Missing....    meansiginner, meansigouter
    156     TString query = Form("UPDATE Calibration SET fMeanPedRmsInner=%s, "
    157                          " fMeanPedRmsOuter=%s WHERE fSequenceFirst='%d' ",
    158                          meanrmsinner.Data(), meanrmsouter.Data(), seq);
     155    TString query = Form("UPDATE Calibration SET "
     156                         " fMeanPedRmsInner=%s, fMeanPedRmsOuter=%s, "
     157                         " fMeanSignalInner=%s, fMeanSignalOuter=%s  "
     158                         " WHERE fSequenceFirst='%d' ",
     159                         meanrmsinner.Data(), meanrmsouter.Data(),
     160                         meansiginner.Data(), meansigouter.Data(),
     161                         seq);
    159162
    160163    if (dummy)
  • trunk/MagicSoft/Mars/datacenter/macros/setupdb.C

    r7336 r7363  
    541541         "  fMeanPedRmsInner    FLOAT(6,2)            NOT NULL,"
    542542         "  fMeanPedRmsOuter    FLOAT(6,2)            NOT NULL,"
     543         "  fMeanSignalInner    FLOAT(6,2)            NOT NULL,"
     544         "  fMeanSignalOuter    FLOAT(6,2)            NOT NULL,"
    543545         "  fArrTimeMeanInner   FLOAT(5,1)            NOT NULL,"
    544          "  fArrTimeRmsInner    FLOAT(5,1)            NOT NULL,"
     546         "  fArrTimeRmsInner    FLOAT(6,2)            NOT NULL,"
    545547         "  fArrTimeMeanOuter   FLOAT(5,1)            NOT NULL,"
    546          "  fArrTimeRmsOuter    FLOAT(5,1)            NOT NULL,"
     548         "  fArrTimeRmsOuter    FLOAT(6,2)            NOT NULL,"
    547549         "  fConvFactorInner    FLOAT(6,3)            NOT NULL,"
    548550         "  fConvFactorOuter    FLOAT(6,3)            NOT NULL,"
Note: See TracChangeset for help on using the changeset viewer.