Changeset 7222 for trunk/MagicSoft
- Timestamp:
- 07/26/05 15:01:14 (19 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7221 r7222 20 20 21 21 -*-*- 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 22 30 23 31 2005/07/26 Thomas Bretz -
trunk/MagicSoft/Mars/datacenter/macros/fillsignal.C
r7112 r7222 109 109 } 110 110 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.; 113 113 114 114 TString sequence = fname(TRegexp("signal[0-9]+[.]root$")); … … 121 121 122 122 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); 125 125 126 126 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; 129 129 130 130 TString query = Form("UPDATE Calibration SET fMeanPedRmsInner=%s, " -
trunk/MagicSoft/Mars/datacenter/macros/setupdb.C
r7218 r7222 514 514 " fIsolatedOuter SMALLINT UNSIGNED NOT NULL," 515 515 " 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," 518 518 " fArrTimeMeanInner FLOAT(5,1) NOT NULL," 519 519 " fArrTimeRmsInner FLOAT(5,1) NOT NULL,"
Note:
See TracChangeset
for help on using the changeset viewer.