Added codes to do HLT and offline JetID.