return 0;
}
- // add jets to event if not yet there
- if (!(fEvent->FindListObject(fJetsName)))
- fEvent->AddObject(fJets);
- else {
- AliError(Form("%s: Object with name %s already in event! Returning", GetName(), fJetsName.Data()));
- return 0;
- }
-
if (!(fEvent->FindListObject(fJetsSubName)) && fJetsSub)
fEvent->AddObject(fJetsSub);
return 0;
}
}
+
+ // add jets to event if not yet there
+ if (!(fEvent->FindListObject(fJetsName)))
+ fEvent->AddObject(fJets);
+ else {
+ AliError(Form("%s: Object with name %s already in event! Returning", GetName(), fJetsName.Data()));
+ return 0;
+ }
return 1;
}