From efceb36f31b12b729337f8b50f57e66fb4484669 Mon Sep 17 00:00:00 2001 From: chiarazampolli Date: Thu, 18 Jun 2020 23:21:06 +0200 Subject: [PATCH] Fraction of friends for CPass1 now depends on coll system. (#378) * Fraction of friends for CPass1 now depends on coll system. - HI (PbPB/XeXE) --> 0.2 - pp --> 0.5 - pA/Ap --> 1.0 * Update main_recCPass1.C --- DataProc/CPass1/main_recCPass1.C | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/DataProc/CPass1/main_recCPass1.C b/DataProc/CPass1/main_recCPass1.C index 4559ad7c..02f1373a 100644 --- a/DataProc/CPass1/main_recCPass1.C +++ b/DataProc/CPass1/main_recCPass1.C @@ -105,7 +105,11 @@ void main_recCPass1(const char *filename="raw.root",Int_t nevents=-1, const char } // All friends - rec.SetFractionFriends(.2); + TString collSystem(gSystem->Getenv("ALIEN_JDL_LPMINTERACTIONTYPE")); + Float_t fractionFriends = 0.5; + if (collSystem == "PbPb" || collSystem == "XeXe") fractionFriends = 0.2; + else if (collSystem == "pA" || collSystem == "Ap") fractionFriends = 1.0; + rec.SetFractionFriends(fractionFriends); // AliReconstruction settings - hardwired MB trigger for calibration