CbmRoot
CbmLitToolFactory.h
Go to the documentation of this file.
1 
8 #ifndef CBMLITTOOLFACTORY_H_
9 #define CBMLITTOOLFACTORY_H_
10 
11 #include "base/CbmLitPtrTypes.h"
12 
13 #include <iostream>
14 #include <string>
15 
16 using std::string;
17 
19 public:
25  static TrackExtrapolatorPtr CreateTrackExtrapolator(const string& name);
26 
32  static TrackPropagatorPtr CreateTrackPropagator(const string& name);
33 
39  static TrackUpdatePtr CreateTrackUpdate(const string& name);
40 
46  static TrackFitterPtr CreateTrackFitter(const string& name);
47 
53  static TrackSelectionPtr CreateTrackSelection(const string& name);
54 
60  static TrackFinderPtr CreateTrackFinder(const string& name);
61 
67  static HitToTrackMergerPtr CreateHitToTrackMerger(const string& name);
68 
69 private:
76 
80  virtual ~CbmLitToolFactory();
81 
86 
91 };
92 
93 #endif /*CBMLITTOOLFACTORY_H_*/
CbmLitToolFactory::CreateTrackPropagator
static TrackPropagatorPtr CreateTrackPropagator(const string &name)
Create track propagation tool by name.
Definition: CbmLitToolFactory.cxx:58
TrackSelectionPtr
boost::shared_ptr< CbmLitTrackSelection > TrackSelectionPtr
Definition: CbmTofPtrTypes.h:25
CbmLitToolFactory::~CbmLitToolFactory
virtual ~CbmLitToolFactory()
Destructor.
Definition: CbmLitToolFactory.cxx:39
TrackPropagatorPtr
boost::shared_ptr< CbmLitTrackPropagator > TrackPropagatorPtr
Definition: CbmTofPtrTypes.h:23
CbmLitToolFactory::CbmLitToolFactory
CbmLitToolFactory()
Constructor. Constructor is protected since singleton pattern is used. Pointer to the object is retur...
Definition: CbmLitToolFactory.cxx:37
TrackUpdatePtr
boost::shared_ptr< CbmLitTrackUpdate > TrackUpdatePtr
Definition: CbmTofPtrTypes.h:26
CbmLitToolFactory::CreateTrackExtrapolator
static TrackExtrapolatorPtr CreateTrackExtrapolator(const string &name)
Create track extrapolation tool by name.
Definition: CbmLitToolFactory.cxx:42
CbmLitToolFactory::CreateTrackFitter
static TrackFitterPtr CreateTrackFitter(const string &name)
Create track fit tool by name.
Definition: CbmLitToolFactory.cxx:79
CbmLitToolFactory::CreateTrackFinder
static TrackFinderPtr CreateTrackFinder(const string &name)
Create track selection tool by name.
Definition: CbmLitToolFactory.cxx:121
TrackFitterPtr
boost::shared_ptr< CbmLitTrackFitter > TrackFitterPtr
Definition: CbmTofPtrTypes.h:24
CbmLitToolFactory::operator=
const CbmLitToolFactory & operator=(const CbmLitToolFactory &)
Assignment operator.
TrackExtrapolatorPtr
boost::shared_ptr< CbmLitTrackExtrapolator > TrackExtrapolatorPtr
Definition: CbmTofPtrTypes.h:22
CbmLitToolFactory::CreateTrackSelection
static TrackSelectionPtr CreateTrackSelection(const string &name)
Create track selection tool by name.
Definition: CbmLitToolFactory.cxx:91
CbmLitToolFactory::CreateTrackUpdate
static TrackUpdatePtr CreateTrackUpdate(const string &name)
Create track update tool by name.
Definition: CbmLitToolFactory.cxx:73
CbmLitToolFactory
Definition: CbmLitToolFactory.h:18
HitToTrackMergerPtr
boost::shared_ptr< CbmLitHitToTrackMerger > HitToTrackMergerPtr
Definition: CbmTofPtrTypes.h:30
CbmLitPtrTypes.h
Typedefs for algorithm interfaces.
CbmLitToolFactory::CreateHitToTrackMerger
static HitToTrackMergerPtr CreateHitToTrackMerger(const string &name)
Create hot to track merge tool by name.
Definition: CbmLitToolFactory.cxx:204
TrackFinderPtr
boost::shared_ptr< CbmLitTrackFinder > TrackFinderPtr
Definition: CbmTofPtrTypes.h:29
CbmLitToolFactory::CbmLitToolFactory
CbmLitToolFactory(const CbmLitToolFactory &)
Copy constructor.