replacing repeating code blocks with function calls
fixed problem with re-enabling b tagging in switchJetCollection() once it has been disabled
commented out unused parameter in the GenJetMatcher configuration
turned adaptPV() into a more generic tool