Encapsulates the sampling logic. More...
#include <FrontEndSiPM.h>
Public Member Functions | |
bool | operator() (double v) |
Digitally sample the voltage. More... | |
Private Member Functions | |
Sampler (const FrontEndSiPM &fe) | |
Construct with the associated FrontEndSiPM. More... | |
Private Attributes | |
const FrontEndSiPM & | fFrontEndSiPM |
bool | fLastSample |
By now the criteria is to depend only in the last sample. More... | |
Friends | |
class | FrontEndSiPM |
Allow construction. More... | |
Encapsulates the sampling logic.
This auxiliary object encapsulates the logic neccesary to simulate the sampling proccess of the FPGA.
Definition at line 53 of file FrontEndSiPM.h.
|
private |
Construct with the associated FrontEndSiPM.
Definition at line 273 of file FrontEndSiPM.cc.
bool mdet::FrontEndSiPM::Sampler::operator() | ( | double | v | ) |
Digitally sample the voltage.
Note that this method isn't const due to that we take into account the (possible) effects of the sampling proccess on itself.
Definition at line 280 of file FrontEndSiPM.cc.
|
friend |
Allow construction.
Definition at line 65 of file FrontEndSiPM.h.
|
private |
Definition at line 70 of file FrontEndSiPM.h.
|
private |
By now the criteria is to depend only in the last sample.
Definition at line 69 of file FrontEndSiPM.h.