Changeset 7222 for trunk/MagicSoft/Mars/datacenter/macros
- Timestamp:
- 07/26/05 15:01:14 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/datacenter/macros
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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.