Changeset 5934
- Timestamp:
- 01/21/05 14:43:04 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mtemp/mifae/programs/makeHillas.cc
r5933 r5934 230 230 231 231 232 /************************************************************************/233 /* SECOND LOOP TO READ THE RANDOM FOREST FILE(S) */234 /************************************************************************/235 MParList plistrf;236 MTaskList tlistrf;237 MRanForest ranforest;238 239 plistrf.AddToList(&tlistrf);240 plistrf.AddToList(&ranforest);241 242 MReadTree readrf("Tree",rffilename);243 readrf.DisableAutoScheme();244 245 MRanForestFill rffill;246 rffill.SetNumTrees(100);247 248 tlistrf.AddToList(&readrf);249 tlistrf.AddToList(&rffill);250 251 MEvtLoop evtlooprf;252 evtlooprf.SetParList(&plistrf);253 if (!evtlooprf.Eventloop())254 return;255 256 tlistrf.PrintStatistics();257 258 259 232 /*****************************/ 260 /* THIRD LOOP: CALIBRATION */233 /* SECOND LOOP: CALIBRATION */ 261 234 /*****************************/ 262 235 … … 275 248 276 249 /************************************************************************/ 277 /* FOURTH(SMALL) LOOP TO GET INITIAl PEDESTALS */250 /* THIRD (SMALL) LOOP TO GET INITIAl PEDESTALS */ 278 251 /************************************************************************/ 279 252 MParList plist3; … … 312 285 313 286 tlist3.PrintStatistics(); 287 288 289 /************************************************************************/ 290 /* FOURTH LOOP TO READ THE RANDOM FOREST FILE(S) */ 291 /************************************************************************/ 292 MParList plistrf; 293 MTaskList tlistrf; 294 MRanForest ranforest; 295 296 plistrf.AddToList(&tlistrf); 297 plistrf.AddToList(&ranforest); 298 299 if(rffilename.Length()) 300 { 301 MReadTree readrf("Tree",rffilename); 302 readrf.DisableAutoScheme(); 303 304 MRanForestFill rffill; 305 rffill.SetNumTrees(100); 306 307 tlistrf.AddToList(&readrf); 308 tlistrf.AddToList(&rffill); 309 310 MEvtLoop evtlooprf; 311 evtlooprf.SetParList(&plistrf); 312 if (!evtlooprf.Eventloop()) 313 return; 314 315 tlistrf.PrintStatistics(); 316 } 314 317 315 318 /************************************************************************/ … … 493 496 write.AddContainer("MReportDrive" , "Parameters"); 494 497 write.AddContainer("MTopology", "Parameters"); 498 write.AddContainer("MHadronness", "Parameters"); 495 499 496 500 if (islflag == 2)
Note:
See TracChangeset
for help on using the changeset viewer.