Modeling the performance of a photon counting x‐ray detector for CT: Energy response and pulse pileup effects | Synapse