|
9 | 9 | // granted to it by virtue of its status as an Intergovernmental Organization |
10 | 10 | // or submit itself to any jurisdiction. |
11 | 11 |
|
| 12 | +/// \file femtoUniversePairTaskTrackV0Extended.cxx |
12 | 13 | /// \brief Tasks that build pairs of track particles and v0s |
13 | 14 | /// \author Andi Mathis, TU München, andreas.mathis@ph.tum.de |
14 | 15 | /// \author Zuzanna Chochulska, WUT Warsaw & CTU Prague, zchochul@cern.ch |
@@ -141,7 +142,7 @@ struct FemtoUniversePairTaskTrackV0Extended { |
141 | 142 | // Efficiency |
142 | 143 | Configurable<std::string> confLocalEfficiency{"confLocalEfficiency", "", "Local path to efficiency .root file"}; |
143 | 144 |
|
144 | | - static constexpr UInt_t V0ChildTable[][2] = {{0, 1}, {1, 0}, {1, 1}}; // Table to select the V0 children |
| 145 | + static constexpr unsigned int V0ChildTable[][2] = {{0, 1}, {1, 0}, {1, 1}}; // Table to select the V0 children |
145 | 146 |
|
146 | 147 | FemtoUniverseContainer<femtoUniverseContainer::EventType::same, femtoUniverseContainer::Observable::kstar> sameEventCont; |
147 | 148 | FemtoUniverseContainer<femtoUniverseContainer::EventType::mixed, femtoUniverseContainer::Observable::kstar> mixedEventCont; |
@@ -377,15 +378,15 @@ struct FemtoUniversePairTaskTrackV0Extended { |
377 | 378 | auto groupPartsTwo = partsTwo->sliceByCached(aod::femtouniverseparticle::fdCollisionId, col.globalIndex(), cache); |
378 | 379 | doSameEvent(col, parts, groupPartsOne, groupPartsTwo); |
379 | 380 | } |
380 | | - PROCESS_SWITCH(femtoUniversePairTaskTrackV0Extended, processSameEvent, "Enable processing same event for track - V0", false); |
| 381 | + PROCESS_SWITCH(FemtoUniversePairTaskTrackV0Extended, processSameEvent, "Enable processing same event for track - V0", false); |
381 | 382 |
|
382 | 383 | void processSameEventMCReco(FilteredFDCollision const& col, FemtoRecoParticles const& parts, aod::FDMCParticles const& mcparts) |
383 | 384 | { |
384 | 385 | auto groupPartsOne = partsOneMCReco->sliceByCached(aod::femtouniverseparticle::fdCollisionId, col.globalIndex(), cache); |
385 | 386 | auto groupPartsTwo = partsTwoMCReco->sliceByCached(aod::femtouniverseparticle::fdCollisionId, col.globalIndex(), cache); |
386 | 387 | doSameEvent(col, parts, groupPartsOne, groupPartsTwo, mcparts); |
387 | 388 | } |
388 | | - PROCESS_SWITCH(femtoUniversePairTaskTrackV0Extended, processSameEventMCReco, "Enable processing same event for track - V0 MC Reco", false); |
| 389 | + PROCESS_SWITCH(FemtoUniversePairTaskTrackV0Extended, processSameEventMCReco, "Enable processing same event for track - V0 MC Reco", false); |
389 | 390 |
|
390 | 391 | /// This function processes the same event for V0 - V0 |
391 | 392 | void processSameEventV0(FilteredFDCollision const& col, FemtoFullParticles const& parts) |
@@ -461,7 +462,7 @@ struct FemtoUniversePairTaskTrackV0Extended { |
461 | 462 | } |
462 | 463 | } |
463 | 464 |
|
464 | | - PROCESS_SWITCH(femtoUniversePairTaskTrackV0Extended, processSameEventV0, "Enable processing same event for V0 - V0", false); |
| 465 | + PROCESS_SWITCH(FemtoUniversePairTaskTrackV0Extended, processSameEventV0, "Enable processing same event for V0 - V0", false); |
465 | 466 |
|
466 | 467 | /// This function processes MC same events for Track - V0 |
467 | 468 | void processMCSameEvent(FilteredFDCollision const& col, FemtoFullParticles const& parts) |
@@ -515,7 +516,7 @@ struct FemtoUniversePairTaskTrackV0Extended { |
515 | 516 | } |
516 | 517 | } |
517 | 518 |
|
518 | | - PROCESS_SWITCH(femtoUniversePairTaskTrackV0Extended, processMCSameEvent, "Enable processing same event for MC truth track - V0", false); |
| 519 | + PROCESS_SWITCH(FemtoUniversePairTaskTrackV0Extended, processMCSameEvent, "Enable processing same event for MC truth track - V0", false); |
519 | 520 |
|
520 | 521 | /// This function processes MC same events for V0 - V0 |
521 | 522 | void processMCSameEventV0(FilteredFDCollision const& col, FemtoFullParticles const& /*parts*/) |
@@ -556,7 +557,7 @@ struct FemtoUniversePairTaskTrackV0Extended { |
556 | 557 | } |
557 | 558 | } |
558 | 559 |
|
559 | | - PROCESS_SWITCH(femtoUniversePairTaskTrackV0Extended, processMCSameEventV0, "Enable processing same event for MC truth V0 - V0", false); |
| 560 | + PROCESS_SWITCH(FemtoUniversePairTaskTrackV0Extended, processMCSameEventV0, "Enable processing same event for MC truth V0 - V0", false); |
560 | 561 |
|
561 | 562 | /// This function processes the mixed event for track - V0 |
562 | 563 | template <typename PartType, typename PartitionType, typename MCParticles = std::nullptr_t> |
@@ -629,13 +630,13 @@ struct FemtoUniversePairTaskTrackV0Extended { |
629 | 630 | { |
630 | 631 | doMixedEvent(cols, parts, partsOne, partsTwo); |
631 | 632 | } |
632 | | - PROCESS_SWITCH(femtoUniversePairTaskTrackV0Extended, processMixedEvent, "Enable processing mixed event for track - V0", false); |
| 633 | + PROCESS_SWITCH(FemtoUniversePairTaskTrackV0Extended, processMixedEvent, "Enable processing mixed event for track - V0", false); |
633 | 634 |
|
634 | 635 | void processMixedEventMCReco(FilteredFDCollisions const& cols, FemtoRecoParticles const& parts, aod::FDMCParticles const& mcparts) |
635 | 636 | { |
636 | 637 | doMixedEvent(cols, parts, partsOneMCReco, partsTwoMCReco, mcparts); |
637 | 638 | } |
638 | | - PROCESS_SWITCH(femtoUniversePairTaskTrackV0Extended, processMixedEventMCReco, "Enable processing mixed event for track - V0 for MC Reco", false); |
| 639 | + PROCESS_SWITCH(FemtoUniversePairTaskTrackV0Extended, processMixedEventMCReco, "Enable processing mixed event for track - V0 for MC Reco", false); |
639 | 640 |
|
640 | 641 | /// This function processes the mixed event for V0 - V0 |
641 | 642 | void processMixedEventV0(FilteredFDCollisions const& cols, FemtoFullParticles const& parts) |
@@ -703,7 +704,7 @@ struct FemtoUniversePairTaskTrackV0Extended { |
703 | 704 | } |
704 | 705 | } |
705 | 706 | } |
706 | | - PROCESS_SWITCH(femtoUniversePairTaskTrackV0Extended, processMixedEventV0, "Enable processing mixed events for V0 - V0", false); |
| 707 | + PROCESS_SWITCH(FemtoUniversePairTaskTrackV0Extended, processMixedEventV0, "Enable processing mixed events for V0 - V0", false); |
707 | 708 |
|
708 | 709 | /// This function processes MC mixed events for Track - V0 |
709 | 710 | void processMCMixedEvent(FilteredFDCollisions const& cols, FemtoFullParticles const& parts) |
@@ -751,7 +752,7 @@ struct FemtoUniversePairTaskTrackV0Extended { |
751 | 752 | } |
752 | 753 | } |
753 | 754 |
|
754 | | - PROCESS_SWITCH(femtoUniversePairTaskTrackV0Extended, processMCMixedEvent, "Enable processing mixed events for MC truth track - V0", false); |
| 755 | + PROCESS_SWITCH(FemtoUniversePairTaskTrackV0Extended, processMCMixedEvent, "Enable processing mixed events for MC truth track - V0", false); |
755 | 756 |
|
756 | 757 | /// This function processes MC mixed events for V0 - V0 |
757 | 758 | void processMCMixedEventV0(FilteredFDCollisions const& cols, FemtoFullParticles const& /*parts*/) |
@@ -789,7 +790,7 @@ struct FemtoUniversePairTaskTrackV0Extended { |
789 | 790 | } |
790 | 791 | } |
791 | 792 |
|
792 | | - PROCESS_SWITCH(femtoUniversePairTaskTrackV0Extended, processMCMixedEventV0, "Enable processing mixed events for MC truth V0 - V0", false); |
| 793 | + PROCESS_SWITCH(FemtoUniversePairTaskTrackV0Extended, processMCMixedEventV0, "Enable processing mixed events for MC truth V0 - V0", false); |
793 | 794 | ///--------------------------------------------MC-------------------------------------------------/// |
794 | 795 |
|
795 | 796 | /// This function fills MC truth particles from derived MC table |
@@ -839,7 +840,7 @@ struct FemtoUniversePairTaskTrackV0Extended { |
839 | 840 | } |
840 | 841 | } |
841 | 842 |
|
842 | | - PROCESS_SWITCH(femtoUniversePairTaskTrackV0Extended, processMCTruth, "Process MC truth data", false); |
| 843 | + PROCESS_SWITCH(FemtoUniversePairTaskTrackV0Extended, processMCTruth, "Process MC truth data", false); |
843 | 844 |
|
844 | 845 | void processMCReco(FemtoRecoParticles const& parts, aod::FDMCParticles const& mcparts) |
845 | 846 | { |
@@ -907,13 +908,13 @@ struct FemtoUniversePairTaskTrackV0Extended { |
907 | 908 | } |
908 | 909 | } |
909 | 910 |
|
910 | | - PROCESS_SWITCH(femtoUniversePairTaskTrackV0Extended, processMCReco, "Process MC reco data", false); |
| 911 | + PROCESS_SWITCH(FemtoUniversePairTaskTrackV0Extended, processMCReco, "Process MC reco data", false); |
911 | 912 | }; |
912 | 913 |
|
913 | 914 | WorkflowSpec defineDataProcessing(configContext const& cfgc) |
914 | 915 | { |
915 | 916 | WorkflowSpec workflow{ |
916 | | - adaptAnalysisTask<femtoUniversePairTaskTrackV0Extended>(cfgc), |
| 917 | + adaptAnalysisTask<FemtoUniversePairTaskTrackV0Extended>(cfgc), |
917 | 918 | }; |
918 | 919 | return workflow; |
919 | 920 | } |
0 commit comments