Skip to content

Commit

Permalink
Fraction of friends for CPass1 now depends on coll system. (#378)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
chiarazampolli authored Jun 18, 2020
1 parent 604deac commit efceb36
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion DataProc/CPass1/main_recCPass1.C
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit efceb36

Please sign in to comment.