Changeset 4429 for trunk/MagicSoft/Mars/mtemp/mifae/macros/makeHillas.C
- Timestamp:
- 07/28/04 11:01:15 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mtemp/mifae/macros/makeHillas.C
r4310 r4429 71 71 72 72 MJPedestal pedloop0; 73 pedloop0.SetOutputPath("./"); 73 74 pedloop0.SetInput(&pedcaliter); 74 75 pedloop0.SetExtractor(&extractor); … … 86 87 MJCalibration calloop; 87 88 89 calloop.SetOutputPath("./"); 88 90 calloop.SetExtractor(&extractor); 89 91 calloop.SetInput(&caliter); … … 101 103 // First Compute the pedestals 102 104 MJPedestal pedloop; 105 pedloop.SetOutputPath("./"); 103 106 pedloop.SetInput(&pediter); 104 107 … … 225 228 read4.AddTree("Drive"); 226 229 static_cast<MRead&>(read4).AddFiles(datiter); 230 read4.AddToBranchList("MReportCurrents.*"); 227 231 228 232 // Task that use Slow control information … … 252 256 MSrcPosFromStars srcposfromstar; 253 257 254 // set bad pixels 255 MBlindPixelCalc blind; 256 MBlindPixelCalc blind2; 257 const Short_t x[16] = {330,395,329,396,389, 258 323,388,322,384,385, 259 386,387,321,320,319, 260 394}; 261 const TArrayS bp(16,(Short_t*)x); 262 blind.SetPixelIndices(bp); 263 blind2.SetPixelIndices(bp); 258 MBadPixelsTreat interpolatebadpixels; 259 interpolatebadpixels.SetUseInterpolation(); 264 260 265 261 MImgCleanStd clean(lcore,ltail); … … 315 311 tlist4.AddToList(&extractor,"Events"); 316 312 tlist4.AddToList(&photcalc,"Events"); 317 //tlist4.AddToList(&blind,"Events"); 313 if(calflag==11) 314 tlist4.AddToList(&interpolatebadpixels); 318 315 tlist4.AddToList(&clean,"Events"); 319 316 … … 332 329 //tlist4.AddToList(&blind2,"Events"); 333 330 tlist4.AddToList(&hcalc,"Events"); 334 // tlist4.AddToList(&srcposcalc,"Events");335 331 tlist4.AddToList(&csrc1,"Events"); 336 332 tlist4.AddToList(&write,"Events"); … … 350 346 351 347 tlist4.PrintStatistics(); 348 352 349 } 353 350 //------------------------------------------------------------------------------- … … 476 473 } 477 474 478 479 480 481 475 pedcaliter.Reset(); 476 pediter.Reset(); 477 caliter.Reset(); 478 datiter.Reset(); 482 479 TString pfile; 483 480
Note:
See TracChangeset
for help on using the changeset viewer.