Changeset 8434 for trunk/MagicSoft/Mars/mjobs/MJStar.cc
- Timestamp:
- 04/23/07 20:11:25 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJStar.cc
r8323 r8434 119 119 } 120 120 121 Bool_t MJStar::Process( Bool_t ismc)121 Bool_t MJStar::Process() 122 122 { 123 123 if (!fSequence.IsValid()) … … 275 275 write.AddContainer("MMuonSetup", "RunHeaders"); 276 276 277 if ( ismc)277 if (fSequence.IsMonteCarlo()) 278 278 { 279 279 // Monte Carlo Data … … 311 311 writem.AddContainer("MRawEvtHeader", "Muons"); 312 312 writem.AddContainer("MPointingPos", "Muons"); 313 if ( ismc)313 if (fSequence.IsMonteCarlo()) 314 314 { 315 315 // Monte Carlo Data … … 318 318 } 319 319 320 if ( ismc)320 if (fSequence.IsMonteCarlo()) 321 321 if (fMuonAnalysis) 322 322 writem.AddCopySource("OriginalMC"); … … 326 326 MTaskList tlist2("Events"); 327 327 tlist2.AddToList(&apply); 328 if (! ismc)328 if (!fSequence.IsMonteCarlo()) 329 329 tlist2.AddToList(&cont); 330 330 tlist2.AddToList(&contsw); 331 if (! ismc)331 if (!fSequence.IsMonteCarlo()) 332 332 { 333 333 // Calibration events don't enter star at all. … … 450 450 // ------------------------------------------------------------ 451 451 452 tlist.AddToList( ismc? (MTask*)&readmc : (MTask*)&readreal);453 tlist.AddToList(&pcalc, ismc? "Events" : "Drive");452 tlist.AddToList(fSequence.IsMonteCarlo() ? (MTask*)&readmc : (MTask*)&readreal); 453 tlist.AddToList(&pcalc, fSequence.IsMonteCarlo() ? "Events" : "Drive"); 454 454 //tlist.AddToList(&filltst, "Events"); 455 455 tlist.AddToList(&tlist2, "Events"); 456 if (! ismc)456 if (!fSequence.IsMonteCarlo()) 457 457 { 458 458 // initiate task list
Note:
See TracChangeset
for help on using the changeset viewer.