Skip to content

Commit

Permalink
ClicRecoConfig: add Not + option with negative condition
Browse files Browse the repository at this point in the history
Allows using negative condition like 'Config.OverlayNotFalse'
  • Loading branch information
andresailer committed Oct 31, 2018
1 parent 70ca3ab commit a321ad9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/Conditions/src/CLICRecoConfig.cc
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ void CLICRecoConfig::init() {
checkOptions(choice, choices);
for (auto& option: choices ) {
m_options[name+option] = (choice == option);
m_options[name + "Not" + option] = (choice != option);
}
}

Expand Down

0 comments on commit a321ad9

Please sign in to comment.