Jpp
|
General purpose sorter of fit results. More...
#include <JEvtToolkit.hh>
Public Types | |
typedef JFunctionAdaptor< bool, const JFit &, const JFit & > | function_adaptor_type |
typedef function_adaptor_type::pF | pF |
Public Member Functions | |
JQualitySorter () | |
Default constructor. More... | |
JReturn_t | operator() (JFirst_t first, JSecond_t second) const |
Function operation. More... | |
bool | is_valid () const |
Check validity. More... | |
void | reset () |
Reset function adaptor helper. More... | |
void | set (JReturn_t(*)(JFirst_t, JSecond_t)pf) |
Set function. More... | |
void | open (const char *file_name) |
Open file. More... | |
void | close () |
Close file. More... | |
void | initialise () |
Initialise counter. More... | |
void | attach (const JSharedCounter &object) |
Attach this counter to given shared counter object. More... | |
bool | detach () |
Detach. More... | |
Protected Member Functions | |
void | get (const char *function_name) |
Get function with given name according to specific protocol. More... | |
Protected Attributes | |
void * | handle |
JReturn_t(*)(JFirst_t, JSecond_t) | function |
int * | counter |
General purpose sorter of fit results.
The default constructor will sort fit results according the method JFIT::qualitySorter.
A different method can dynamically be loaded from a (shared) library using class JEEP::JFunctionAdaptor. For the definition of an alternative method, see e.g. quality_sorter.cc
Definition at line 239 of file JEvtToolkit.hh.
typedef JFunctionAdaptor<bool, const JFit&, const JFit&> JFIT::JQualitySorter::function_adaptor_type |
Definition at line 242 of file JEvtToolkit.hh.
typedef function_adaptor_type::pF JFIT::JQualitySorter::pF |
Definition at line 243 of file JEvtToolkit.hh.
|
inline |
Default constructor.
Definition at line 249 of file JEvtToolkit.hh.
|
inlineinherited |
Function operation.
first | first argument |
second | second argument |
Definition at line 372 of file JFunctionAdaptor.hh.
|
inlineinherited |
Check validity.
Definition at line 52 of file JFunctionAdaptor.hh.
|
inlineinherited |
Reset function adaptor helper.
Definition at line 61 of file JFunctionAdaptor.hh.
|
inlineinherited |
Set function.
pf | pointer to function |
Definition at line 76 of file JFunctionAdaptor.hh.
|
inlineinherited |
Open file.
file_name | file name |
Definition at line 89 of file JFunctionAdaptor.hh.
|
inlineinherited |
Close file.
Note that the file should remain open as long as the library method is used.
Definition at line 108 of file JFunctionAdaptor.hh.
|
inlineprotectedinherited |
Get function with given name according to specific protocol.
function_name | function name |
Definition at line 212 of file JFunctionAdaptor.hh.
|
inlineinherited |
Initialise counter.
Definition at line 32 of file JSharedCounter.hh.
|
inlineinherited |
Attach this counter to given shared counter object.
object | shared counter |
Definition at line 45 of file JSharedCounter.hh.
|
inlineinherited |
|
protectedinherited |
Definition at line 234 of file JFunctionAdaptor.hh.
|
protectedinherited |
Definition at line 235 of file JFunctionAdaptor.hh.
|
protectedinherited |
Definition at line 82 of file JSharedCounter.hh.