Changeset 4015 for trunk/MagicSoft/Mars/mjobs/MJExtractCalibTest.cc
- Timestamp:
- 05/07/04 18:53:42 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJExtractCalibTest.cc
r4014 r4015 141 141 142 142 143 void MJExtractCalibTest::DisplayResultT(MParList &plist) 144 { 145 if (!fDisplay) 146 return; 147 148 // 149 // Update display 150 // 151 TString title = fDisplay->GetTitle(); 152 title += "-- Extraction-Calibration-Test-Time"; 153 title += fRuns->GetRunsAsString(); 154 title += " --"; 155 fDisplay->SetTitle(title); 156 157 // 158 // Get container from list 159 // 160 MGeomCam &geomcam = *(MGeomCam*)plist.FindObject("MGeomCam"); 161 162 // Create histograms to display 163 MHCamera disp1 (geomcam, "Test;Arr.Times", "Mean of calibrated Arr.Times"); 164 MHCamera disp2 (geomcam, "Test;SigmaArr.Times", "Sigma of calibrated Arr.Times"); 165 166 // Fitted charge means and sigmas 167 disp1.SetCamContent(fTestTimeCam, 0); 168 disp1.SetCamError( fTestTimeCam, 1); 169 disp2.SetCamContent(fTestTimeCam, 2); 170 disp2.SetCamError( fTestTimeCam, 3); 171 172 disp1.SetYTitle("Mean Arr.Times [FADC units]"); 173 disp2.SetYTitle("\\sigma_{t} [FADC units]"); 174 175 gStyle->SetOptStat(1111); 176 gStyle->SetOptFit(); 177 178 TCanvas &c = fDisplay->AddTab("TestTimes"); 179 c.Divide(4,2); 180 181 CamDraw(c, 1, 2, disp1, 5, 1); 182 CamDraw(c, 2, 2, disp2, 5, 1); 183 184 return; 185 186 } 187 188 143 189 void MJExtractCalibTest::SetOutputPath(const char *path) 144 190 { … … 365 411 tlist.PrintStatistics(); 366 412 367 DisplayResult (plist);413 DisplayResultT(plist); 368 414 369 415 *fLog << inf << GetDescriptor() << ": Done." << endl;
Note:
See TracChangeset
for help on using the changeset viewer.