1 #ifndef IMarlinTrkSystem_h
2 #define IMarlinTrkSystem_h
30 message =
"MarlinTrk::Exception: " + text ;
59 static const unsigned size = 4 ;
72 virtual void setOption(
unsigned CFGOption,
bool val) ;
88 virtual void init() = 0 ;
96 #ifdef MARLINTRK_DIAGNOSTICS_ON
100 virtual void * getDiagnositicsPointer() = 0 ;
void registerOptions()
Register the possible configuration options.
virtual const char * what() const
virtual void setOption(unsigned CFGOption, bool val)
Sets the specified option ( one of the constants defined in IMarlinTrkSystem::CFG ) to the given valu...
static const unsigned usedEdx
Use multiple scattering in the track fits.
static const unsigned useSmoothing
Use smoothing when calling fit( bool fitDirection )
static const unsigned size
virtual ~IMarlinTrkSystem()
D'tor - cleans up any allocated resources.
virtual std::string name()
the name of the implementation
Interface for generic tracks in MarlinTrk.
Exception(const std::string &text)
bool getOption(unsigned CFGOption)
Return the option's current value - false if option not defined.
IMarlinTrkSystem & operator=(const IMarlinTrkSystem &)
std::string getOptions()
String with all configuration options and their current values.
Base class for tracking system implementations in MarlinTrk.
'Enums' for configuration options to be used with setOption().
virtual MarlinTrk::IMarlinTrack * createTrack()=0
Return an instance of IMarlinTrack corresponding to the current implementation.
Exception thrown in IMarlinTrk namespace (implemetations of IMarlinTrkSystem and IMarlinTrack).
virtual void init()=0
Initialise tracking system - to be called after configuration with setOption() - IMarlinTrkSystem can...
static const unsigned useQMS
Use multiple scattering in the track fits.