Changeset 3321 for trunk/MagicSoft/Mars/macros/calibration.C
- Timestamp:
- 02/26/04 06:29:14 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/macros/calibration.C
r3317 r3321 71 71 MGeomCamMagic geomcam; 72 72 MExtractedSignalCam sigcam; 73 MArrivalTimeCam timecam; 73 74 MCalibrationChargeCam calcam; 74 75 MCalibrationChargePINDiode pindiode; … … 90 91 plist.AddToList(&geomcam); 91 92 plist.AddToList(&sigcam); 93 plist.AddToList(&timecam); 92 94 plist.AddToList(&calcam); 93 95 plist.AddToList(&histtime); … … 107 109 MGeomApply geomapl; 108 110 109 MFillH filltime( "MHCalibrationRelTimeCam", "MArrivalTime");111 MFillH filltime( "MHCalibrationRelTimeCam" , "MArrivalTimeCam"); 110 112 MFillH fillpin ("MHCalibrationChargePINDiode", "MExtractedSignalPINDiode"); 111 113 MFillH fillblind("MHCalibrationChargeBlindPix", "MExtractedSignalBlindPixel"); … … 148 150 // Create and setup the eventloop 149 151 // 150 MEvtLoop evtloop 2;151 evtloop 2.SetParList(&plist);152 evtloop 2.SetDisplay(display);152 MEvtLoop evtloop; 153 evtloop.SetParList(&plist); 154 evtloop.SetDisplay(display); 153 155 154 156 // 155 157 // Execute second analysis 156 158 // 157 if (!evtloop 2.Eventloop())159 if (!evtloop.Eventloop()) 158 160 return; 159 161 … … 173 175 histblind.DrawClone("all"); 174 176 histcharge[5].DrawClone("time"); 177 histtime[5].DrawClone("fourierevents"); 175 178 176 179 // Create histograms to display
Note:
See TracChangeset
for help on using the changeset viewer.