KaliVeda
Toolkit for HIC analysis
|
Abstract base class for particle identfication using functionals developed by L. Tassan-Got (IPN Orsay)
These functionals are defined in the KVTGIDFunctions namespace, and the functional used by each KVTGID object is defined by giving its name to the constructor. These objects are persistent, i.e. can be retrieved from a ROOT file and used for identification.
GetIdentification() method performs an identification. Status code can be retrieved afterwards using GetStatus();
A KVIDGrid identification grid can be generated from the functional in order to visualise the corresponding identification lines. (MakeIDGrid)
The following methods must be defined by child-classes:
#include <KVTGID.h>
Public Types | |
enum | { kStatus_OK , kStatus_NotBetween_IDMin_IDMax } |
status codes for GetIdentification More... | |
Public Types inherited from TF1 | |
enum | EAddToList |
enum | EStatusBits |
Public Types inherited from TObject | |
enum | EDeprecatedStatusBits |
enum | EStatusBits |
Public Member Functions | |
KVTGID () | |
Default ctor. | |
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 | |
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 |
virtual void | Copy (TObject &tgid) const |
Copy this KVTGID function into the KVTGID object referenced by tgid. | |
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() | |
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 |
virtual void | Print (Option_t *option="") const |
Print info on functional and grid. | |
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. | |
Public Member Functions inherited from TF1 | |
TF1 () | |
TF1 (const char *name, const char *formula, Double_t xmin, Double_t xmax, Option_t *option) | |
TF1 (const char *name, const char *formula, Double_t xmin=0, Double_t xmax=1, EAddToList addToGlobList=EAddToList::kDefault, bool vectorize=false) | |
TF1 (const char *name, const PtrObj &p, MemFn memFn, Double_t xmin, Double_t xmax, Int_t npar, const char *, const char *, EAddToList addToGlobList=EAddToList::kDefault) | |
TF1 (const char *name, const PtrObj &p, MemFn memFn, Double_t xmin, Double_t xmax, Int_t npar, Int_t ndim=1, EAddToList addToGlobList=EAddToList::kDefault) | |
TF1 (const char *name, Double_t xmin, Double_t xmax, Int_t npar, Int_t ndim=1, EAddToList addToGlobList=EAddToList::kDefault) | |
TF1 (const char *name, Double_t(*fcn)(const Double_t *, const Double_t *), Double_t xmin=0, Double_t xmax=1, Int_t npar=0, Int_t ndim=1, EAddToList addToGlobList=EAddToList::kDefault) | |
TF1 (const char *name, Double_t(*fcn)(Double_t *, Double_t *), Double_t xmin=0, Double_t xmax=1, Int_t npar=0, Int_t ndim=1, EAddToList addToGlobList=EAddToList::kDefault) | |
TF1 (const char *name, Func f, Double_t xmin, Double_t xmax, Int_t npar, const char *, EAddToList addToGlobList=EAddToList::kDefault) | |
TF1 (const char *name, Func f, Double_t xmin, Double_t xmax, Int_t npar, Int_t ndim=1, EAddToList addToGlobList=EAddToList::kDefault) | |
TF1 (const char *name, ROOT::Math::ParamFunctor f, Double_t xmin=0, Double_t xmax=1, Int_t npar=0, Int_t ndim=1, EAddToList addToGlobList=EAddToList::kDefault) | |
TF1 (const char *name, std::function< T(const T *data, const Double_t *param)> &fcn, Double_t xmin=0, Double_t xmax=1, Int_t npar=0, Int_t ndim=1, EAddToList addToGlobList=EAddToList::kDefault) | |
TF1 (const char *name, T(*fcn)(const T *, const Double_t *), Double_t xmin=0, Double_t xmax=1, Int_t npar=0, Int_t ndim=1, EAddToList addToGlobList=EAddToList::kDefault) | |
TF1 (const TF1 &f1) | |
~TF1 () override | |
virtual void | AddParameter (const TString &name, Double_t value) |
virtual Bool_t | AddToGlobalList (Bool_t on=kTRUE) |
void | Browse (TBrowser *b) override |
virtual Double_t | CentralMoment (Double_t n, Double_t a, Double_t b, const Double_t *params=nullptr, Double_t epsilon=0.000001) |
TObject * | Clone (const char *newname=nullptr) const override |
void | Copy (TObject &f1) const override |
virtual TH1 * | CreateHistogram () |
virtual Double_t | Derivative (Double_t x, Double_t *params=nullptr, Double_t epsilon=0.001) const |
virtual Double_t | Derivative2 (Double_t x, Double_t *params=nullptr, Double_t epsilon=0.001) const |
virtual Double_t | Derivative3 (Double_t x, Double_t *params=nullptr, Double_t epsilon=0.001) const |
Int_t | DistancetoPrimitive (Int_t px, Int_t py) override |
void | Draw (Option_t *option="") override |
virtual TF1 * | DrawCopy (Option_t *option="") const |
virtual TObject * | DrawDerivative (Option_t *option="al") |
virtual void | DrawF1 (Double_t xmin, Double_t xmax, Option_t *option="") |
virtual TObject * | DrawIntegral (Option_t *option="al") |
virtual Double_t | Eval (Double_t x, Double_t y=0, Double_t z=0, Double_t t=0) const |
virtual Double_t | EvalPar (const Double_t *x, const Double_t *params=nullptr) |
T | EvalPar (const T *x, const Double_t *params=nullptr) |
void | ExecuteEvent (Int_t event, Int_t px, Int_t py) override |
virtual void | FixParameter (Int_t ipar, Double_t value) |
Double_t | GetChisquare () const |
virtual TString | GetExpFormula (Option_t *option="") const |
virtual TFormula * | GetFormula () |
virtual const TFormula * | GetFormula () const |
virtual TH1 * | GetHistogram () const |
virtual const TObject * | GetLinearPart (Int_t i) const |
virtual Double_t | GetMaximum (Double_t xmin=0, Double_t xmax=0, Double_t epsilon=1.E-10, Int_t maxiter=100, Bool_t logx=false) const |
virtual Double_t | GetMaximumStored () const |
virtual Double_t | GetMaximumX (Double_t xmin=0, Double_t xmax=0, Double_t epsilon=1.E-10, Int_t maxiter=100, Bool_t logx=false) const |
TMethodCall * | GetMethodCall () const |
virtual Double_t | GetMinimum (Double_t xmin=0, Double_t xmax=0, Double_t epsilon=1.E-10, Int_t maxiter=100, Bool_t logx=false) const |
virtual Double_t | GetMinimumStored () const |
virtual Double_t | GetMinimumX (Double_t xmin=0, Double_t xmax=0, Double_t epsilon=1.E-10, Int_t maxiter=100, Bool_t logx=false) const |
virtual Int_t | GetNDF () const |
virtual Int_t | GetNdim () const |
virtual Int_t | GetNpar () const |
virtual Int_t | GetNpx () const |
virtual Int_t | GetNumber () const |
virtual Int_t | GetNumberFitPoints () const |
virtual Int_t | GetNumberFreeParameters () const |
char * | GetObjectInfo (Int_t px, Int_t py) const override |
virtual Double_t | GetParameter (const TString &name) const |
virtual Double_t | GetParameter (Int_t ipar) const |
virtual Double_t * | GetParameters () const |
virtual void | GetParameters (Double_t *params) |
TObject * | GetParent () const |
virtual Double_t | GetParError (Int_t ipar) const |
virtual const Double_t * | GetParErrors () const |
virtual void | GetParLimits (Int_t ipar, Double_t &parmin, Double_t &parmax) const |
virtual const char * | GetParName (Int_t ipar) const |
virtual Int_t | GetParNumber (const char *name) const |
virtual Double_t | GetProb () const |
virtual Int_t | GetQuantiles (Int_t nprobSum, Double_t *q, const Double_t *probSum) |
virtual Double_t | GetRandom (Double_t xmin, Double_t xmax, TRandom *rng=nullptr, Option_t *opt=nullptr) |
virtual Double_t | GetRandom (TRandom *rng=nullptr, Option_t *opt=nullptr) |
virtual void | GetRange (Double_t &xmin, Double_t &xmax) const |
virtual void | GetRange (Double_t &xmin, Double_t &ymin, Double_t &xmax, Double_t &ymax) const |
virtual void | GetRange (Double_t &xmin, Double_t &ymin, Double_t &zmin, Double_t &xmax, Double_t &ymax, Double_t &zmax) const |
virtual Double_t | GetSave (const Double_t *x) |
virtual Double_t | GetVariable (const TString &name) |
virtual Double_t | GetX (Double_t y, Double_t xmin=0, Double_t xmax=0, Double_t epsilon=1.E-10, Int_t maxiter=100, Bool_t logx=false) const |
TAxis * | GetXaxis () const |
virtual Double_t | GetXmax () const |
virtual Double_t | GetXmin () const |
TAxis * | GetYaxis () const |
TAxis * | GetZaxis () const |
virtual void | GradientPar (const Double_t *x, Double_t *grad, Double_t eps=0.01) |
void | GradientPar (const T *x, T *grad, Double_t eps=0.01) |
virtual Double_t | GradientPar (Int_t ipar, const Double_t *x, Double_t eps=0.01) |
T | GradientPar (Int_t ipar, const T *x, Double_t eps=0.01) |
void | GradientParTempl (const T *x, T *grad, Double_t eps=0.01) |
T | GradientParTempl (Int_t ipar, const T *x, Double_t eps=0.01) |
virtual void | InitArgs (const Double_t *x, const Double_t *params) |
virtual Double_t | Integral (Double_t a, Double_t b, Double_t epsrel=1.e-12) |
virtual Double_t | IntegralError (Double_t a, Double_t b, const Double_t *params=nullptr, const Double_t *covmat=nullptr, Double_t epsilon=1.E-2) |
virtual Double_t | IntegralError (Int_t n, const Double_t *a, const Double_t *b, const Double_t *params=nullptr, const Double_t *covmat=nullptr, Double_t epsilon=1.E-2) |
virtual Double_t | IntegralFast (Int_t num, Double_t *x, Double_t *w, Double_t a, Double_t b, Double_t *params=nullptr, Double_t epsilon=1e-12) |
virtual Double_t | IntegralMultiple (Int_t n, const Double_t *a, const Double_t *b, Double_t epsrel, Double_t &relerr) |
virtual Double_t | IntegralMultiple (Int_t n, const Double_t *a, const Double_t *b, Int_t maxpts, Double_t epsrel, Double_t epsabs, Double_t &relerr, Int_t &nfnevl, Int_t &ifail) |
virtual Double_t | IntegralMultiple (Int_t n, const Double_t *a, const Double_t *b, Int_t, Int_t maxpts, Double_t epsrel, Double_t &relerr, Int_t &nfnevl, Int_t &ifail) |
virtual Double_t | IntegralOneDim (Double_t a, Double_t b, Double_t epsrel, Double_t epsabs, Double_t &err) |
TClass * | IsA () const override |
virtual Bool_t | IsEvalNormalized () const |
virtual Bool_t | IsInside (const Double_t *x) const |
virtual Bool_t | IsLinear () const |
virtual Bool_t | IsValid () const |
bool | IsVectorized () |
virtual Double_t | Mean (Double_t a, Double_t b, const Double_t *params=nullptr, Double_t epsilon=0.000001) |
virtual Double_t | Moment (Double_t n, Double_t a, Double_t b, const Double_t *params=nullptr, Double_t epsilon=0.000001) |
T | operator() (const T *x, const Double_t *params=nullptr) |
virtual Double_t | operator() (Double_t x, Double_t y=0, Double_t z=0, Double_t t=0) const |
TF1 & | operator= (const TF1 &rhs) |
void | Paint (Option_t *option="") override |
void | Print (Option_t *option="") const override |
virtual void | ReleaseParameter (Int_t ipar) |
virtual void | Save (Double_t xmin, Double_t xmax, Double_t ymin, Double_t ymax, Double_t zmin, Double_t zmax) |
void | SavePrimitive (std::ostream &out, Option_t *option="") override |
virtual void | SetChisquare (Double_t chi2) |
virtual void | SetFitResult (const ROOT::Fit::FitResult &result, const Int_t *indpar=nullptr) |
void | SetFunction (Func f) |
void | SetFunction (PtrObj &p, MemFn memFn) |
virtual void | SetMaximum (Double_t maximum=-1111) |
virtual void | SetMinimum (Double_t minimum=-1111) |
virtual void | SetNDF (Int_t ndf) |
virtual void | SetNormalized (Bool_t flag) |
virtual void | SetNpx (Int_t npx=100) |
virtual void | SetNumberFitPoints (Int_t npfits) |
virtual void | SetParameter (const TString &name, Double_t value) |
virtual void | SetParameter (Int_t param, Double_t value) |
virtual void | SetParameters (const Double_t *params) |
virtual void | SetParameters (double p0, double p1=0.0, double p2=0.0, double p3=0.0, double p4=0.0, double p5=0.0, double p6=0.0, double p7=0.0, double p8=0.0, double p9=0.0, double p10=0.0) |
virtual void | SetParent (TObject *p=nullptr) |
virtual void | SetParError (Int_t ipar, Double_t error) |
virtual void | SetParErrors (const Double_t *errors) |
virtual void | SetParLimits (Int_t ipar, Double_t parmin, Double_t parmax) |
virtual void | SetParName (Int_t ipar, const char *name) |
virtual void | SetParNames (const char *name0="p0", const char *name1="p1", const char *name2="p2", const char *name3="p3", const char *name4="p4", const char *name5="p5", const char *name6="p6", const char *name7="p7", const char *name8="p8", const char *name9="p9", const char *name10="p10") |
virtual void | SetRange (Double_t xmin, Double_t xmax) |
virtual void | SetRange (Double_t xmin, Double_t ymin, Double_t xmax, Double_t ymax) |
virtual void | SetRange (Double_t xmin, Double_t ymin, Double_t zmin, Double_t xmax, Double_t ymax, Double_t zmax) |
virtual void | SetSavedPoint (Int_t point, Double_t value) |
void | SetTitle (const char *title="") override |
virtual void | SetVectorized (Bool_t vectorized) |
void | Streamer (TBuffer &) override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
virtual void | Update () |
virtual Double_t | Variance (Double_t a, Double_t b, const Double_t *params=nullptr, Double_t epsilon=0.000001) |
Public Member Functions inherited from TNamed | |
TNamed () | |
TNamed (const char *name, const char *title) | |
TNamed (const TNamed &named) | |
TNamed (const TString &name, const TString &title) | |
virtual | ~TNamed () |
void | Clear (Option_t *option="") override |
TObject * | Clone (const char *newname="") const override |
Int_t | Compare (const TObject *obj) const override |
void | Copy (TObject &named) const override |
virtual void | FillBuffer (char *&buffer) |
const char * | GetName () const override |
const char * | GetTitle () const override |
ULong_t | Hash () const override |
TClass * | IsA () const override |
Bool_t | IsSortable () const override |
void | ls (Option_t *option="") const override |
TNamed & | operator= (const TNamed &rhs) |
void | Print (Option_t *option="") const override |
virtual void | SetName (const char *name) |
virtual void | SetNameTitle (const char *name, const char *title) |
virtual Int_t | Sizeof () const |
void | Streamer (TBuffer &) override |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Public Member Functions inherited from TObject | |
TObject () | |
TObject (const TObject &object) | |
virtual | ~TObject () |
void | AbstractMethod (const char *method) const |
virtual void | AppendPad (Option_t *option="") |
ULong_t | CheckedHash () |
virtual const char * | ClassName () const |
virtual void | Delete (Option_t *option="") |
virtual void | DrawClass () const |
virtual TObject * | DrawClone (Option_t *option="") const |
virtual void | Dump () const |
virtual void | Error (const char *method, const char *msgfmt,...) const |
virtual void | Execute (const char *method, const char *params, Int_t *error=nullptr) |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr) |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
virtual TObject * | FindObject (const char *name) const |
virtual TObject * | FindObject (const TObject *obj) const |
virtual Option_t * | GetDrawOption () const |
virtual const char * | GetIconName () const |
virtual Option_t * | GetOption () const |
virtual UInt_t | GetUniqueID () const |
virtual Bool_t | HandleTimer (TTimer *timer) |
Bool_t | HasInconsistentHash () const |
virtual void | Info (const char *method, const char *msgfmt,...) const |
virtual Bool_t | InheritsFrom (const char *classname) const |
virtual Bool_t | InheritsFrom (const TClass *cl) const |
virtual void | Inspect () const |
void | InvertBit (UInt_t f) |
Bool_t | IsDestructed () const |
virtual Bool_t | IsEqual (const TObject *obj) const |
virtual Bool_t | IsFolder () const |
R__ALWAYS_INLINE Bool_t | IsOnHeap () const |
R__ALWAYS_INLINE Bool_t | IsZombie () const |
void | MayNotUse (const char *method) const |
virtual Bool_t | Notify () |
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, void *vp) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, void *vp) |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, void *vp) |
TObject & | operator= (const TObject &rhs) |
virtual void | Pop () |
virtual Int_t | Read (const char *name) |
virtual void | RecursiveRemove (TObject *obj) |
void | ResetBit (UInt_t f) |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
void | SetBit (UInt_t f) |
void | SetBit (UInt_t f, Bool_t set) |
virtual void | SetDrawOption (Option_t *option="") |
virtual void | SetUniqueID (UInt_t uid) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
virtual void | SysError (const char *method, const char *msgfmt,...) const |
R__ALWAYS_INLINE Bool_t | TestBit (UInt_t f) const |
Int_t | TestBits (UInt_t f) const |
virtual void | UseCurrentStyle () |
virtual void | Warning (const char *method, const char *msgfmt,...) const |
virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) |
virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const |
Public Member Functions inherited from TAttLine | |
TAttLine () | |
TAttLine (Color_t lcolor, Style_t lstyle, Width_t lwidth) | |
virtual | ~TAttLine () |
void | Copy (TAttLine &attline) const |
Int_t | DistancetoLine (Int_t px, Int_t py, Double_t xp1, Double_t yp1, Double_t xp2, Double_t yp2) |
virtual Color_t | GetLineColor () const |
virtual Style_t | GetLineStyle () const |
virtual Width_t | GetLineWidth () const |
virtual void | Modify () |
virtual void | ResetAttLine (Option_t *option="") |
virtual void | SaveLineAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t widdef=1) |
virtual void | SetLineAttributes () |
virtual void | SetLineColor (Color_t lcolor) |
virtual void | SetLineColorAlpha (Color_t lcolor, Float_t lalpha) |
virtual void | SetLineStyle (Style_t lstyle) |
virtual void | SetLineWidth (Width_t lwidth) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Public Member Functions inherited from TAttFill | |
TAttFill () | |
TAttFill (Color_t fcolor, Style_t fstyle) | |
virtual | ~TAttFill () |
void | Copy (TAttFill &attfill) const |
virtual Color_t | GetFillColor () const |
virtual Style_t | GetFillStyle () const |
virtual Bool_t | IsTransparent () const |
virtual void | Modify () |
virtual void | ResetAttFill (Option_t *option="") |
virtual void | SaveFillAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1001) |
virtual void | SetFillAttributes () |
virtual void | SetFillColor (Color_t fcolor) |
virtual void | SetFillColorAlpha (Color_t fcolor, Float_t falpha) |
virtual void | SetFillStyle (Style_t fstyle) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Public Member Functions inherited from TAttMarker | |
TAttMarker () | |
TAttMarker (Color_t color, Style_t style, Size_t msize) | |
virtual | ~TAttMarker () |
void | Copy (TAttMarker &attmarker) const |
virtual Color_t | GetMarkerColor () const |
virtual Size_t | GetMarkerSize () const |
virtual Style_t | GetMarkerStyle () const |
virtual void | Modify () |
virtual void | ResetAttMarker (Option_t *toption="") |
virtual void | SaveMarkerAttributes (std::ostream &out, const char *name, Int_t coldef=1, Int_t stydef=1, Int_t sizdef=1) |
virtual void | SetMarkerAttributes () |
virtual void | SetMarkerColor (Color_t mcolor=1) |
virtual void | SetMarkerColorAlpha (Color_t mcolor, Float_t malpha) |
virtual void | SetMarkerSize (Size_t msize=1) |
virtual void | SetMarkerStyle (Style_t mstyle=1) |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
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 &) |
Static Public Member Functions inherited from TF1 | |
static void | AbsValue (Bool_t reject=kTRUE) |
static void | CalcGaussLegendreSamplingPoints (Int_t num, Double_t *x, Double_t *w, Double_t eps=3.0e-11) |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
static Bool_t | DefaultAddToGlobalList (Bool_t on=kTRUE) |
static Double_t | DerivativeError () |
static TF1 * | GetCurrent () |
static void | InitStandardFunctions () |
static Bool_t | RejectedPoint () |
static void | RejectPoint (Bool_t reject=kTRUE) |
static void | SetCurrent (TF1 *f1) |
Static Public Member Functions inherited from TNamed | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TObject | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
static Longptr_t | GetDtorOnly () |
static Bool_t | GetObjectStat () |
static void | SetDtorOnly (void *obj) |
static void | SetObjectStat (Bool_t stat) |
Static Public Member Functions inherited from TAttLine | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TAttFill | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TAttMarker | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
static Width_t | GetMarkerLineWidth (Style_t style) |
static Style_t | GetMarkerStyleBase (Style_t style) |
Private Member Functions | |
virtual KVIDLine * | AddLine (KVIDGrid *)=0 |
void | init () |
virtual void | SetIdent (KVIDLine *, Double_t ID)=0 |
void | SetStringTelescopes (const Char_t *s) |
Private Attributes | |
Int_t | fAlpha |
Int_t | fBeta |
Int_t | fEta |
Int_t | fG |
Double_t | fID_max |
maximum ID fitted with functional | |
Double_t | fID_min |
minimum ID fitted with functional | |
Int_t | fLambda |
indices of parameters | |
Int_t | fLight |
with (1) or without (0) CsI light-energy dependence | |
Int_t | fMassFormula |
mass formula used to calculate A from Z (if Z identification used) | |
Int_t | fMu |
Int_t | fNu |
Int_t | fPdx |
Int_t | fPdy |
KVNumberList | fRuns |
list of runs for which fit is valid | |
Int_t | fStatus |
transient member, holds status code of last call to GetIdentification | |
KVString | fTelescopes |
list of telescopes for which fit is valid | |
TString | fTGIDFunctionName |
name of KVTGIDFunctions:: namespace function used for identification | |
Int_t | fType |
type of functional (=0 standard, =1 extended) | |
TString | fVarX |
quantity used for X coordinates | |
TString | fVarY |
quantity used for Y coordinates | |
Int_t | fXi |
Int_t | fZorA |
used for Z (1) or A (0) identification | |
anonymous enum |
KVTGID::KVTGID | ( | ) |
Default ctor.
Definition at line 61 of file KVTGID.cpp.
KVTGID::KVTGID | ( | const KVTGID & | obj | ) |
copy constructor
Definition at line 127 of file KVTGID.cpp.
KVTGID::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 | ||
) |
Create TF1 named "name" using "function", range xmin->xmax and number of parameters npar.
The given function name must correspond to one of the functions defined in the KVTGIDFunctions namespace (without the "KVTGIDFunctions::" scope, i.e. function="tassangot_Z" is a valid argument for this constructor). The resulting object can be written to and read back from a ROOT file and the function pointer will be reinitialised automatically when the object is read back from the file.
par_x and par_y are the indices of the parameters of the functional which correspond to the 'X' and 'Y' coordinates of the identification map, respectively.
NOTE: the function pointer passed to the TF1 constructor is just a dummy to make sure that the right constructor is called, and that the TF1 is set up correctly. The actual function used is set using the name given as argument 'function'.
Definition at line 88 of file KVTGID.cpp.
|
virtual |
Add a line to the grid 'g' for identification label 'ID' with 'npoints' points calculated between X-coordinates xmin and xmax. Points are omitted if the resulting value of the functional is not a number (TMath::IsNan = kTRUE).
If log_scale=kTRUE (default is kFALSE), more points are used at the beginning of the line than at the end, with a logarithmic dependence. add new line to grid
Reimplemented in KVTGIDZA.
Definition at line 241 of file KVTGID.cpp.
Used to sort list of KVTGID in KVTGIDManager ID obj with smallest IDmax will be first in sorted list
Reimplemented from TObject.
Definition at line 318 of file KVTGID.cpp.
Copy this KVTGID function into the KVTGID object referenced by tgid.
Reimplemented from TObject.
Definition at line 139 of file KVTGID.cpp.
Given a point (x,y) (which could, for example, be a point in a KVIDGrid line which we want to fit) we give the (vertical) distance to the functional identification line 'id'. If the point is below the line the distance is positive, if the point is above the line it is negative. If the parameter array 'params' is not given, we use the current values of the parameters.
Definition at line 364 of file KVTGID.cpp.
|
virtual |
Use the functional with the current parameter values in order to perform an identification. The value returned is the estimated identification value. If the identification is not possible, -1 is returned (ID_quality=-1 also).
For status code use GetStatus().
ID_min and ID_max are the lower & upper limits for the identification. The functional must change sign between these two limits in order for the identification to be possible. ID_quality is the (absolute) value of the functional corresponding to the estimated identification: it is the distance from the identified point to the nearest identification line. Ideally it should be zero or as small as possible.
Optional argument "par" allows to replace the current parameters.
Definition at line 188 of file KVTGID.cpp.
Static function returning number of parameters used by Tassan-Got functional. Depends on type of functional (type) and whether non-linear light response is calculated or not (light). According to the (type, light) combination the numbers and orders of parameters are : type=0 light=0 5 parameters: lambda, mu, g, pdx, pdy type=0 light<>0 6 parameters: lambda, mu, g, pdx, pdy, eta type<>0 light=0 9 parameters: lambda, alpha, beta, mu, nu, xi, g, pdx, pdy type<>0 light<>0 10 parameters: lambda, alpha, beta, mu, nu, xi, g, pdx, pdy, eta}
Definition at line 700 of file KVTGID.cpp.
|
virtual |
Returns explanatory message for value of GetStatus()
Definition at line 341 of file KVTGID.cpp.
|
inline |
|
private |
Default intitialisations We remove this object from gROOT->GetListOfFunctions() to stop the TF1 constructors from deleting previous KVTGID's with the same name
Definition at line 29 of file KVTGID.cpp.
|
static |
Static function used to create TGID objects
type --—> type of functional
light --—> treatment of CsI total light output
ZorA --—> functional used to find Z or A
Definition at line 429 of file KVTGID.cpp.
Print info on functional and grid.
Reimplemented from TObject.
Definition at line 300 of file KVTGID.cpp.
Read parameters of LTG fit in file (which must have been written with current version of KVTGID::WriteToAsciiFile)
Definition at line 813 of file KVTGID.cpp.
void KVTGID::SetIDTelescopes | ( | const TCollection * | list | ) |
set list of ID telescopes for which fit is valid. any previous list is deleted.
Definition at line 743 of file KVTGID.cpp.
void KVTGID::SetLTGParameterNames | ( | ) |
Definition at line 723 of file KVTGID.cpp.
'par' is an array containing the LTG functional parameters, whose number and order depends on fType & fLight:
par[0] = lambda par[1] = mu par[2] = g par[3] = pdx par[4] = pdy
par[0] = lambda par[1] = mu par[2] = g par[3] = pdx par[4] = pdy par[5] = eta
par[0] = lambda par[1] = alpha par[2] = beta par[3] = mu par[4] = nu par[5] = xi par[6] = g par[7] = pdx par[8] = pdy
par[0] = lambda par[1] = alpha par[2] = beta par[3] = mu par[4] = nu par[5] = xi par[6] = g par[7] = pdx par[8] = pdy par[9] = eta
Definition at line 527 of file KVTGID.cpp.
'par' is an array containing the LTG functional parameters, whose number and order depends on fType & fLight:
par[0] = lambda par[1] = mu par[2] = g par[3] = pdx par[4] = pdy
par[0] = lambda par[1] = mu par[2] = g par[3] = pdx par[4] = pdy par[5] = eta
par[0] = lambda par[1] = alpha par[2] = beta par[3] = mu par[4] = nu par[5] = xi par[6] = g par[7] = pdx par[8] = pdy
par[0] = lambda par[1] = alpha par[2] = beta par[3] = mu par[4] = nu par[5] = xi par[6] = g par[7] = pdx par[8] = pdy par[9] = eta
Definition at line 630 of file KVTGID.cpp.
|
inline |
void KVTGID::WriteToAsciiFile | ( | std::ofstream & | ) | const |
Write parameters of LTG fit in file.
Definition at line 758 of file KVTGID.cpp.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
name of KVTGIDFunctions:: namespace function used for identification
|
private |
|
private |
|
private |