KaliVeda  1.13/01
Heavy-Ion Analysis Toolkit
KVTGIDFitter.h
Go to the documentation of this file.
1 /*
2 $Id: KVTGIDFitter.h,v 1.2 2009/03/03 14:27:15 franklan Exp $
3 $Revision: 1.2 $
4 $Date: 2009/03/03 14:27:15 $
5 */
6 
9 
10 #ifndef __KVTGIDFITTER_H
11 #define __KVTGIDFITTER_H
12 
13 #include "KVVirtualIDFitter.h"
14 #include "KVTGID.h"
15 
80 protected:
94 
95  void MakeTGID();
96 
97 public:
98  KVTGIDFitter();
99  virtual ~KVTGIDFitter();
100 
101  virtual void Fit(KVIDGraph*);
102 
103  void FitPanel(Int_t functional_type = 1, Bool_t with_csi_light_energy = kTRUE,
104  Int_t first_Z = -1, Int_t last_Z = -1, Double_t xmin = 0.0, Double_t xmax = 0.0); // *MENU*
105 
107  {
115  fType = t;
116  };
118  {
119  return fType;
120  };
121  void SetLight(Int_t ih)
122  {
129  fLight = ih;
130  };
131  Int_t GetLight() const
132  {
133  return fLight;
134  };
135  Int_t GetFitStatus() const;
136  const Char_t* GetFitStatusString() const;
137 
139  {
140  return fPar;
141  };
142  Int_t* GetStatusOfParameters() const;
143 
144  KVTGID* GetTGID() const
145  {
146  return fTGID;
147  };
148 
149  ClassDef(KVTGIDFitter, 0) //For fitting ID grids with LTG functionals
150 };
151 
152 #endif
int Int_t
char Char_t
bool Bool_t
double Double_t
float Float_t
#define ClassDef(name, id)
Base class for particle identification in a 2D map.
Definition: KVIDGraph.h:31
Fit of E-DE functional.
Definition: KVTGIDFitter.h:79
Float_t * fPar
array of fit parameters
Definition: KVTGIDFitter.h:84
Float_t * zd
array of Z's
Definition: KVTGIDFitter.h:85
Int_t GetFitStatus() const
Float_t * yd
array of Y coordinates
Definition: KVTGIDFitter.h:88
Float_t * xd
array of X coordinates
Definition: KVTGIDFitter.h:87
KVTGIDFitter()
Default constructor.
virtual void Fit(KVIDGraph *)
virtual ~KVTGIDFitter()
Destructor.
Int_t * GetStatusOfParameters() const
Int_t fZorA
is grid for Z&A or only Z identification ?
Definition: KVTGIDFitter.h:83
void FitPanel(Int_t functional_type=1, Bool_t with_csi_light_energy=kTRUE, Int_t first_Z=-1, Int_t last_Z=-1, Double_t xmin=0.0, Double_t xmax=0.0)
void MakeTGID()
Make a KVTGID out of fit result, if fit converged (irc<2)
KVTGID * GetTGID() const
Definition: KVTGIDFitter.h:144
Float_t * ad
array of A's
Definition: KVTGIDFitter.h:86
Int_t * istate
status of parameters
Definition: KVTGIDFitter.h:90
Double_t fXmin
limit for fit
Definition: KVTGIDFitter.h:92
Int_t irc
status code
Definition: KVTGIDFitter.h:89
Int_t GetLight() const
Definition: KVTGIDFitter.h:131
Double_t fXmax
limit for fit
Definition: KVTGIDFitter.h:93
Int_t fType
type of functional
Definition: KVTGIDFitter.h:81
const Char_t * GetFitStatusString() const
String with meaning of fit status codes (see GetFitStatus)
KVTGID * fTGID
KVTGID object representing fit result.
Definition: KVTGIDFitter.h:91
Int_t fLight
handles CsI total light-energy conversion
Definition: KVTGIDFitter.h:82
void SetFunctionalType(Int_t t)
Definition: KVTGIDFitter.h:106
void SetLight(Int_t ih)
Definition: KVTGIDFitter.h:121
Int_t GetFunctionalType() const
Definition: KVTGIDFitter.h:117
Float_t * GetParameters() const
Definition: KVTGIDFitter.h:138
Abstract base class for particle identfication using functionals developed by L. Tassan-Got (IPN Orsa...
Definition: KVTGID.h:43
ABC for fitting ID grids with functionals.