Changeset 7363
- Timestamp:
- 09/22/05 14:04:38 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7360 r7363 18 18 19 19 -*-*- 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 20 30 21 31 2005/09/22 Thomas Bretz -
trunk/MagicSoft/Mars/datacenter/macros/fillcalib.C
r7112 r7363 170 170 Float_t rmsi = h->GetRMS(); 171 171 meani = TMath::Nint(meani*10)/10.; 172 rmsi = TMath::Nint(rmsi*10 )/10.;172 rmsi = TMath::Nint(rmsi*100)/100.; 173 173 TString meaninner = Form("%5.1f", meani); 174 TString rmsinner = Form("% 5.1f", rmsi);174 TString rmsinner = Form("%6.2f", rmsi); 175 175 176 176 … … 186 186 Float_t rmso = h->GetRMS(); 187 187 meano = TMath::Nint(meano*10)/10.; 188 rmso = TMath::Nint(rmso*10 )/10.;188 rmso = TMath::Nint(rmso*100)/100.; 189 189 TString meanouter = Form("%5.1f", meano); 190 TString rmsouter = Form("% 5.1f", rmso);190 TString rmsouter = Form("%6.2f", rmso); 191 191 192 192 -
trunk/MagicSoft/Mars/datacenter/macros/fillsignal.C
r7359 r7363 153 153 cout << " Mean Signal outer [phe] " << meansigouter << endl; 154 154 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); 159 162 160 163 if (dummy) -
trunk/MagicSoft/Mars/datacenter/macros/setupdb.C
r7336 r7363 541 541 " fMeanPedRmsInner FLOAT(6,2) NOT NULL," 542 542 " fMeanPedRmsOuter FLOAT(6,2) NOT NULL," 543 " fMeanSignalInner FLOAT(6,2) NOT NULL," 544 " fMeanSignalOuter FLOAT(6,2) NOT NULL," 543 545 " fArrTimeMeanInner FLOAT(5,1) NOT NULL," 544 " fArrTimeRmsInner FLOAT( 5,1) NOT NULL,"546 " fArrTimeRmsInner FLOAT(6,2) NOT NULL," 545 547 " fArrTimeMeanOuter FLOAT(5,1) NOT NULL," 546 " fArrTimeRmsOuter FLOAT( 5,1) NOT NULL,"548 " fArrTimeRmsOuter FLOAT(6,2) NOT NULL," 547 549 " fConvFactorInner FLOAT(6,3) NOT NULL," 548 550 " fConvFactorOuter FLOAT(6,3) NOT NULL,"
Note:
See TracChangeset
for help on using the changeset viewer.