@@ -280,6 +280,7 @@ struct tofSpectra { // o2-linter: disable=name/struct
280280 }
281281
282282 histos.add (" event/vertexz" , " " , HistType::kTH1D , {vtxZAxis});
283+ histos.add (" test_occupancy/event/vertexz" , " " , HistType::kTH1D , {vtxZAxis});
283284 auto h = histos.add <TH1>(" evsel" , " evsel" , HistType::kTH1D , {{20 , 0.5 , 20.5 }});
284285 h->GetXaxis ()->SetBinLabel (1 , " Events read" );
285286 h->GetXaxis ()->SetBinLabel (2 , " INEL>0 (fraction)" );
@@ -1476,22 +1477,22 @@ struct tofSpectra { // o2-linter: disable=name/struct
14761477 } // end of the process function
14771478 PROCESS_SWITCH (tofSpectra, processDerived, " Derived data processor" , false );
14781479
1479- #define makeProcessFunction (processorName, inputPid, particleId, isFull, tofTable, tpcTable ) \
1480- void process##processorName##inputPid(CollisionCandidates::iterator const & collision, \
1481- soa::Join<TrackCandidates, \
1482- aod::pid##tofTable##inputPid, \
1483- aod::pid##tpcTable##inputPid> const & tracks) \
1484- { \
1485- if (!isEventSelected<false , false >(collision)) { \
1486- return ; \
1487- } \
1488- for (const auto & track : tracks) { \
1489- if (!isTrackSelected<false >(track, collision)) { \
1490- continue ; \
1491- } \
1492- fillParticleHistos<isFull, PID::particleId>(track, collision); \
1493- } \
1494- } \
1480+ #define makeProcessFunction (processorName, inputPid, particleId, isFull, tofTable, tpcTable ) /* o2-linter: disable=name/macro */ \
1481+ void process##processorName##inputPid(CollisionCandidates::iterator const & collision, \
1482+ soa::Join<TrackCandidates, \
1483+ aod::pid##tofTable##inputPid, \
1484+ aod::pid##tpcTable##inputPid> const & tracks) \
1485+ { \
1486+ if (!isEventSelected<false , false >(collision)) { \
1487+ return ; \
1488+ } \
1489+ for (const auto & track : tracks) { \
1490+ if (!isTrackSelected<false >(track, collision)) { \
1491+ continue ; \
1492+ } \
1493+ fillParticleHistos<isFull, PID::particleId>(track, collision); \
1494+ } \
1495+ } \
14951496 PROCESS_SWITCH (tofSpectra, process##processorName##inputPid, Form(" Process for the %s hypothesis from %s tables" , #particleId, #processorName), false );
14961497
14971498// Full tables
@@ -2168,6 +2169,7 @@ struct tofSpectra { // o2-linter: disable=name/struct
21682169 aod::pidTPCFullPi, aod::pidTPCFullKa, aod::pidTPCFullPr,
21692170 aod::pidTOFFullPi, aod::pidTOFFullKa, aod::pidTOFFullPr> const & tracks,
21702171 aod::McTrackLabels const & mcTrackLabels,
2172+ GenMCCollisions const &,
21712173 RecoMCCollisions const & collisions,
21722174 aod::McParticles const & mcParticles)
21732175 {
0 commit comments