Skip to content

Commit

Permalink
Use JDL var. to set CleanESD in MC (default ON) (#367)
Browse files Browse the repository at this point in the history
Co-authored-by: shahoian <ruben.shahoyan@cern.ch>
  • Loading branch information
shahor02 and shahor02 authored May 9, 2020
1 parent b9d2bbc commit 4f28f3f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion MC/ReconstructionConfig.C
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,9 @@ void ReconstructionDefault(AliReconstruction &rec)
}

//
rec.SetCleanESD(kFALSE);
// switch off cleanESD if LPMESDCLEANOFF is set to 1 in the JDL (default now is ON)
TString envClean = gSystem->Getenv("ALIEN_JDL_LPMESDCLEANOFF");
rec.SetCleanESD( envClean.Atoi() == 1 ? kFALSE : kTRUE );
rec.SetStopOnError(kFALSE);
rec.SetWriteESDfriend();
rec.SetWriteAlignmentData();
Expand Down

0 comments on commit 4f28f3f

Please sign in to comment.