DevelopmentTagger enum and string conversion
Compare changes
- Vukan Jevtic authored
@@ -97,20 +97,9 @@ namespace LHCb {
@@ -123,7+112,7 @@
@@ -176,7+165,7 @@
@vchobano @mfuehrin @wendelj Adds enum for the old DevelopmentTagger that is reenabled for future FT WG Run2 Tuple Production.
Note: TaggerTypeToString and TaggerTypeToType are only called in BTaggingTool.cpp in Phys in few places, therefore impact is small.
Modernization was needed because previous static map implementation behaved strangely with lb-checkout LHCb/branch_with_changes Event
: Newly implemented tagger types in the string-type mapping were unavailable in Phys/FlavourTagging
and only the old ones were found. At the same time, all other methods implemented in Tagger.h behaved as expected. This implementation ties the static map to the Tagger class, which seems to solve this issue.