|
47 | 47 | #include <Framework/AnalysisHelpers.h> |
48 | 48 | #include <Framework/AnalysisTask.h> |
49 | 49 | #include <Framework/Array2D.h> |
| 50 | +#include <Framework/Concepts.h> |
50 | 51 | #include <Framework/Configurable.h> |
51 | 52 | #include <Framework/HistogramRegistry.h> |
52 | 53 | #include <Framework/HistogramSpec.h> |
|
68 | 69 | #include <algorithm> |
69 | 70 | #include <array> |
70 | 71 | #include <cmath> |
| 72 | +#include <cstddef> |
71 | 73 | #include <cstdint> |
72 | 74 | #include <map> |
73 | 75 | #include <set> |
@@ -169,7 +171,7 @@ struct PhotonConversionBuilder { |
169 | 171 | Configurable<double> d_bz_input{"d_bz", -999, "bz field, -999 is automatic"}; |
170 | 172 | Configurable<int> useMatCorrType{"useMatCorrType", 0, "0: none, 1: TGeo, 2: LUT"}; |
171 | 173 | Configurable<int> modeTrackPropagation{"modeTrackPropagation", 0, "0: use real track propagation, including material, 1: use fast approximation using only geometry, 2: Use real track propagation and make comparison to fast propagation (only for debugging and testing)"}; |
172 | | - Configurable<int> deduplicationMode{"deduplicationMode", 0, "0: Pairwise deduplication, 1: Based on Greedy matching (best score wins), 2: Based on Group matching (crossed pairs are both kept), 3: Keep all V0s"}; |
| 174 | + Configurable<int> deduplicationMode{"deduplicationMode", 0, "0: Pairwise deduplication, 1: Based on Greedy matching (best score wins), 2: Based on Group matching (crossed pairs are both kept), 3: Keep all V0s, our default in the config is mode 0, however if a wrong configuration is used, the default will be mode 1 (Greedy matching) to avoid crashes"}; |
173 | 175 | Configurable<float> deduplicationScoreWeight{"deduplicationScoreWeight", 0.5f, "0.:only pca goes into the score, 1: only cosPA goes itno score, any number in between is a mix of pca and cosPA"}; |
174 | 176 | Configurable<bool> cfgDedupTruthMaps{"cfgDedupTruthMaps", true, "fill the fine (dEta, dPhi, q) truth maps in MC"}; |
175 | 177 | Configurable<int> dedupMaxGroupSize{"dedupMaxGroupSize", 12, "group matching (mode 2): conflict groups up to this size are solved exactly, larger ones greedily (capped at 16)"}; |
@@ -1530,7 +1532,7 @@ struct PhotonConversionBuilder { |
1530 | 1532 | } |
1531 | 1533 | } |
1532 | 1534 |
|
1533 | | - template <typename TTracks, typename TMCParticles> |
| 1535 | + template <o2::soa::is_table TTracks, o2::soa::is_table TMCParticles> |
1534 | 1536 | void fillDedupTruthDiagnostics(TTracks const& tracks, TMCParticles const& mcparticles, DedupDiag const& diag) |
1535 | 1537 | { |
1536 | 1538 | const int nCand = static_cast<int>(diag.snapshot.size()); |
|
0 commit comments