Changeset 6753
- Timestamp:
- 03/05/05 17:21:10 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJPedestal.cc
r6751 r6753 1222 1222 { 1223 1223 hcam->DrawClone(); 1224 gPad->SaveAs(Form("%s/PulsePosTest_all.root",fPathOut.Data())); 1224 1225 MHCalibrationPix &pix = (*hcam)[fCheckedPixId]; 1225 1226 pix.DrawClone(); 1227 gPad->SaveAs(Form("%s/PulsePosTest_Pixel%04d.root",fPathOut.Data(),fCheckedPixId)); 1226 1228 } 1227 1229 … … 1233 1235 const Float_t rmspulsetime = cam->GetAverageArea(0).GetHiGainRms(); 1234 1236 *fLog << inf << "Mean pulse time (cosmics): " << meanpulsetime << "+-" << rmspulsetime << endl; 1235 const Int_t newfirst = 1.5*rmspulsetime > 3. 1236 ? (Int_t)(meanpulsetime-1.5*rmspulsetime) 1237 : (Int_t)(meanpulsetime-3.); 1237 const Int_t newfirst = (Int_t)(meanpulsetime-2.5); 1238 1238 Int_t wshigain = fExtractor->InheritsFrom("MExtractTimeAndCharge") 1239 1239 ? ((MExtractTimeAndCharge*)fExtractor)->GetWindowSizeHiGain() … … 1244 1244 ? ((MExtractTimeAndCharge*)fExtractor)->GetWindowSizeLoGain() 1245 1245 : 6; 1246 const Int_t newlast = 1.5*rmspulsetime > 3. 1247 ? (Int_t)(meanpulsetime+1.5*rmspulsetime) 1248 : (Int_t)(meanpulsetime+3.); 1246 const Int_t newlast = (Int_t)(meanpulsetime+6.); 1249 1247 *fLog << inf << "Try to set new range limits: ("<<newfirst<<","<<newlast+wshigain<<")"<<endl; 1250 1248 if (newfirst < 0)
Note:
See TracChangeset
for help on using the changeset viewer.