|
Jpp
18.0.1-rc.2
the software that should make you happy
|
Thread pool for global fits. More...
#include <JFremantle_t.hh>
Public Types | |
| typedef JLANG::JObjectOutput < JSuperEvt > | output_type |
Public Member Functions | |
| JFremantle (const JGeometry &geometry, const JSoundVelocity &velocity, const JFitParameters ¶meters, const size_t ns) | |
| Constructor. More... | |
| ~JFremantle () | |
| Destructor. More... | |
| size_t | backlog () |
| Get number of pending data. More... | |
| void | enqueue (data_type &data) |
| Queue data. More... | |
Static Public Attributes | |
| static std::string | oid = "" |
| detector identifier More... | |
| static JTOOLS::JQuantile | Q |
| chi2/NDF More... | |
| static output_type * | output = NULL |
| optional output More... | |
Private Attributes | |
| std::vector< std::thread > | workers |
| std::queue< data_type > | input |
| std::mutex | in |
| std::mutex | out |
| std::condition_variable | cv |
| bool | stop |
Thread pool for global fits.
Definition at line 34 of file JFremantle_t.hh.
Definition at line 168 of file JFremantle_t.hh.
|
inline |
Constructor.
| geometry | detector geometry |
| velocity | sound velocity |
| parameters | parameters |
| ns | number of threads |
Definition at line 44 of file JFremantle_t.hh.
|
inline |
|
inline |
Get number of pending data.
Definition at line 134 of file JFremantle_t.hh.
|
inline |
|
static |
detector identifier
Definition at line 170 of file JFremantle_t.hh.
|
static |
chi2/NDF
Definition at line 171 of file JFremantle_t.hh.
|
static |
optional output
Definition at line 172 of file JFremantle_t.hh.
|
private |
Definition at line 175 of file JFremantle_t.hh.
|
private |
Definition at line 176 of file JFremantle_t.hh.
|
private |
Definition at line 177 of file JFremantle_t.hh.
|
private |
Definition at line 178 of file JFremantle_t.hh.
|
private |
Definition at line 179 of file JFremantle_t.hh.
|
private |
Definition at line 180 of file JFremantle_t.hh.
1.8.5