- Timestamp:
- 05/07/04 18:53:42 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mjobs
- Files:
-
- 2 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; -
trunk/MagicSoft/Mars/mjobs/MJExtractCalibTest.h
r4014 r4015 44 44 45 45 void DisplayResult(MParList &plist); 46 void DisplayResultT(MParList &plist); 46 47 47 48 Bool_t ProcessFileD(MPedestalCam &pedcam, MCalibrationChargeCam &calcam, MCalibrationQECam &qecam);
Note:
See TracChangeset
for help on using the changeset viewer.