// ------------------------------------------------------------------------- // ----- CbmSttVertexFitter header file ----- // ----- Created 18/02/05 by V. Friese ----- // ------------------------------------------------------------------------- /** CbmSttVertexFitter *@author V.Friese ** ** Abstract base class for concrete STT vertex fitting algorithm. ** Each derived class must implement the method DoFit. This has ** to operate on an object of type CbmSttTrack and fill the ** parameters fPidHypo, fParamFirst, fParamLast, fFlag and fChi2. **/ #ifndef CBMSTTVERTEXFITTER #define CBMSTTVERTEXFITTER #include "TObject.h" #include "CbmSttVertex.h" class TClonesArray; class CbmSttVertexFitter : public TObject { public: /** Default constructor **/ CbmSttVertexFitter() { }; /** Destructor **/ virtual ~CbmSttVertexFitter() { }; /** Virtual method Init. If needed, to be implemented in the ** concrete class. Else no action. **/ virtual void Init() { }; /** Abstract method DoFit. To be implemented in the concrete class. ** Task: Make a fit to the hits attached to the track by the track ** finder. Fill the track parameter member variables. ** *@param pTrack Pointer to CbmSttTrack *@param pidHypo PID hypothesis for the fit. Default is pion. **/ virtual Int_t DoFit(CbmSttVertex* pVertex) = 0; ClassDef(CbmSttVertexFitter,1); }; #endif