#include "mdet/Pixel."
Public Member Functions | |
const std::complex< double > | e (rp, ip) |
double | GetAmplitude () const |
double | GetMu () const |
double | GetSigma () const |
double | LowerLimit () const |
Returns the lower temporal limit. More... | |
return kOverallSign *fAmplitude * | std::exp (-0.5 *utl::Sqr(x)) |
Public Attributes | |
double | const |
Evaluates the pulse in the time-space. More... | |
std::complex< double > | const |
Evaluates the fourier-transformed pulse in the frequency-space. More... | |
const double | ip = -1 * fMu * f |
rp = utl::Sqr(fSigma) / 2 * ( utl::Sqr(fMu) / (utl::Sqr(fSigma) * utl::Sqr(fSigma)) - utl::Sqr(f) ) | |
return kOverallSign *fAmplitude *std::sqrt(2 *utl::kPi)*fSigma *std doubl | UpperLimit )() const |
Returns the (for all practical purposes) upper temporal limit of the pulse. More... | |
Private Member Functions | |
SPE (const Pixel &p, const double a, const double m, const double s) | |
Construct with the parameters. More... | |
Private Attributes | |
double | fAmplitude = 0 |
double | fMu = 0 |
const Pixel & | fPixel |
double | fSigma = 0 |
Static Private Attributes | |
static const int | kOverallSign = -1 |
Overall sign of the pulses. More... | |
Friends | |
class | Pixel |
SPE pulse.
This class represents the Single-Photo-Electron current pulses that are generated on each pixel. The analytical form used so far is a Gaussian pulse, nevertheless that behavior is encapsulated in this class and it's not intended that fact to be explictly used by client code.
The classes used to perform FFT in Offline (a C++ adaptation of fftw) uses the following convention
With this convention the transformation of a Gaussian pulse like
is
An off-centered Gaussian pulse like
gets transformed to the k-space
Definition at line 98 of file MDetector/Pixel.h.
|
inlineprivate |
Construct with the parameters.
Private constructor from scratch.
Definition at line 161 of file MDetector/Pixel.h.
|
inline |
Definition at line 136 of file MDetector/Pixel.h.
References fAmplitude.
Referenced by MdOptoElectronicSimulatorAG::MdOptoElectronicSimulator::OptoElectronics(), MdCounterSimulatorAG::MdCounterSimulator::RunFromMEventScintillatorSimulated(), and MdCounterSimulatorAG::MdCounterSimulator::SimulatePulses().
|
inline |
Definition at line 138 of file MDetector/Pixel.h.
References fMu.
Referenced by MdOptoElectronicSimulatorAG::MdOptoElectronicSimulator::OptoElectronics(), MdCounterSimulatorAG::MdCounterSimulator::RunFromMEventScintillatorSimulated(), and MdCounterSimulatorAG::MdCounterSimulator::SimulatePulses().
|
inline |
Definition at line 140 of file MDetector/Pixel.h.
References fSigma.
Referenced by MdOptoElectronicSimulatorAG::MdOptoElectronicSimulator::OptoElectronics(), MdCounterSimulatorAG::MdCounterSimulator::RunFromMEventScintillatorSimulated(), and MdCounterSimulatorAG::MdCounterSimulator::SimulatePulses().
|
inline |
Returns the lower temporal limit.
Definition at line 134 of file MDetector/Pixel.h.
References fMu, fPixel, fSigma, and mdet::Pixel::GetPulseRelevantWidth().
return kOverallSign* fAmplitude* mdet::Pixel::SPE::std::exp | ( | -0.5 *utl:: | Sqrx | ) |
|
friend |
Definition at line 170 of file MDetector/Pixel.h.
double mdet::Pixel::SPE::const |
Evaluates the pulse in the time-space.
Definition at line 104 of file MDetector/Pixel.h.
std::complex<double> mdet::Pixel::SPE::const |
|
private |
Definition at line 165 of file MDetector/Pixel.h.
Referenced by GetAmplitude().
|
private |
Definition at line 166 of file MDetector/Pixel.h.
Referenced by GetMu(), and LowerLimit().
Definition at line 164 of file MDetector/Pixel.h.
Referenced by LowerLimit().
|
private |
Definition at line 167 of file MDetector/Pixel.h.
Referenced by GetSigma(), and LowerLimit().
Definition at line 121 of file MDetector/Pixel.h.
|
staticprivate |
Overall sign of the pulses.
From the PMT the pulses come out as negative current peaks.
Then the front-end channels may invert them as working in an inverting amplifier configuration.
Definition at line 154 of file MDetector/Pixel.h.
mdet::Pixel::SPE::rp = utl::Sqr(fSigma) / 2 * ( utl::Sqr(fMu) / (utl::Sqr(fSigma) * utl::Sqr(fSigma)) - utl::Sqr(f) ) |
Definition at line 120 of file MDetector/Pixel.h.
|
inline |
Returns the (for all practical purposes) upper temporal limit of the pulse.
Definition at line 127 of file MDetector/Pixel.h.