|
Jpp
18.2.0-rc.1
the software that should make you happy
|
Thread pool for global fits. More...
#include <JFremantle_t.hh>
Public Types | |
| typedef std::vector< JHit > | input_type |
| typedef JLANG::JObjectOutput < JSuperEvt > | output_type |
Public Member Functions | |
| JFremantle (const JGeometry &geometry, const JSoundVelocity &velocity, const JFitParameters ¶meters, const size_t ns, const size_t backlog=std::numeric_limits< size_t >::max()) | |
| Constructor. More... | |
| ~JFremantle () | |
| Destructor. More... | |
| void | enqueue (input_type &data) |
| Queue data. More... | |
Static Public Attributes | |
| static std::string | oid = "" |
| detector identifier More... | |
| static JQuantile | Q |
| chi2/NDF More... | |
| static output_type * | output = NULL |
| optional output More... | |
Private Attributes | |
| std::vector< std::thread > | workers |
| std::queue< input_type > | input |
| std::mutex | in |
| std::mutex | out |
| std::condition_variable | cv |
| std::condition_variable | cw |
| bool | stop |
| size_t | backlog |
Thread pool for global fits.
Definition at line 31 of file JFremantle_t.hh.
Definition at line 34 of file JFremantle_t.hh.
Definition at line 35 of file JFremantle_t.hh.
|
inline |
Constructor.
| geometry | detector geometry |
| velocity | sound velocity |
| parameters | parameters |
| ns | number of threads |
| backlog | backlog |
Definition at line 47 of file JFremantle_t.hh.
|
inline |
|
inline |
|
static |
detector identifier
Definition at line 160 of file JFremantle_t.hh.
|
static |
chi2/NDF
Definition at line 161 of file JFremantle_t.hh.
|
static |
optional output
Definition at line 162 of file JFremantle_t.hh.
|
private |
Definition at line 165 of file JFremantle_t.hh.
|
private |
Definition at line 166 of file JFremantle_t.hh.
|
private |
Definition at line 167 of file JFremantle_t.hh.
|
private |
Definition at line 168 of file JFremantle_t.hh.
|
private |
Definition at line 169 of file JFremantle_t.hh.
|
private |
Definition at line 170 of file JFremantle_t.hh.
|
private |
Definition at line 171 of file JFremantle_t.hh.
|
private |
Definition at line 172 of file JFremantle_t.hh.
1.8.5