BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
CbmStsTrackFitter.h
Go to the documentation of this file.
1// -------------------------------------------------------------------------
2// ----- CbmStsTrackFitter header file -----
3// ----- Created 18/02/05 by V. Friese -----
4// -------------------------------------------------------------------------
5
6/** CbmStsTrackFitter
7 *@author V.Friese <v.friese@gsi.de>
8 **
9 ** Abstract base class for concrete STS track fitting algorithm.
10 ** Each derived class must implement the method DoFit. This has
11 ** to operate on an object of type CbmStsTrack and fill the
12 ** parameters fPidHypo, fParamFirst, fParamLast, fFlag and fChi2.
13 **/
14
15#ifndef CBMSTSTRACKFITTER
16#define CBMSTSTRACKFITTER 1
17
18#include "FairTrackParam.h"
19#include "TObject.h"
20
21class CbmStsTrack;
22
24{
25
26 public:
27 /** Default constructor **/
29
30 /** Destructor **/
31 virtual ~CbmStsTrackFitter() {};
32
33 /** Virtual method Init. If needed, to be implemented in the
34 ** concrete class. Else no action.
35 **/
36 virtual void Init() {};
37
38 /** Abstract method DoFit. To be implemented in the concrete class.
39 ** Task: Make a fit to the hits attached to the track by the track
40 ** finder. Fill the track parameter member variables.
41 **
42 *@param pTrack Pointer to CbmStsTrack
43 *@param pidHypo PID hypothesis for the fit. Default is pion.
44 **/
45 virtual Int_t DoFit(CbmStsTrack* pTrack, Int_t pidHypo = 211) = 0;
46
47 /** Abstract method Extrapolate. Gives track parameters at a given z
48 ** position.
49 **
50 *@param track Pointer to StsTrack
51 *@param z z position
52 *@param param (return value) StsTrackParam at z
53 **/
54 virtual void Extrapolate(CbmStsTrack* track, Double_t z, FairTrackParam* param) = 0;
55
56 private:
58
60};
61
62#endif
int Int_t
double Double_t
#define ClassDef(name, id)
virtual Int_t DoFit(CbmStsTrack *pTrack, Int_t pidHypo=211)=0
Abstract method DoFit.
CbmStsTrackFitter(const CbmStsTrackFitter &)
virtual ~CbmStsTrackFitter()
Destructor.
virtual void Init()
Virtual method Init.
virtual void Extrapolate(CbmStsTrack *track, Double_t z, FairTrackParam *param)=0
Abstract method Extrapolate.
CbmStsTrackFitter()
Default constructor.