EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CbmRichRingFitter.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file CbmRichRingFitter.h
1 /******************************************************************************
2 * $Id: CbmRichRingFitter.h,v 1.2 2006/09/13 14:57:07 hoehne Exp $
3 *
4 * Class : CbmRichRingFitter
5 * Description: Abstract base class for concrete Rich Ring fitting algorithms.
6 * Each derived class must implement the method DoFit.
7 *
8 * Author : Supriya Das
9 * E-mail : S.Das@gsi.de
10 *
11 *******************************************************************************
12 * $Log: CbmRichRingFitter.h,v $
13 * Revision 1.2 2006/09/13 14:57:07 hoehne
14 * task for calculating Chi2 of ring fit added
15 *
16 * Revision 1.1 2006/01/19 11:33:12 hoehne
17 * initial version: base class for RingFitters
18 *
19 *
20 *******************************************************************************/
21 #ifndef CBM_RICH_RING_FITTER
22 #define CBM_RICH_RING_FITTER 1
23 
24 //#include "TClonesArray.h"
25 #include "TObject.h"
26 
27 class CbmRichRing;
28 class TClonesArray;
29 
30 class CbmRichRingFitter : public TObject
31 {
32 
33  public:
34 
37 
38 
40  virtual ~CbmRichRingFitter() { };
41 
42 
46  virtual void Init() { };
47 
48 
55  virtual void DoFit(CbmRichRing* pRing) = 0;
56 
60  void SetVerbose(Int_t verbose) { fVerbose = verbose; };
61 
62  protected:
63 
68  virtual void CalcChi2(CbmRichRing* pRing) {};
69 
70  Int_t fVerbose; // Verbosity level
71 
72  TClonesArray* fHitsArray;
73 
74  private:
75 
78 
80 
81 
82 };
83 
84 #endif