17#include "KVNumberList.h"
114 virtual ~ KVTGID() {};
#define ClassDef(name, id)
char * Form(const char *fmt,...)
Base class for KaliVeda framework.
Abstract base class for 2D identification grids in e.g. (dE,E) maps.
Base class for lines/cuts used for particle identification in 2D data maps.
Strings used to represent a set of ranges of values.
Bool_t Contains(Int_t val) const
returns kTRUE if the value 'val' is contained in the ranges defined by the number list
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
Abstract base class for particle identfication using functionals developed by L. Tassan-Got (IPN Orsa...
virtual void AddLineToGrid(KVIDGrid *g, Int_t ID, Int_t npoints, Double_t xmin, Double_t xmax, Bool_t log_scale=kFALSE)
@ kStatus_NotBetween_IDMin_IDMax
void SetIDTelescopes(const TCollection *)
Int_t fLight
with (1) or without (0) CsI light-energy dependence
Double_t fID_min
minimum ID fitted with functional
const KVString & GetIDTelescopes() const
Bool_t IsValidForTelescope(KVBase *tel) const
void SetIDmax(Double_t x)
Double_t GetIDmin() const
TString fVarX
quantity used for X coordinates
virtual KVIDLine * AddLine(KVIDGrid *)=0
Int_t fZorA
used for Z (1) or A (0) identification
void SetVarX(const Char_t *x)
static KVTGID * MakeTGID(const Char_t *name, Int_t type, Int_t light, Int_t ZorA, Int_t mass)
Bool_t IsValidForRun(Int_t run) const
void SetLTGParameterNames()
KVNumberList fRuns
list of runs for which fit is valid
const KVNumberList & GetValidRuns() const
Double_t GetLambda() const
Double_t fID_max
maximum ID fitted with functional
void SetEta(Double_t val)
void SetBeta(Double_t val)
Int_t GetLightEnergyDependence() const
Double_t GetIDmax() const
void SetValidRuns(const KVNumberList &r)
void SetIDmin(Double_t x)
void SetPdx(Double_t val)
const Char_t * GetVarX() const
TString fVarY
quantity used for Y coordinates
virtual Int_t GetStatus() const
Int_t Compare(const TObject *obj) const
void WriteToAsciiFile(std::ofstream &) const
Write parameters of LTG fit in file.
Int_t fLambda
indices of parameters
virtual void Copy(TObject &tgid) const
Copy this KVTGID function into the KVTGID object referenced by tgid.
virtual void SetIdent(KVIDLine *, Double_t ID)=0
void SetAlpha(Double_t val)
const Char_t * GetVarY() const
const Char_t * GetFunctionName() const
Int_t fMassFormula
mass formula used to calculate A from Z (if Z identification used)
Int_t fStatus
transient member, holds status code of last call to GetIdentification
Double_t GetDistanceToLine(Double_t x, Double_t y, Int_t id, Double_t *params=0)
void AddIDTelescope(KVBase *tel)
static KVTGID * ReadFromAsciiFile(const Char_t *name, std::ifstream &)
Int_t GetMassFormula() const
TString fTGIDFunctionName
name of KVTGIDFunctions:: namespace function used for identification
void SetVarY(const Char_t *x)
virtual Double_t GetIdentification(Double_t ID_min, Double_t ID_max, Double_t &ID_quality, Double_t *par=0)
KVString fTelescopes
list of telescopes for which fit is valid
virtual const Char_t * GetStatusString() const
Returns explanatory message for value of GetStatus()
void SetLambda(Double_t val)
Int_t fType
type of functional (=0 standard, =1 extended)
void SetLTGParameters(Double_t *par)
static Int_t GetNumberOfLTGParameters(Int_t type, Int_t light)
Double_t GetAlpha() const
Int_t GetFunctionalType() const
virtual void Print(Option_t *option="") const
Print info on functional and grid.
void SetStringTelescopes(const Char_t *s)
void SetPdy(Double_t val)
void SetMassformula(Int_t val)
virtual Double_t GetParameter(const TString &name) const
virtual void SetParameter(const TString &name, Double_t value)
const char * GetName() const override
const char * Data() const
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const