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

Legend:

Unmodified
Added
Removed
  • 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.