List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
mdet::FrontEndSiPM::Sampler Class Reference

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 FrontEndSiPMfFrontEndSiPM
 
bool fLastSample
 By now the criteria is to depend only in the last sample. More...
 

Friends

class FrontEndSiPM
 Allow construction. More...
 

Detailed Description

Encapsulates the sampling logic.

This auxiliary object encapsulates the logic neccesary to simulate the sampling proccess of the FPGA.

See Also
MakeSampler

Definition at line 53 of file FrontEndSiPM.h.

Constructor & Destructor Documentation

mdet::FrontEndSiPM::Sampler::Sampler ( const FrontEndSiPM fe)
private

Construct with the associated FrontEndSiPM.

Definition at line 273 of file FrontEndSiPM.cc.

Member Function Documentation

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.

Friends And Related Function Documentation

friend class FrontEndSiPM
friend

Allow construction.

Definition at line 65 of file FrontEndSiPM.h.

Member Data Documentation

const FrontEndSiPM& mdet::FrontEndSiPM::Sampler::fFrontEndSiPM
private

Definition at line 70 of file FrontEndSiPM.h.

bool mdet::FrontEndSiPM::Sampler::fLastSample
private

By now the criteria is to depend only in the last sample.

Definition at line 69 of file FrontEndSiPM.h.


The documentation for this class was generated from the following files:

, generated on Tue Sep 26 2023.