Skip to content

Commit

Permalink
ALIROOT-5601 Setting default pass name instead of AliFatal
Browse files Browse the repository at this point in the history
  • Loading branch information
ekryshen authored and hristov committed Dec 11, 2014
1 parent 3587b2b commit 037e266
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ANALYSIS/AliPhysicsSelection.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2014,7 +2014,9 @@ void AliPhysicsSelection::DetectPassName(){
if (!passName.Contains("pass")){
AliError(" Failed to find reconstruction pass name:");
AliError(" --> If these are MC data: please set kTRUE first argument of AddTaskPhysicsSelection");
AliFatal(" --> If these are real data: please insert pass name inside the path of your local file, e.g. /your_path/pass2/AliESDs.root");
AliError(" --> If these are real data: please insert pass name inside the path of your local file, e.g. /your_path/pass2/AliESDs.root");
AliError(" --> Setting default pass name...");
passName = "default";
}

AliInfo(Form("pass name: %s\n",passName.Data()));
Expand Down

0 comments on commit 037e266

Please sign in to comment.