KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVTGIDFitter.h
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
82protected:
96
97 void MakeTGID();
98
99public:
100 KVTGIDFitter();
101 virtual ~KVTGIDFitter();
102
103 virtual void Fit(KVIDGraph*);
104
105 void FitPanel(Int_t functional_type = 1, Bool_t with_csi_light_energy = kTRUE,
106 Int_t first_Z = -1, Int_t last_Z = -1, Double_t xmin = 0.0, Double_t xmax = 0.0); // *MENU*
107
109 {
117 fType = t;
118 };
120 {
121 return fType;
122 };
124 {
131 fLight = ih;
132 };
134 {
135 return fLight;
136 };
137 Int_t GetFitStatus() const;
138 const Char_t* GetFitStatusString() const;
139
141 {
142 return fPar;
143 };
145
147 {
148 return fTGID;
149 };
150
151 ClassDef(KVTGIDFitter, 0) //For fitting ID grids with LTG functionals
152};
153
154#endif
int Int_t
bool Bool_t
char Char_t
float Float_t
double Double_t
#define ClassDef(name, id)
Base class for particle identification in a 2D map.
Definition KVIDGraph.h:32
Fit of E-DE functional.
Float_t * fPar
array of fit parameters
Float_t * zd
array of Z's
Int_t GetFitStatus() const
Float_t * yd
array of Y coordinates
Float_t * xd
array of X coordinates
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 ?
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)
KVTGID * GetTGID() const
void MakeTGID()
Make a KVTGID out of fit result, if fit converged (irc<2)
Float_t * ad
array of A's
Int_t * istate
status of parameters
Double_t fXmin
limit for fit
Int_t irc
status code
Int_t GetLight() const
Double_t fXmax
limit for fit
Int_t fType
type of functional
const Char_t * GetFitStatusString() const
String with meaning of fit status codes (see GetFitStatus)
KVTGID * fTGID
KVTGID object representing fit result.
Int_t fLight
handles CsI total light-energy conversion
void SetFunctionalType(Int_t t)
void SetLight(Int_t ih)
Float_t * GetParameters() const
Int_t GetFunctionalType() const
Abstract base class for particle identfication using functionals developed by L. Tassan-Got (IPN Orsa...
Definition KVTGID.h:44
ABC for fitting ID grids with functionals.