Jpp
|
Auxiliary interface for direct access of elements in ROOT TChain. More...
#include <JTreeScannerInterface.hh>
Public Member Functions | |
JTreeScannerInterface (const JEvaluator_t &evaluator=JEvaluator_t()) | |
Constructor. More... | |
virtual Long64_t | find (const double value) const =0 |
Find index of element that is closest in value to given value. More... | |
template<class T > | |
Long64_t | find (const T &object) const |
Find index of element that is closest in value to given object. More... | |
const JEvaluator_t & | getEvaluator () const |
Get evaluator. More... | |
Protected Attributes | |
JEvaluator_t | getValue |
Auxiliary interface for direct access of elements in ROOT TChain.
Specialiation of interface JTreeScannerInterface for ordered direct access of elements in ROOT TChain.
The optional second template argument is used to the determine the value of an element which defines the apparent order the elements in the TChain.
This interface extends the JTreeScannerInterface<JClass_t, JNullType> interface by defining the additional interface method to find a corresponding entry in the ROOT TChain.
Definition at line 32 of file JTreeScannerInterface.hh.
|
inline |
Constructor.
evaluator | evaluator |
Definition at line 371 of file JTreeScannerInterface.hh.
|
pure virtual |
Find index of element that is closest in value to given value.
value | value |
Implemented in JSUPPORT::JTreeScanner< JAssertConversion< JDerived_t, JBase_t >, JEvaluator_t >.
|
inline |
Find index of element that is closest in value to given object.
object | object |
Definition at line 392 of file JTreeScannerInterface.hh.
|
inline |
Get evaluator.
Definition at line 403 of file JTreeScannerInterface.hh.
|
protected |
Definition at line 410 of file JTreeScannerInterface.hh.