Fix the off-by-one counting error in trigger rate, add parameters to specify error bar printing