@@ -113,28 +113,29 @@ struct femtoDreamProducerReducedTask {
113113 void process (aod::FilteredFullCollision const & col, aod::BCsWithTimestamps const &, aod::FilteredFullTracks const & tracks) // / \todo with FilteredFullV0s
114114 {
115115 auto bc = col.bc_as <aod::BCsWithTimestamps>(); // / adding timestamp to access magnetic field later
116+ const auto vtxZ = col.posZ ();
117+ const auto spher = colCuts.computeSphericity (col, tracks);
118+ // /For benchmarking on Run 2, V0M in FemtoDreamRun2 is defined V0M/2
119+ int mult = 0 ;
120+ if (ConfIsRun3) {
121+ mult = col.multT0A (); // /Mult based on T0, temporary storing to be fixed and checked
122+ } else {
123+ mult = 0.5 * (col.multV0M ());
124+ }
116125 // / First thing to do is to check whether the basic event selection criteria are fulfilled
117126 // If the basic selection is NOT fullfilled:
118127 // in case of skimming run - don't store such collisions
119128 // in case of trigger run - store such collisions but don't store any particle candidates for such collisions
120129 if (!colCuts.isSelected (col)) {
121130 if (ConfIsTrigger) {
122- outputCollision (col.posZ (), col. multV0M () , colCuts.computeSphericity (col, tracks), bc.timestamp ());
131+ outputCollision (col.posZ (), mult , colCuts.computeSphericity (col, tracks), bc.timestamp ());
123132 }
124133 return ;
125134 }
126135
127- const auto vtxZ = col.posZ ();
128- const auto mult = col.multV0M ();
129- const auto spher = colCuts.computeSphericity (col, tracks);
130136 colCuts.fillQA (col);
131-
132137 // now the table is filled
133- if (ConfIsRun3) {
134- outputCollision (vtxZ, col.multT0A (), spher, bc.timestamp ());
135- } else {
136- outputCollision (vtxZ, mult, spher, bc.timestamp ());
137- }
138+ outputCollision (vtxZ, mult, spher, bc.timestamp ());
138139
139140 int childIDs[2 ] = {0 , 0 }; // these IDs are necessary to keep track of the children
140141 for (auto & track : tracks) {
0 commit comments