SMRun2Legacy Analysis specific software for SM Run2 HTT with machine learning to be used within CombineHarvester