Range used for the Machine Learning assisted TrackFinding approach. More...
#include <MLRange.h>
Public Member Functions | |
MLRange (ClassifierType *classifier, CutType cut) | |
Constructor. | |
bool | contains (std::array< double, Ndims > hits) const |
method used to decide if a hit combination passes the Machine Learning filter | |
void | persist (TTree *, const std::string &, const std::string &) |
For Storing this range. | |
Private Attributes | |
ClassifierType * | m_classifier |
Pointer to classifier to be used. | |
CutType | m_cut |
Cut value. | |
Range used for the Machine Learning assisted TrackFinding approach.
NOTE: This is where all the magic happens! For other Filters the SelectionVariable is responsible for calculating a value and then passes the calculated value to a Range, where a simple comparison occurs. In the case of ML Filters this is not easily possible if there should be different ML classifiers for different detector regions. Thus, the SelectionVariable simply passes down the hits and this Range is responsible for the calculation and the comparison.
|
inline |
|
inline |
method used to decide if a hit combination passes the Machine Learning filter
hits | is the three hit combination (for the moment, maybe this will get templated in the future) that gets passed down from the MLHandover selection variable. |
Definition at line 48 of file MLRange.h.
|
inline |
|
private |
|
private |