|
Jpp 20.0.0-72-g597b30bc9
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. | |
| virtual int | getUDPNumberOfReceivedPackets (const JModuleIdentifier &id) const override |
| Get number of received UDP packets. | |
| virtual int | getUDPMaximalSequenceNumber (const JModuleIdentifier &id) const override |
| Get maximal sequence number of UDP packet. | |
| virtual bool | hasUDPTrailer (const JModuleIdentifier &id) const override |
| Get UDP trailer status. | |
| virtual bool | setHighRateVeto () const |
| Set high-rate veto based on number of hits. | |
| virtual bool | applyHighRateVeto () const |
| Apply high-rate veto based on number of hits. | |
| virtual bool | getHighRateVeto (const JPMTIdentifier &id) const override |
| Get high-rate veto of given PMT. | |
| virtual bool | getFIFOStatus (const JPMTIdentifier &id) const override |
| Get FIFO (almost) full of given PMT. | |
| virtual bool | hasCLB (const JModuleIdentifier &id) const |
| Check if CLB exist. | |
| JDAQFrameStatus | getDAQFrameStatus (const JModuleIdentifier &id) const |
| Get DAQ frame status of given module. | |
| virtual void | processData (const JModuleIdentifier &id, const JCLBInput &input, JDAQSuperFrame &output) const override |
| Process data. | |
Static Public Member Functions | |
| static double | getMinimalToT () |
| Get minimal pulse length of time-over-threshold measurement. | |
Static Public Attributes | |
| static const struct JDETECTOR::JCLBDefaultSimulatorInterface::compare | compare |
Protected Attributes | |
| const JSummaryRouter & | summary_router |
Private Attributes | |
| std::unique_ptr< JTDC > | TDC |
| std::unique_ptr< JStateMachine > | state_machine |
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.
Definition at line 62 of file JCLBDefaultSimulatorInterface.hh.
Definition at line 63 of file JCLBDefaultSimulatorInterface.hh.
Definition at line 64 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.
|
inlinevirtual |
Set high-rate veto based on number of hits.
Reimplemented from JDETECTOR::JCLBDefaultSimulatorInterface.
Definition at line 115 of file JCLBRunByRunSimulator.hh.
|
inlinevirtual |
Apply high-rate veto based on number of hits.
Definition at line 126 of file JCLBRunByRunSimulator.hh.
|
inlineoverridevirtual |
Get high-rate veto of given PMT.
| id | PMT identifier |
Reimplemented from JDETECTOR::JCLBDefaultSimulatorInterface.
Definition at line 138 of file JCLBRunByRunSimulator.hh.
|
inlineoverridevirtual |
Get FIFO (almost) full of given PMT.
| id | PMT identifier |
Reimplemented from JDETECTOR::JCLBDefaultSimulatorInterface.
Definition at line 159 of file JCLBRunByRunSimulator.hh.
|
inlinevirtual |
Check if CLB exist.
| id | module identifier |
Reimplemented from JDETECTOR::JCLBSimulator.
Definition at line 180 of file JCLBRunByRunSimulator.hh.
|
inlineinherited |
Get DAQ frame status of given module.
| id | module identifier |
Definition at line 144 of file JCLBDefaultSimulatorInterface.hh.
|
inlineoverridevirtualinherited |
Process data.
| id | module identifier |
| input | PMT data |
| output | CLB data |
Implements JDETECTOR::JCLBSimulator.
Definition at line 169 of file JCLBDefaultSimulatorInterface.hh.
|
inlinestaticinherited |
Get minimal pulse length of time-over-threshold measurement.
Definition at line 351 of file JCLBDefaultSimulatorInterface.hh.
|
protected |
Definition at line 187 of file JCLBRunByRunSimulator.hh.
|
staticinherited |
|
privateinherited |
Definition at line 389 of file JCLBDefaultSimulatorInterface.hh.
|
privateinherited |
Definition at line 390 of file JCLBDefaultSimulatorInterface.hh.