Changeset 7222 for trunk/MagicSoft


Ignore:
Timestamp:
07/26/05 15:01:14 (19 years ago)
Author:
Daniela Dorner
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r7221 r7222  
    2020
    2121                                                 -*-*- END OF LINE -*-*-
     22
     23 2005/07/26 Daniela Dorner
     24
     25   * datacenter/macros/fillsignal.C, setupdb.C:
     26     - changed format of variables fMeanPedRmsInner and fMeadPedRmsOuter
     27       from float(5,1) to float(6,2)
     28
     29
    2230
    2331 2005/07/26 Thomas Bretz
  • trunk/MagicSoft/Mars/datacenter/macros/fillsignal.C

    r7112 r7222  
    109109    }
    110110
    111     meani = TMath::Nint(meani*10)/10.;
    112     meano = TMath::Nint(meano*10)/10.;
     111    meani = TMath::Nint(meani*100)/100.;
     112    meano = TMath::Nint(meano*100)/100.;
    113113
    114114    TString sequence = fname(TRegexp("signal[0-9]+[.]root$"));
     
    121121
    122122    Int_t seq = atoi(sequence.Data()+6);
    123     TString meaninner=Form("%4.1f", meani);
    124     TString meanouter=Form("%4.1f", meano);
     123    TString meaninner=Form("%6.2f", meani);
     124    TString meanouter=Form("%6.2f", meano);
    125125
    126126    cout << "Sequence #" << seq << endl;
    127     cout << "  Mean Ped RMS inner [phe] " << Form("%4.1f", meani) << endl;
    128     cout << "  Mean Ped RMS outer [phe] " << Form("%4.1f", meano) << endl;
     127    cout << "  Mean Ped RMS inner [phe] " << meaninner << endl;
     128    cout << "  Mean Ped RMS outer [phe] " << meanouter << endl;
    129129
    130130    TString query = Form("UPDATE Calibration SET fMeanPedRmsInner=%s, "
  • trunk/MagicSoft/Mars/datacenter/macros/setupdb.C

    r7218 r7222  
    514514         "  fIsolatedOuter      SMALLINT   UNSIGNED   NOT NULL,"
    515515         "  fIsolatedMaxCluster SMALLINT   UNSIGNED   NOT NULL,"
    516          "  fMeanPedRmsInner    FLOAT(5,1)            NOT NULL,"
    517          "  fMeanPedRmsOuter    FLOAT(5,1)            NOT NULL,"
     516         "  fMeanPedRmsInner    FLOAT(6,2)            NOT NULL,"
     517         "  fMeanPedRmsOuter    FLOAT(6,2)            NOT NULL,"
    518518         "  fArrTimeMeanInner   FLOAT(5,1)            NOT NULL,"
    519519         "  fArrTimeRmsInner    FLOAT(5,1)            NOT NULL,"
Note: See TracChangeset for help on using the changeset viewer.