MarlinTrk
2.2.0
|
Base class for tracking system implementations in MarlinTrk. More...
#include <IMarlinTrkSystem.h>
Classes | |
struct | CFG |
'Enums' for configuration options to be used with setOption(). More... | |
Public Member Functions | |
virtual | ~IMarlinTrkSystem () |
D'tor - cleans up any allocated resources. More... | |
void | setOption (unsigned CFGOption, bool val) |
Sets the specified option ( one of the constants defined in IMarlinTrkSystem::CFG ) to the given value. | |
bool | getOption (unsigned CFGOption) |
Return the option's current value - false if option not defined. | |
std::string | getOptions () |
String with all configuration options and their current values. | |
virtual std::string | name () |
the name of the implementation | |
virtual void | init ()=0 |
Initialise tracking system - to be called after configuration with setOption() - IMarlinTrkSystem cannot be used before a call to init(). | |
virtual MarlinTrk::IMarlinTrack * | createTrack ()=0 |
Return an instance of IMarlinTrack corresponding to the current implementation. | |
Protected Member Functions | |
void | registerOptions () |
Register the possible configuration options. | |
Protected Attributes | |
ConfigFlags | _cfg |
Base class for tracking system implementations in MarlinTrk.
|
inlinevirtual |
D'tor - cleans up any allocated resources.