Changeset 4286 for trunk/MagicSoft/Mars/mtemp/mifae/programs
- Timestamp:
- 06/11/04 20:02:08 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mtemp/mifae/programs/makeHillas.cc
r4225 r4286 65 65 66 66 // initial and final time slices to be used in signal extraction 67 const Byte_t hifirst = 0;68 const Byte_t hilast = 1 3;67 const Byte_t hifirst = 1; 68 const Byte_t hilast = 14; 69 69 const Byte_t lofirst = 3; 70 const Byte_t lolast = 1 2;70 const Byte_t lolast = 14; 71 71 72 72 // declaration of variables read from datacards … … 86 86 Float_t lnew = 40; 87 87 Int_t kmethod = 1; 88 Int_t kalgorithm = 1; 88 89 Int_t nfiles = 0; 89 90 … … 238 239 isl2.SetName("MIslands2"); 239 240 240 if (islflag == 1 || islflag == 2) 241 MIslands isl3; 242 isl3.SetName("MIslands3"); 243 244 if (islflag == 1 || islflag == 2 || islflag == 3) 241 245 { 242 246 plist4.AddToList(&timecam); … … 247 251 { 248 252 plist4.AddToList(&isl2); 253 } 254 255 if (islflag == 3) 256 { 257 plist4.AddToList(&isl3); 249 258 } 250 259 … … 276 285 MIslandCalc island; 277 286 island.SetOutputName("MIslands1"); 287 island.SetAlgorithm(kalgorithm); 278 288 279 289 MBadPixelsTreat interpolatebadpixels; … … 286 296 MIslandCalc island2; 287 297 island2.SetOutputName("MIslands2"); 298 island2.SetAlgorithm(kalgorithm); 299 300 MIslandCalc island3; 301 island3.SetOutputName("MIslands3"); 288 302 289 303 … … 307 321 write->AddContainer("MSrcPosCam" , "Parameters"); 308 322 309 if (islflag == 1 || islflag == 2 )323 if (islflag == 1 || islflag == 2 || islflag == 3) 310 324 write->AddContainer("MIslands1" , "Parameters"); 311 325 if (islflag == 2) 312 326 write->AddContainer("MIslands2" , "Parameters"); 327 if (islflag == 3) 328 write->AddContainer("MIslands3" , "Parameters"); 329 313 330 314 331 if(display) … … 319 336 if (islflag == 2) 320 337 disphillas->SetIslandsName("MIslands2"); 338 if (islflag == 3) 339 disphillas->SetIslandsName("MIslands3"); 321 340 } 322 341 … … 329 348 tlist4.AddToList(&clean); 330 349 331 if (islflag == 1 || islflag == 2 )350 if (islflag == 1 || islflag == 2 || islflag == 3) 332 351 { 333 352 tlist4.AddToList(&timecalc); … … 340 359 tlist4.AddToList(&island2); 341 360 } 342 361 362 if (islflag == 3) 363 { 364 tlist4.AddToList(&islclean); 365 tlist4.AddToList(&island3); 366 } 367 368 343 369 //tlist4.AddToList(&blind2); 344 370 tlist4.AddToList(&hcalc); … … 475 501 { 476 502 ifun >> islflag; 503 504 // if (islflag == 1 || islflag == 2) 505 ifun >> kalgorithm; 477 506 } 478 507 … … 522 551 cout << "Cleaning level: ("<<lcore<<","<<ltail<<")" << endl; 523 552 if (islflag == 1 || islflag == 2) 524 cout << "Island calcultation..." << endl;553 cout << "Island calcultation..." << "using algorithm #" << kalgorithm <<endl; 525 554 if (islflag == 2) 526 555 {
Note:
See TracChangeset
for help on using the changeset viewer.