1 #ifndef MarlinTrk_Factory_h
2 #define MarlinTrk_Factory_h
4 #include "IMarlinTrkSystem.h"
6 #include "gear/GearMgr.h"
39 const gear::GearMgr* gearMgr,
40 const std::string& options ) ;
71 typedef std::map< std::string, IMarlinTrkSystem*> TrkSystemMap ;
73 Factory() : _currentTrkSystem(0){}
Factory methods for creating the MarlinTrkSystem of a certain type: KalTest, DDKalTest, aidaTT,... Currently implemented: KalTest, DDKalTest.
Definition: Factory.h:23
static IMarlinTrkSystem * getCurrentMarlinTrkSystem()
Return the current MarlinTrkSystem, i.e.
Definition: Factory.cc:92
Base class for tracking system implementations in MarlinTrk.
Definition: IMarlinTrkSystem.h:45
static IMarlinTrkSystem * getMarlinTrkSystem(const std::string &systemType)
Return the MarlinTrkSystem of the given type - only valid after a preceeding call to createMarlinTrkS...
Definition: Factory.cc:70
static IMarlinTrkSystem * createMarlinTrkSystem(const std::string &systemType, const gear::GearMgr *gearMgr, const std::string &options)
Create the MarlinTrkSystem instance of the specified type: KalTest, DDKalTest, aidaTT,... Returns 0 if type not implemented...
Definition: Factory.cc:15