Change std::string to Enum in HHbbttSelectorAlg
Now using Enum
instead of string
in the unordered_map
, it should perform better .
Also considered just taking pt cuts under trigger selection function to avoid the using of map, but I would prefer applying pt cuts together with other cuts to make codes easier to understand.
Another thing is can I just put Enum
in HHbbttSelectorAlg.h
, or place them in HHbbttChannels.h