Jpp
15.0.1
the software that should make you happy
|
File router for fast addressing of summary data. More...
#include <JSummaryFileRouter.hh>
Public Member Functions | |
JSummaryFileRouter (const std::string &file_name, const double rate_Hz=0.0) | |
Constructor. More... | |
void | update (const JDAQHeader &header) |
Update router. More... | |
double | getRate () const |
Get default rate. More... | |
double | getRate (const JDAQPMTIdentifier &id) const |
Get rate. More... | |
void | setRate (const double rate_Hz) |
Set default rate. More... | |
void | update (const JDAQSummaryslice *ps) |
Update router. More... | |
bool | is_valid () const |
Check validity of summary data. More... | |
const JDAQSummaryslice * | getSummaryslice () const |
Get summary slice. More... | |
const int | getAddress (const JDAQModuleIdentifier &module) const |
Get address of module. More... | |
const JDAQSummaryFrame & | getSummaryFrame (const JDAQModuleIdentifier &module) const |
Get summary frame. More... | |
bool | hasSummaryFrame (const JDAQModuleIdentifier &module) const |
Has summary frame. More... | |
File router for fast addressing of summary data.
The member method JSummaryFileRouter::update should be used to update the internal router for a given event.
Definition at line 34 of file JSummaryFileRouter.hh.
|
inline |
Constructor.
file_name | file name |
rate_Hz | default singles rate [Hz] |
Definition at line 45 of file JSummaryFileRouter.hh.
|
inline |
Update router.
header | header |
Definition at line 57 of file JSummaryFileRouter.hh.
|
inlineinherited |
|
inlineinherited |
Get rate.
id | PMT identifier |
Definition at line 162 of file JSupport/JSummaryRouter.hh.
|
inlineinherited |
Set default rate.
rate_Hz | rate [Hz] |
Definition at line 64 of file JSupport/JSummaryRouter.hh.
|
inlineinherited |
Update router.
ps | pointer to new summary slice |
Definition at line 75 of file JSupport/JSummaryRouter.hh.
|
inlineinherited |
Check validity of summary data.
Definition at line 103 of file JSupport/JSummaryRouter.hh.
|
inlineinherited |
Get summary slice.
pointer to summary slice (may be NULL)
Definition at line 114 of file JSupport/JSummaryRouter.hh.
|
inlineinherited |
Get address of module.
module | module |
Definition at line 126 of file JSupport/JSummaryRouter.hh.
|
inlineinherited |
Get summary frame.
module | module |
Definition at line 138 of file JSupport/JSummaryRouter.hh.
|
inlineinherited |
Has summary frame.
module | module |
Definition at line 150 of file JSupport/JSummaryRouter.hh.