Skip to content

Commit

Permalink
Removing unneeded arguments from FMD-related AddTasks (#311)
Browse files Browse the repository at this point in the history
Since the parameters are automatically determined from the ESDs,
it is better to not have them here - some we cannot get at this
point (e.g. B field), so better to not call them, even with
the default value, for simplicity.
  • Loading branch information
chiarazampolli authored Sep 18, 2019
1 parent 1e13810 commit 1064adb
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions AOD/main_AODtrainRawAndMC.C
Original file line number Diff line number Diff line change
Expand Up @@ -521,14 +521,8 @@ void AddAnalysisTasks(const char *cdb_location, Bool_t isMC)

// --- PWGLF - Forward (cholm@nbi.dk) -----------------------------
if (iPWGLFForward && usePhysicsSelection) {
UShort_t pwglfForwardSys = 0; // iCollision+1; // pp:1, PbPb:2, pPb:3
UShort_t pwglfSNN = 0; // GeV, 0==unknown
Short_t pwglfField = 0;
AddTaskForwardMult(useMC && useTR, // Need track-refs
pwglfForwardSys, // Collision system
pwglfSNN,
pwglfField);
AddTaskCentralMult(useMC, pwglfForwardSys, pwglfSNN, pwglfField);
AddTaskForwardMult(useMC && useTR); // Need track-refs
AddTaskCentralMult(useMC);
}

//PWGAgammaconv
Expand Down

0 comments on commit 1064adb

Please sign in to comment.