Changeset 7089 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
05/25/05 15:22:26 (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

    r7087 r7089  
    2121
    2222                                                 -*-*- END OF LINE -*-*-
     23 2005/05/25 Daniela Dorner
     24
     25   * datacenter/macros/fillcalib.C, setupdb.C:
     26     - changed presicion of parameter
     27
     28
     29
    2330 2005/05/24 Daniela Dorner
    2431
  • trunk/MagicSoft/Mars/datacenter/macros/fillcalib.C

    r7086 r7089  
    207207    Stat_t meanconvi = c->GetMeanSectors(TArrayI(6, s0), inner);
    208208    Stat_t meanconvo = c->GetMeanSectors(TArrayI(6, s0), outer);
    209     meanconvi = TMath::Nint(meanconvi*100)/100.;
    210     meanconvo = TMath::Nint(meanconvo*100)/100.;
    211     TString meanconvinner=Form("%6.2f", meanconvi);
    212     TString meanconvouter=Form("%6.2f", meanconvo);
     209    meanconvi = TMath::Nint(meanconvi*1000)/1000.;
     210    meanconvo = TMath::Nint(meanconvo*1000)/1000.;
     211    TString meanconvinner=Form("%6.3f", meanconvi);
     212    TString meanconvouter=Form("%6.3f", 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("%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;
     231    cout << "  Arr Time inner:    " << meaninner << " +- " << rmsinner  << endl;
     232    cout << "  Arr Time outer:    " << meanouter << " +- " << rmsouter  << endl;
     233    cout << "  Mean Conv inner:   " << meanconvinner << endl;
     234    cout << "  Mean Conv outer:   " << meanconvouter << endl;
    235235
    236236    TString query;
  • trunk/MagicSoft/Mars/datacenter/macros/setupdb.C

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