Jpp
|
Default CLB simulation. More...
#include <JCLBDefaultSimulator.hh>
Classes | |
class | JStateMachine |
Auxiliary class to mimic hit ordering effects due to state machine inside CLB. More... | |
class | JTDC |
Implementation of non-linearity of TDC. More... | |
Public Member Functions | |
JCLBDefaultSimulator (const JDAQHit::JTDC_t Tmax=0) | |
Constructor. More... | |
virtual void | processData (const JCLBInput &input, JDAQFrame &output) const |
Process data. More... | |
Static Public Member Functions | |
static JTOT_t | getMaximalToT () |
Get maximal pulse length of time-over-threshold measurement. More... | |
static double | getMinimalToT () |
Get minimal pulse length of time-over-threshold measurement. More... | |
Protected Types | |
typedef JDAQHit::JPMT_t | JPMT_t |
typedef JDAQHit::JTDC_t | JTDC_t |
typedef JDAQHit::JTOT_t | JTOT_t |
Private Attributes | |
JLANG::JSinglePointer< JTDC > | TDC |
JLANG::JSinglePointer< JStateMachine > | state_machine |
std::vector< JDAQHit > | buffer |
Default CLB simulation.
This class provides for the implementation of the conversion of a time-over-threshold pulse to a so-called hit.
A hit consists of:
The time stamping and pulse length determination is done by a TDC which is integrated inside the FPGA. The observed non-linearity of the TDC is also implemented in this class.
Although the hits from the same PMT are striclty time sorted, hits from different PMTs will be reordered due to the occupancy of the buffers inside the FPGA. This reordering is implemented in the nested class JStateMachine.
Definition at line 139 of file JCLBDefaultSimulator.hh.
|
protectedinherited |
Definition at line 45 of file JCLBDefaultSimulatorInterface.hh.
|
protectedinherited |
Definition at line 46 of file JCLBDefaultSimulatorInterface.hh.
|
protectedinherited |
Definition at line 47 of file JCLBDefaultSimulatorInterface.hh.
|
inline |
Constructor.
Tmax | maximal time difference for swap [ns] |
Definition at line 228 of file JCLBDefaultSimulator.hh.
|
inlinevirtualinherited |
Process data.
input | PMT data |
output | CLB data |
Implements JDETECTOR::JCLBSimulator.
Definition at line 126 of file JCLBDefaultSimulatorInterface.hh.
|
inlinestaticinherited |
Get maximal pulse length of time-over-threshold measurement.
Definition at line 196 of file JCLBDefaultSimulatorInterface.hh.
|
inlinestaticinherited |
Get minimal pulse length of time-over-threshold measurement.
Definition at line 207 of file JCLBDefaultSimulatorInterface.hh.
|
privateinherited |
Definition at line 213 of file JCLBDefaultSimulatorInterface.hh.
|
privateinherited |
Definition at line 214 of file JCLBDefaultSimulatorInterface.hh.
|
mutableprivateinherited |
Definition at line 215 of file JCLBDefaultSimulatorInterface.hh.