Can't get delayed signal from Tcad component by delayed weighting field

AvalancheMC class can calculate delayed signal via accepting either dynamic weighting potential or weighting field, however I can’t get delayed signal after setting weighting field. I’ve found where the problem is.

The picture shows line 140 in “Include/Garfield/ComponentTcadBase.hh” file, which is function “DelayedSignalTimes”. This function only judge whether “m_dwtp” contains electrode label “label”. However if sets dynamic weighting field instead of dynamic weighting potential, this function should check whether “m_dwtf” contains electrode lable. Thus I added a line like this:

It works well, but I wonder whether this is a bug or intentionally designed?

Good question… @djjansse can you take a look?

Dear @John_Leong,

Thank you for your comment and suggested fix. We pushed a fix to the main branch [!557] which addresses this issue. Let us know if you something we overlooked.

Kind regards,

Djunes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.