Why wouldn't a congress person in this instance do the opposite? Give a show of hand for sake of TV and voters. Say they voted one way, but then vote the way they might be lobbied/influenced to? The public votes of congress people is frequently a campaign talking issue by virtue of opponents lambasting each other's vote records. How would secret ballots in congress have anything but the opposite effect of what you intend?