@@ -243,34 +243,23 @@ struct TreeCreatorPidTpcQa {
243243 }
244244 }
245245
246- // QA of nsigma only tables
247- #define MAKE_PROCESS_FUNCTION (ParticleNameShort, ParticleNameLong ) \
248- void process##ParticleNameLong (CollisionsExtra const & collisions, \
249- soa::Join<TrackCandidates, aod::pidTPC##ParticleNameShort> const & tracks, \
250- aod::BCsWithTimestamps const &) \
251- { \
252- processSingleParticle<PID ::ParticleNameLong, false , false >(collisions, tracks); \
253- } \
254- PROCESS_SWITCH (TreeCreatorPidTpcQa, process##ParticleNameLong, Form (" Process for the %s hypothesis for TPC NSigma QA" , #ParticleNameLong), false );
255-
256- DO_FOR_ALL_PARTICLES (MAKE_PROCESS_FUNCTION )
257- #undef MAKE_PROCESS_FUNCTION
258-
259- // QA of full tables
260- #define MAKE_PROCESS_FUNCTION (ParticleNameShort, ParticleNameLong ) \
261- void processFull##ParticleNameLong (CollisionsExtra const & collisions, \
262- soa::Join<TrackCandidates, aod::pidTPCFull##ParticleNameShort> const & tracks, \
263- aod::BCsWithTimestamps const &) \
264- { \
265- processSingleParticle<PID ::ParticleNameLong, true , false >(collisions, tracks); \
266- } \
267- PROCESS_SWITCH (TreeCreatorPidTpcQa, processFull##ParticleNameLong, Form (" Process for the %s hypothesis for full TPC PID QA" , #ParticleNameLong), false );
268-
269- DO_FOR_ALL_PARTICLES (MAKE_PROCESS_FUNCTION )
270- #undef MAKE_PROCESS_FUNCTION
271-
272- // QA of full tables with TOF information
273- #define MAKE_PROCESS_FUNCTION (ParticleNameShort, ParticleNameLong ) \
246+ #define MAKE_PROCESS_FUNCTIONS (ParticleNameShort, ParticleNameLong ) \
247+ void process##ParticleNameLong (CollisionsExtra const & collisions, \
248+ soa::Join<TrackCandidates, aod::pidTPC##ParticleNameShort> const & tracks, \
249+ aod::BCsWithTimestamps const &) \
250+ { \
251+ processSingleParticle<PID ::ParticleNameLong, false , false >(collisions, tracks); \
252+ } \
253+ PROCESS_SWITCH (TreeCreatorPidTpcQa, process##ParticleNameLong, Form (" Process for the %s hypothesis for TPC NSigma QA" , #ParticleNameLong), false ); \
254+ \
255+ void processFull##ParticleNameLong (CollisionsExtra const & collisions, \
256+ soa::Join<TrackCandidates, aod::pidTPCFull##ParticleNameShort> const & tracks, \
257+ aod::BCsWithTimestamps const &) \
258+ { \
259+ processSingleParticle<PID ::ParticleNameLong, true , false >(collisions, tracks); \
260+ } \
261+ PROCESS_SWITCH (TreeCreatorPidTpcQa, processFull##ParticleNameLong, Form (" Process for the %s hypothesis for full TPC PID QA" , #ParticleNameLong), false ); \
262+ \
274263 void processFullWithTOF##ParticleNameLong (CollisionsExtra const & collisions, \
275264 soa::Join<TrackCandidates, aod::pidTPCFull##ParticleNameShort, aod::pidTOFFull##ParticleNameShort> const & tracks, \
276265 aod::BCsWithTimestamps const &) \
@@ -279,8 +268,8 @@ struct TreeCreatorPidTpcQa {
279268 } \
280269 PROCESS_SWITCH (TreeCreatorPidTpcQa, processFullWithTOF##ParticleNameLong, Form (" Process for the %s hypothesis for full TPC PID QA with the TOF info added" , #ParticleNameLong), false );
281270
282- DO_FOR_ALL_PARTICLES (MAKE_PROCESS_FUNCTION )
283- #undef MAKE_PROCESS_FUNCTION
271+ DO_FOR_ALL_PARTICLES (MAKE_PROCESS_FUNCTIONS )
272+ #undef MAKE_PROCESS_FUNCTIONS
284273};
285274
286275WorkflowSpec defineDataProcessing (ConfigContext const & cfgc)
0 commit comments