Changeset 5959
- Timestamp:
- 01/24/05 11:18:14 (20 years ago)
- Location:
- trunk/MagicSoft/Mars/mtemp/mifae
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mtemp/mifae/Changelog
r5958 r5959 19 19 -*-*- END OF LINE -*-*- 20 20 21 2005/01/24 Eva Domingo21 2005/01/24 Javier Rico 22 22 * programs/RFstd.root 23 23 - added default random forest file -
trunk/MagicSoft/Mars/mtemp/mifae/programs/makeHillas.cc
r5954 r5959 306 306 MRanForest ranforest; 307 307 308 plistrf.AddToList(&tlistrf);309 plistrf.AddToList(&ranforest);310 311 308 if(rffilename.Length()) 312 309 { 310 plistrf.AddToList(&tlistrf); 311 plistrf.AddToList(&ranforest); 312 313 313 MReadTree readrf("Tree",rffilename); 314 314 readrf.DisableAutoScheme(); … … 423 423 MIslands isl3; 424 424 MTopology topology; 425 425 426 // disp 426 427 // (read in optimum Disp parameter values) 427 TFile inparam(dispfilename);428 428 MDispParameters dispin; 429 dispin.Read("MDispParameters");430 inparam.Close();431 429 TArrayD dispPar; 432 dispPar = dispin.GetParameters(); 433 cout << "Optimum parameter values taken for calculating Disp : " << endl; 434 for (Int_t i=0; i<dispPar.GetSize(); i++) 435 { 436 cout << dispPar[i] << ", "; 437 } 438 cout << endl; 430 if(dispfilename.Length()) 431 { 432 TFile inparam(dispfilename); 433 dispin.Read("MDispParameters"); 434 cout << "Optimum parameter values taken for calculating Disp : " << endl; 435 436 dispPar = dispin.GetParameters(); 437 for (Int_t i=0; i<dispPar.GetSize(); i++) 438 cout << dispPar[i] << ", "; 439 cout << endl; 440 441 inparam.Close(); 442 } 439 443 // Disp results container 440 444 MImageParDisp imagepardisp; … … 473 477 plist5.AddToList(&topology); 474 478 plist5.AddToList(&ranforest); 475 plist5.AddToList(&dispin); 476 plist5.AddToList(&imagepardisp); 477 plist5.AddToList(&hdisp); 479 if(dispfilename.Length()) 480 { 481 plist5.AddToList(&dispin); 482 plist5.AddToList(&imagepardisp); 483 plist5.AddToList(&hdisp); 484 } 478 485 479 486 // cuts
Note:
See TracChangeset
for help on using the changeset viewer.