KaliVeda
Toolkit for HIC analysis
KVTGIDZ Class Reference

Detailed Description

Abstract base class for charged particle Z identfication using functionals developed by L. Tassan-Got (IPN Orsay)

A KVIDZGrid identification grid can be generated from the functional in order to visualise the corresponding identification lines.

The following methods are defined in this class:

SetIdent() -- sets the Z for each KVIDZLine
AddLine() -- adds a KVIDZLine to the grid
NewGrid() -- generates a new KVIDZGrid

Definition at line 33 of file KVTGIDZ.h.

#include <KVTGIDZ.h>

Inheritance diagram for KVTGIDZ:

Public Member Functions

 KVTGIDZ ()
 
 KVTGIDZ (const Char_t *name, const Char_t *function, Double_t xmin, Double_t xmax, Int_t npar, Int_t x_par, Int_t y_par)
 
 KVTGIDZ (const Char_t *name, Int_t npar, Int_t type, Int_t light, Int_t mass)
 
 KVTGIDZ (const KVTGID &)
 
virtual ~ KVTGIDZ ()
 
- Public Member Functions inherited from KVTGID
 KVTGID ()
 Default ctor. More...
 
 KVTGID (const Char_t *name, const Char_t *function, Double_t xmin, Double_t xmax, Int_t npar, Int_t par_x, Int_t par_y)
 
 KVTGID (const KVTGID &)
 copy constructor More...
 
virtual ~ KVTGID ()
 
void AddIDTelescope (KVBase *tel)
 
virtual void AddLineToGrid (KVIDGrid *g, Int_t ID, Int_t npoints, Double_t xmin, Double_t xmax, Bool_t log_scale=kFALSE)
 
void ClearIDTelescopes ()
 
Int_t Compare (const TObject *obj) const override
 
void Copy (TObject &tgid) const override
 Copy this KVTGID function into the KVTGID object referenced by tgid. More...
 
Double_t GetAlpha () const
 
Double_t GetBeta () const
 
Double_t GetDistanceToLine (Double_t x, Double_t y, Int_t id, Double_t *params=0)
 
Double_t GetEta () const
 
Int_t GetFunctionalType () const
 
const Char_t * GetFunctionName () const
 
Double_t GetG () const
 
virtual Double_t GetIdentification (Double_t ID_min, Double_t ID_max, Double_t &ID_quality, Double_t *par=0)
 
Double_t GetIDmax () const
 
Double_t GetIDmin () const
 
const KVString & GetIDTelescopes () const
 
Double_t GetLambda () const
 
Int_t GetLightEnergyDependence () const
 
Int_t GetMassFormula () const
 
Double_t GetMu () const
 
Double_t GetNu () const
 
Double_t GetPdx () const
 
Double_t GetPdy () const
 
virtual Int_t GetStatus () const
 
virtual const Char_t * GetStatusString () const
 Returns explanatory message for value of GetStatus() More...
 
const KVNumberList & GetValidRuns () const
 
const Char_t * GetVarX () const
 
const Char_t * GetVarY () const
 
Double_t GetXi () const
 
Int_t GetZorA () const
 
Bool_t IsValidForRun (Int_t run) const
 
Bool_t IsValidForTelescope (KVBase *tel) const
 
void Print (Option_t *option="") const override
 Print info on functional and grid. More...
 
void SetAlpha (Double_t val)
 
void SetBeta (Double_t val)
 
void SetEta (Double_t val)
 
void SetG (Double_t val)
 
void SetIDmax (Double_t x)
 
void SetIDmin (Double_t x)
 
void SetIDTelescopes (const TCollection *)
 
void SetLambda (Double_t val)
 
void SetLTGParameterNames ()
 
void SetLTGParameters (Double_t *par)
 
void SetLTGParameters (Float_t *par)
 
void SetMassformula (Int_t val)
 
void SetMu (Double_t val)
 
void SetNu (Double_t val)
 
void SetPdx (Double_t val)
 
void SetPdy (Double_t val)
 
void SetValidRuns (const KVNumberList &r)
 
void SetVarX (const Char_t *x)
 
void SetVarY (const Char_t *x)
 
void SetXi (Double_t val)
 
void WriteToAsciiFile (std::ofstream &) const
 Write parameters of LTG fit in file. More...
 

Additional Inherited Members

- Public Types inherited from KVTGID
enum  { kStatus_OK , kStatus_NotBetween_IDMin_IDMax }
 status codes for GetIdentification More...
 
- Static Public Member Functions inherited from KVTGID
static Int_t GetNumberOfLTGParameters (Int_t type, Int_t light)
 
static KVTGID * MakeTGID (const Char_t *name, Int_t type, Int_t light, Int_t ZorA, Int_t mass)
 
static KVTGID * ReadFromAsciiFile (const Char_t *name, std::ifstream &)
 

Constructor & Destructor Documentation

◆ KVTGIDZ() [1/4]

KVTGIDZ::KVTGIDZ ( )
inline

Definition at line 39 of file KVTGIDZ.h.

◆ KVTGIDZ() [2/4]

KVTGIDZ::KVTGIDZ ( const Char_t *  name,
const Char_t *  function,
Double_t  xmin,
Double_t  xmax,
Int_t  npar,
Int_t  x_par,
Int_t  y_par 
)

Create Z identification with given name, using a KVTGIDFunctions namespace function (e.g. "tassangot_Z"), for 'x' values from xmin to xmax, npar parameters, and defining the parameter indices corresponding to 'x' and 'y' coordinates.

Definition at line 25 of file KVTGIDZ.cpp.

◆ KVTGIDZ() [3/4]

KVTGIDZ::KVTGIDZ ( const Char_t *  name,
Int_t  npar,
Int_t  type,
Int_t  light,
Int_t  mass 
)

Create Z identification with given "name", using the generalised Tassan-Got functional KVTGIDFunctions::fede. npar = total number of parameters type = functional type (0: standard, 1:extended) light = with (1) or without (0) CsI light-energy dependence mass = mass formula used to calculate A for each Z (see KVNucleus::GetAFromZ)

Definition at line 50 of file KVTGIDZ.cpp.

◆ KVTGIDZ() [4/4]

KVTGIDZ::KVTGIDZ ( const KVTGID &  obj)

Copy constructor. Can be used with any daughter class of KVTGID. The parameter ZorA is set to 1 (i.e. only Z idenfification) and the Parameter 3 is the mass formula.

Definition at line 94 of file KVTGIDZ.cpp.

◆ ~ KVTGIDZ()

virtual KVTGIDZ::~ KVTGIDZ ( )
inlinevirtual

Definition at line 47 of file KVTGIDZ.h.