How to use the AddWhiteNoise() function in Garfield++?

Dear experts,
I am using the AddWhiteNoise() function to simulate the noise of the gaseous detector. But There’s something I don’t understand about this function. Does this function need add to the the induced current signal ? Then, What’s the effection of the parameter(q0) ?

Code:

signal View->SetSensor(sensor);
sensor->SetTransferFunction(transfer);

const bool poisson = true;
double enc = 25;
double q0 = 25.;
sensor->AddWhiteNoise(enc,poisson,q0);

constexpr bool fft = true;
sensor->ConvoluteSignals(fft);

signalView->SetCanvas(c1);
signalView->SetLabelY("signal [mv]");
signalView->PlotSignal("readout");

Hi,

you can find a description of the formalism behind the AddWhiteNoise function in Section 7.1.1 of the user guide:

With the poisson flag set to true, q0 is the amplitude of the noise pulses added to the induced current signal.

Thank you for your reply.
Best wishes!

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