Changeset 6727 for trunk/MagicSoft/Mars
- Timestamp:
- 03/03/05 19:17:02 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJPedestal.cc
r6722 r6727 62 62 63 63 // Other basic classes 64 #include "MExtractTimeAndCharge .h"64 #include "MExtractTimeAndChargeSlidingWindow.h" 65 65 66 66 // parameter containers … … 73 73 #include "MHPedestalPix.h" 74 74 #include "MHCalibrationPulseTimeCam.h" 75 #include "MCalibrationPulseTimeCam.h" 75 76 76 77 // tasks … … 995 996 } 996 997 998 MExtractTimeAndChargeSlidingWindow exttest; 999 1000 if (fPulsePosCheck && fExtractionType != kFundamental) 1001 { 1002 exttest.SetRange(0,25,0,0); 1003 exttest.SetPedestals(&fPedestalCamIn); 1004 tlist.AddToList(&exttest); 1005 tlist.AddToList(&fillpul); 1006 } 1007 997 1008 if (!fPathIn.IsNull()) 998 1009 { … … 1163 1174 tlist.PrintStatistics(); 1164 1175 1176 fExtractor->SetFilter(0); 1177 1178 if (fPixelCheck) 1179 { 1180 MHPedestalCam *hcam = (MHPedestalCam*)plist.FindObject("MHPedestalCam"); 1181 if (hcam) 1182 { 1183 MHPedestalPix &pix1 = (MHPedestalPix&)(*hcam)[fCheckedPixId]; 1184 pix1.DrawClone(""); 1185 } 1186 } 1187 1188 if (fPulsePosCheck && fExtractionType != kFundamental) 1189 { 1190 MCalibrationPulseTimeCam *cam = (MCalibrationPulseTimeCam*)plist.FindObject("MCalibrationPulseTimeCam"); 1191 if (cam) 1192 { 1193 const Float_t meanpulsetime = cam->GetAverageArea(0).GetHiGainMean(); 1194 const Float_t sigmapulsetime = cam->GetAverageArea(0).GetHiGainSigma(); 1195 *fLog << inf << "Mean pulse time (cosmics): " << meanpulsetime << "+-" << sigmapulsetime << endl; 1196 } 1197 } 1198 1199 1165 1200 if (fDisplayType!=kDisplayNone) 1166 1201 DisplayResult(plist);
Note:
See TracChangeset
for help on using the changeset viewer.