Ignore:
Timestamp:
03/27/01 16:07:05 (24 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mmontecarlo/MCollAreaTrigger.cc

    r706 r707  
    2222  // connect the raw data with this task
    2323 
    24   fMcEvt  = (MMcEvt*)pList->FindCreateObj("MMcEvt") ;
    25   if (!fMcEvt)
     24  fMcEvt  = (MMcEvt*)pList->FindObject("MMcEvt") ;
     25  if (!fMcEvt) {
     26    *fLog << dbginf << "MMcEvt not found... exit." << endl;
    2627    return kFALSE;
     28  }
    2729
    28   fMcTrig = (MMcTrig*)pList->FindCreateObj("MMcTrig") ;
    29   if (!fMcTrig)
     30  fMcTrig = (MMcTrig*)pList->FindObject("MMcTrig") ;
     31  if (!fMcTrig) {
     32    *fLog << dbginf << "MMcTrig not found... exit." << endl;
    3033    return kFALSE;
     34  }
    3135
    3236  fCollArea = (MCollArea*)pList->FindCreateObj("MCollArea") ;
    33   if (!fCollArea) 
     37  if (!fCollArea)
    3438    return kFALSE;
    3539
Note: See TracChangeset for help on using the changeset viewer.