Encapsulates the sampling logic. More...
#include <FrontEnd.h>
Public Member Functions | |
bool | operator() (double v) |
Digitally sample the voltage. More... | |
Private Member Functions | |
Sampler (const FrontEnd &fe) | |
Construct with the associated FrontEnd. More... | |
Private Attributes | |
const FrontEnd & | fFrontEnd |
bool | fLastSample |
By now the criteria is to depend only in the last sample. More... | |
Friends | |
class | FrontEnd |
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 51 of file FrontEnd.h.
Construct with the associated FrontEnd.
Definition at line 144 of file FrontEnd.cc.
bool mdet::FrontEnd::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 151 of file FrontEnd.cc.
|
friend |
Allow construction.
Definition at line 63 of file FrontEnd.h.
Definition at line 68 of file FrontEnd.h.
|
private |
By now the criteria is to depend only in the last sample.
Definition at line 67 of file FrontEnd.h.