MarlinTrk  02.08
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
IMarlinTrkSystem.cc
Go to the documentation of this file.
2 #include <sstream>
3 
4 namespace MarlinTrk{
5 
6  void IMarlinTrkSystem::setOption(unsigned CFGOption, bool val) {
7  _cfg.setOption( CFGOption, val ) ;
8  }
9 
10 
11  bool IMarlinTrkSystem::getOption( unsigned CFGOption) {
12  return _cfg[ CFGOption] ;
13  }
14 
15 
17 
19  ss << _cfg ;
20  return ss.str() ;
21  }
22 
24 
25  _cfg.registerOption( IMarlinTrkSystem::CFG::useQMS, "useMultipleScattering", true) ;
26  _cfg.registerOption( IMarlinTrkSystem::CFG::usedEdx, "useEnergyLoss", true) ;
27  _cfg.registerOption( IMarlinTrkSystem::CFG::useSmoothing, "useSmoothingInFit", false) ;
28 
29 
30  }
31 
32 
33 }
void registerOptions()
Register the possible configuration options.
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.
void registerOption(unsigned key, const std::string &name, bool defaultValue=false)
Definition: ConfigFlags.h:34
static const unsigned useSmoothing
Use smoothing when calling fit( bool fitDirection )
STL class.
void setOption(unsigned key, bool val)
Definition: ConfigFlags.h:53
T str(T...args)
bool getOption(unsigned CFGOption)
Return the option&#39;s current value - false if option not defined.
std::string getOptions()
String with all configuration options and their current values.
static const unsigned useQMS
Use multiple scattering in the track fits.