|
Jpp
master_rocky-43-ge265d140c
the software that should make you happy
|
CLB simulation based on run-by-run information. More...
#include <JCLBRunByRunSimulator.hh>
Public Types | |
| typedef JDAQHit::JPMT_t | JPMT_t |
| typedef JDAQHit::JTDC_t | JTDC_t |
| typedef JDAQHit::JTOT_t | JTOT_t |
Public Member Functions | |
| JCLBRunByRunSimulator (const JSummaryRouter &router) | |
| Constructor. More... | |
| virtual int | getUDPNumberOfReceivedPackets (const JModuleIdentifier &id) const override |
| Get number of received UDP packets. More... | |
| virtual int | getUDPMaximalSequenceNumber (const JModuleIdentifier &id) const override |
| Get maximal sequence number of UDP packet. More... | |
| virtual bool | hasUDPTrailer (const JModuleIdentifier &id) const override |
| Get UDP trailer status. More... | |
| virtual bool | getHighRateVeto (const JPMTIdentifier &id) const override |
| Get high-rate veto of given PMT. More... | |
| JDAQFrameStatus | getDAQFrameStatus (const JModuleIdentifier &id) const |
| Get DAQ frame status of given module. More... | |
| virtual void | processData (const JModuleIdentifier &id, const JCLBInput &input, JDAQSuperFrame &output) const override |
| Process data. More... | |
Static Public Member Functions | |
| static double | getMinimalToT () |
| Get minimal pulse length of time-over-threshold measurement. More... | |
Static Public Attributes | |
| static const struct JDETECTOR::JCLBDefaultSimulatorInterface::compare | compare |
Protected Attributes | |
| const JSummaryRouter & | summary_router |
Private Attributes | |
| JLANG::JSinglePointer< JTDC > | TDC |
| JLANG::JSinglePointer< JStateMachine > | state_machine |
| std::vector< JDAQHit > | buffer |
CLB simulation based on run-by-run information.
This class overwrites the method JCLBDefaultSimulator::getHighRateVeto. The actual high-rate veto is obtained from summary data.
Definition at line 32 of file JCLBRunByRunSimulator.hh.
|
inherited |
Definition at line 60 of file JCLBDefaultSimulatorInterface.hh.
|
inherited |
Definition at line 61 of file JCLBDefaultSimulatorInterface.hh.
|
inherited |
Definition at line 62 of file JCLBDefaultSimulatorInterface.hh.
|
inline |
Constructor.
| router | summary router |
Definition at line 41 of file JCLBRunByRunSimulator.hh.
|
inlineoverridevirtual |
Get number of received UDP packets.
| id | module identifier |
Reimplemented from JDETECTOR::JCLBDefaultSimulatorInterface.
Definition at line 53 of file JCLBRunByRunSimulator.hh.
|
inlineoverridevirtual |
Get maximal sequence number of UDP packet.
| id | module identifier |
Reimplemented from JDETECTOR::JCLBDefaultSimulatorInterface.
Definition at line 74 of file JCLBRunByRunSimulator.hh.
|
inlineoverridevirtual |
Get UDP trailer status.
| id | module identifier |
Reimplemented from JDETECTOR::JCLBDefaultSimulatorInterface.
Definition at line 95 of file JCLBRunByRunSimulator.hh.
|
inlineoverridevirtual |
Get high-rate veto of given PMT.
| id | PMT identifier |
Reimplemented from JDETECTOR::JCLBDefaultSimulatorInterface.
Definition at line 116 of file JCLBRunByRunSimulator.hh.
|
inlineinherited |
Get DAQ frame status of given module.
| id | module identifier |
Definition at line 142 of file JCLBDefaultSimulatorInterface.hh.
|
inlineoverridevirtualinherited |
Process data.
| id | module identifier |
| input | PMT data |
| output | CLB data |
Implements JDETECTOR::JCLBSimulator.
Definition at line 166 of file JCLBDefaultSimulatorInterface.hh.
|
inlinestaticinherited |
Get minimal pulse length of time-over-threshold measurement.
Definition at line 318 of file JCLBDefaultSimulatorInterface.hh.
|
protected |
Definition at line 132 of file JCLBRunByRunSimulator.hh.
|
staticinherited |
|
privateinherited |
Definition at line 356 of file JCLBDefaultSimulatorInterface.hh.
|
privateinherited |
Definition at line 357 of file JCLBDefaultSimulatorInterface.hh.
|
mutableprivateinherited |
Definition at line 358 of file JCLBDefaultSimulatorInterface.hh.