get_barrier_height function

Summarize the barrier height from a barrier object