If the membrane voltage Vm exceeds the threshold Vtresh the CbNeuron sends a spike to all its outgoing synapses.
The membrane voltage is reseted and clamped during the absolute refractory period of length Trefract to Vreset if the flag doReset=1. This is similar to a LIF neuron (see LifNeuron).
If the flag doReset=0 the membrane voltage is not reseted and the above equation is also applied during the absolute refractory period but the event of threshold crossing is transmitted as a spike to outgoing synapses. This is usfull if one includes channels which produce a real action potential (see HH_K_Channel and HH_Na_Channel) but one still just wants to communicate the spikes as events in time.