Changeset 7089 for trunk/MagicSoft/Mars/datacenter/macros
- Timestamp:
- 05/25/05 15:22:26 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/datacenter/macros
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/macros/fillcalib.C
r7086 r7089 207 207 Stat_t meanconvi = c->GetMeanSectors(TArrayI(6, s0), inner); 208 208 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); 213 213 214 214 … … 229 229 cout << " Isolated: (i/o) " << Form("%3d %3d", (int)isoin, (int)isoout) << endl; // Isolated (unbrauchbar) 230 230 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; 235 235 236 236 TString query; -
trunk/MagicSoft/Mars/datacenter/macros/setupdb.C
r7087 r7089 520 520 " fArrTimeMeanOuter FLOAT(5,1) NOT NULL," 521 521 " 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," 524 524 " fLastUpdate TIMESTAMP" 525 525 ")"));
Note:
See TracChangeset
for help on using the changeset viewer.