Changeset 707 for trunk/MagicSoft
- Timestamp:
- 03/27/01 16:07:05 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mmontecarlo/MCollAreaTrigger.cc
r706 r707 22 22 // connect the raw data with this task 23 23 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; 26 27 return kFALSE; 28 } 27 29 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; 30 33 return kFALSE; 34 } 31 35 32 36 fCollArea = (MCollArea*)pList->FindCreateObj("MCollArea") ; 33 if (!fCollArea) 37 if (!fCollArea) 34 38 return kFALSE; 35 39
Note:
See TracChangeset
for help on using the changeset viewer.