KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVDalitzPlot Class Reference

Detailed Description

Fill 3D observables \({a1,a2,a3}\) in a dalitz plot ,.

Created by KVClassFactory on Tue Jan 17 15:10:46 2012 Author: bonnet

Fill 3D observables \({a1,a2,a3}\) in a dalitz plot, where \(a1+a2+a3 = 1\) and fill in an equilateral triangle where the distance from each side of the triangle represents the value of each componment.

  • Normalize first the sum to 1 => \(a1+a2+a3 = 1\)
  • Deduce the position in an equilateral triangle as following
    • a1n -> distance with the bottom border /\
    • a2n -> distance with the left border / \
    • a3n -> distance with the right border /____\

Definition at line 28 of file KVDalitzPlot.h.

#include <KVDalitzPlot.h>

Inheritance diagram for KVDalitzPlot:

Public Member Functions

 KVDalitzPlot ()
 Default constructor.
 
 KVDalitzPlot (const char *name, const char *title, Bool_t ordered=kFALSE, Int_t nbinsx=120, Double_t xlow=0., Double_t xup=1.2, Int_t nbinsy=120, Double_t ylow=0., Double_t yup=1.2)
 
 KVDalitzPlot (const KVDalitzPlot &)
 
virtual ~KVDalitzPlot ()
 Destructor.
 
void Copy (TObject &) const
 
void Draw (Option_t *opt="")
 
Int_t FillAsDalitz (Double_t a1, Double_t a2, Double_t a3)
 
TH1GetDistanceFromCenter ()
 
Int_t GetShowBorder ()
 
Int_t GetShowCenter ()
 
void SetOrdered (Bool_t ordered=kTRUE)
 
void SetShowBorder (Int_t value=1)
 
void SetShowCenter (Int_t value=1)
 
- Public Member Functions inherited from TH2F
 TH2F ()
 
 TH2F (const char *name, const char *title, Int_t nbinsx, const Double_t *xbins, Int_t nbinsy, const Double_t *ybins)
 
 TH2F (const char *name, const char *title, Int_t nbinsx, const Double_t *xbins, Int_t nbinsy, Double_t ylow, Double_t yup)
 
 TH2F (const char *name, const char *title, Int_t nbinsx, const Float_t *xbins, Int_t nbinsy, const Float_t *ybins)
 
 TH2F (const char *name, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, Int_t nbinsy, const Double_t *ybins)
 
 TH2F (const char *name, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, Int_t nbinsy, Double_t ylow, Double_t yup)
 
 TH2F (const TH2F &h2f)
 
 TH2F (const TMatrixFBase &m)
 
 ~TH2F () override
 
void AddBinContent (Int_t bin) override
 
void AddBinContent (Int_t bin, Double_t w) override
 
void Copy (TObject &hnew) const override
 
TClassIsA () const override
 
TH2Foperator= (const TH2F &h1)
 
void Reset (Option_t *option="") override
 
void SetBinsLength (Int_t n=-1) override
 
void Streamer (TBuffer &) override
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TH2
 ~TH2 () override
 
Int_t BufferEmpty (Int_t action=0) override
 
virtual Int_t Fill (const char *namex, const char *namey, Double_t w)
 
virtual Int_t Fill (const char *namex, Double_t y, Double_t w)
 
virtual Int_t Fill (Double_t x, const char *namey, Double_t w)
 
Int_t Fill (Double_t x, Double_t y) override
 
virtual Int_t Fill (Double_t x, Double_t y, Double_t w)
 
void FillN (Int_t ntimes, const Double_t *x, const Double_t *y, const Double_t *w, Int_t stride=1) override
 
void FillN (Int_t, const Double_t *, const Double_t *, Int_t) override
 
void FillRandom (const char *fname, Int_t ntimes=5000, TRandom *rng=nullptr) override
 
void FillRandom (TH1 *h, Int_t ntimes=5000, TRandom *rng=nullptr) override
 
virtual void FitSlicesX (TF1 *f1=nullptr, Int_t firstybin=0, Int_t lastybin=-1, Int_t cut=0, Option_t *option="QNR", TObjArray *arr=nullptr)
 
virtual void FitSlicesY (TF1 *f1=nullptr, Int_t firstxbin=0, Int_t lastxbin=-1, Int_t cut=0, Option_t *option="QNR", TObjArray *arr=nullptr)
 
Int_t GetBin (Int_t binx, Int_t biny, Int_t binz=0) const override
 
virtual Double_t GetBinContent (Int_t bin) const
 
virtual Double_t GetBinContent (Int_t bin, Int_t) const
 
virtual Double_t GetBinContent (Int_t bin, Int_t, Int_t) const
 
Double_t GetBinContent (Int_t binx, Int_t biny) const override
 
Double_t GetBinContent (Int_t binx, Int_t biny, Int_t) const override
 
virtual Double_t GetBinErrorLow (Int_t bin) const
 
virtual Double_t GetBinErrorLow (Int_t binx, Int_t biny)
 
virtual Double_t GetBinErrorUp (Int_t bin) const
 
virtual Double_t GetBinErrorUp (Int_t binx, Int_t biny)
 
virtual Double_t GetBinWithContent2 (Double_t c, Int_t &binx, Int_t &biny, Int_t firstxbin=1, Int_t lastxbin=-1, Int_t firstybin=1, Int_t lastybin=-1, Double_t maxdiff=0) const
 
virtual Double_t GetCorrelationFactor (Int_t axis1=1, Int_t axis2=2) const
 
virtual Double_t GetCovariance (Int_t axis1=1, Int_t axis2=2) const
 
virtual void GetRandom2 (Double_t &x, Double_t &y, TRandom *rng=nullptr)
 
void GetStats (Double_t *stats) const override
 
virtual Double_t Integral (Int_t binx1, Int_t binx2, Int_t biny1, Int_t biny2, Option_t *option="") const
 
virtual Double_t Integral (Int_t, Int_t, Int_t, Int_t, Int_t, Int_t, Option_t *="") const
 
Double_t Integral (Option_t *option="") const override
 
virtual Double_t IntegralAndError (Int_t binx1, Int_t binx2, Int_t biny1, Int_t biny2, Double_t &err, Option_t *option="") const
 
Double_t Interpolate (Double_t x, Double_t y) const override
 
Double_t Interpolate (Double_t x, Double_t y, Double_t z) const override
 
Double_t KolmogorovTest (const TH1 *h2, Option_t *option="") const override
 
TProfileProfileX (const char *name="_pfx", Int_t firstybin=1, Int_t lastybin=-1, Option_t *option="") const
 
TProfileProfileY (const char *name="_pfy", Int_t firstxbin=1, Int_t lastxbin=-1, Option_t *option="") const
 
TH1DProjectionX (const char *name="_px", Int_t firstybin=0, Int_t lastybin=-1, Option_t *option="") const
 
TH1DProjectionY (const char *name="_py", Int_t firstxbin=0, Int_t lastxbin=-1, Option_t *option="") const
 
void PutStats (Double_t *stats) override
 
TH1DQuantilesX (Double_t prob=0.5, const char *name="_qx") const
 
TH1DQuantilesY (Double_t prob=0.5, const char *name="_qy") const
 
TH2Rebin (Int_t ngroup=2, const char *newname="", const Double_t *xbins=nullptr) override
 
virtual TH2Rebin2D (Int_t nxgroup=2, Int_t nygroup=2, const char *newname="")
 
TH2RebinX (Int_t ngroup=2, const char *newname="") override
 
virtual TH2RebinY (Int_t ngroup=2, const char *newname="")
 
void SetBinContent (Int_t bin, Double_t content) override
 
void SetBinContent (Int_t binx, Int_t biny, Double_t content) override
 
void SetBinContent (Int_t binx, Int_t biny, Int_t, Double_t content) override
 
virtual void SetShowProjectionX (Int_t nbins=1)
 
virtual void SetShowProjectionXY (Int_t nbinsY=1, Int_t nbinsX=1)
 
virtual void SetShowProjectionY (Int_t nbins=1)
 
TH1ShowBackground (Int_t niter=20, Option_t *option="same") override
 
Int_t ShowPeaks (Double_t sigma=2, Option_t *option="", Double_t threshold=0.05) override
 
void Smooth (Int_t ntimes=1, Option_t *option="") override
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TH1
 ~TH1 () override
 
virtual Bool_t Add (const TH1 *h, const TH1 *h2, Double_t c1=1, Double_t c2=1)
 
virtual Bool_t Add (const TH1 *h1, Double_t c1=1)
 
virtual Bool_t Add (TF1 *h1, Double_t c1=1, Option_t *option="")
 
virtual Double_t AndersonDarlingTest (const TH1 *h2, Double_t &advalue) const
 
virtual Double_t AndersonDarlingTest (const TH1 *h2, Option_t *option="") const
 
void Browse (TBrowser *b) override
 
virtual Bool_t CanExtendAllAxes () const
 
virtual Double_t Chi2Test (const TH1 *h2, Option_t *option="UU", Double_t *res=nullptr) const
 
virtual Double_t Chi2TestX (const TH1 *h2, Double_t &chi2, Int_t &ndf, Int_t &igood, Option_t *option="UU", Double_t *res=nullptr) const
 
virtual Double_t Chisquare (TF1 *f1, Option_t *option="") const
 
virtual void ClearUnderflowAndOverflow ()
 
TObjectClone (const char *newname="") const override
 
virtual Double_t ComputeIntegral (Bool_t onlyPositive=false)
 
virtual void DirectoryAutoAdd (TDirectory *)
 
Int_t DistancetoPrimitive (Int_t px, Int_t py) override
 
virtual Bool_t Divide (const TH1 *h1)
 
virtual Bool_t Divide (const TH1 *h1, const TH1 *h2, Double_t c1=1, Double_t c2=1, Option_t *option="")
 
virtual Bool_t Divide (TF1 *f1, Double_t c1=1)
 
void Draw (Option_t *option="") override
 
virtual TH1DrawCopy (Option_t *option="", const char *name_postfix="_copy") const
 
virtual TH1DrawNormalized (Option_t *option="", Double_t norm=1) const
 
virtual void DrawPanel ()
 
virtual void Eval (TF1 *f1, Option_t *option="")
 
void ExecuteEvent (Int_t event, Int_t px, Int_t py) override
 
virtual void ExtendAxis (Double_t x, TAxis *axis)
 
virtual TH1FFT (TH1 *h_output, Option_t *option)
 
virtual Int_t FindBin (Double_t x, Double_t y=0, Double_t z=0)
 
virtual Int_t FindFirstBinAbove (Double_t threshold=0, Int_t axis=1, Int_t firstBin=1, Int_t lastBin=-1) const
 
virtual Int_t FindFixBin (Double_t x, Double_t y=0, Double_t z=0) const
 
virtual Int_t FindLastBinAbove (Double_t threshold=0, Int_t axis=1, Int_t firstBin=1, Int_t lastBin=-1) const
 
TObjectFindObject (const char *name) const override
 
TObjectFindObject (const TObject *obj) const override
 
virtual TFitResultPtr Fit (const char *formula, Option_t *option="", Option_t *goption="", Double_t xmin=0, Double_t xmax=0)
 
virtual TFitResultPtr Fit (TF1 *f1, Option_t *option="", Option_t *goption="", Double_t xmin=0, Double_t xmax=0)
 
virtual void FitPanel ()
 
TH1GetAsymmetry (TH1 *h2, Double_t c2=1, Double_t dc2=0)
 
virtual Color_t GetAxisColor (Option_t *axis="X") const
 
virtual Float_t GetBarOffset () const
 
virtual Float_t GetBarWidth () const
 
virtual Double_t GetBinCenter (Int_t bin) const
 
virtual Double_t GetBinError (Int_t bin) const
 
virtual Double_t GetBinError (Int_t binx, Int_t biny) const
 
virtual Double_t GetBinError (Int_t binx, Int_t biny, Int_t binz) const
 
virtual EBinErrorOpt GetBinErrorOption () const
 
virtual Double_t GetBinLowEdge (Int_t bin) const
 
virtual Double_t GetBinWidth (Int_t bin) const
 
virtual Double_t GetBinWithContent (Double_t c, Int_t &binx, Int_t firstx=0, Int_t lastx=0, Double_t maxdiff=0) const
 
virtual void GetBinXYZ (Int_t binglobal, Int_t &binx, Int_t &biny, Int_t &binz) const
 
const Double_tGetBuffer () const
 
Int_t GetBufferLength () const
 
Int_t GetBufferSize () const
 
virtual Double_t GetCellContent (Int_t binx, Int_t biny) const
 
virtual Double_t GetCellError (Int_t binx, Int_t biny) const
 
virtual void GetCenter (Double_t *center) const
 
virtual Int_t GetContour (Double_t *levels=nullptr)
 
virtual Double_t GetContourLevel (Int_t level) const
 
virtual Double_t GetContourLevelPad (Int_t level) const
 
TH1GetCumulative (Bool_t forward=kTRUE, const char *suffix="_cumulative") const
 
virtual Int_t GetDimension () const
 
TDirectoryGetDirectory () const
 
virtual Double_t GetEffectiveEntries () const
 
virtual Double_t GetEntries () const
 
virtual TF1GetFunction (const char *name) const
 
virtual Double_tGetIntegral ()
 
virtual Double_t GetKurtosis (Int_t axis=1) const
 
virtual Color_t GetLabelColor (Option_t *axis="X") const
 
virtual Style_t GetLabelFont (Option_t *axis="X") const
 
virtual Float_t GetLabelOffset (Option_t *axis="X") const
 
virtual Float_t GetLabelSize (Option_t *axis="X") const
 
TListGetListOfFunctions () const
 
virtual void GetLowEdge (Double_t *edge) const
 
virtual Double_t GetMaximum (Double_t maxval=FLT_MAX) const
 
virtual Int_t GetMaximumBin () const
 
virtual Int_t GetMaximumBin (Int_t &locmax, Int_t &locmay, Int_t &locmaz) const
 
virtual Double_t GetMaximumStored () const
 
virtual Double_t GetMean (Int_t axis=1) const
 
virtual Double_t GetMeanError (Int_t axis=1) const
 
virtual Double_t GetMinimum (Double_t minval=-FLT_MAX) const
 
virtual void GetMinimumAndMaximum (Double_t &min, Double_t &max) const
 
virtual Int_t GetMinimumBin () const
 
virtual Int_t GetMinimumBin (Int_t &locmix, Int_t &locmiy, Int_t &locmiz) const
 
virtual Double_t GetMinimumStored () const
 
virtual Int_t GetNbinsX () const
 
virtual Int_t GetNbinsY () const
 
virtual Int_t GetNbinsZ () const
 
virtual Int_t GetNcells () const
 
virtual Int_t GetNdivisions (Option_t *axis="X") const
 
virtual Double_t GetNormFactor () const
 
char * GetObjectInfo (Int_t px, Int_t py) const override
 
Option_tGetOption () const override
 
TVirtualHistPainterGetPainter (Option_t *option="")
 
virtual Int_t GetQuantiles (Int_t nprobSum, Double_t *q, const Double_t *probSum=nullptr)
 
virtual Double_t GetRandom (TRandom *rng=nullptr) const
 
Double_t GetRMS (Int_t axis=1) const
 
Double_t GetRMSError (Int_t axis=1) const
 
virtual Double_t GetSkewness (Int_t axis=1) const
 
EStatOverflows GetStatOverflows () const
 
virtual Double_t GetStdDev (Int_t axis=1) const
 
virtual Double_t GetStdDevError (Int_t axis=1) const
 
virtual Double_t GetSumOfWeights () const
 
virtual TArrayDGetSumw2 ()
 
virtual const TArrayDGetSumw2 () const
 
virtual Int_t GetSumw2N () const
 
virtual Float_t GetTickLength (Option_t *axis="X") const
 
virtual Style_t GetTitleFont (Option_t *axis="X") const
 
virtual Float_t GetTitleOffset (Option_t *axis="X") const
 
virtual Float_t GetTitleSize (Option_t *axis="X") const
 
TAxisGetXaxis ()
 
const TAxisGetXaxis () const
 
TAxisGetYaxis ()
 
const TAxisGetYaxis () const
 
TAxisGetZaxis ()
 
const TAxisGetZaxis () const
 
Bool_t IsBinOverflow (Int_t bin, Int_t axis=0) const
 
Bool_t IsBinUnderflow (Int_t bin, Int_t axis=0) const
 
virtual Bool_t IsHighlight () const
 
virtual void LabelsDeflate (Option_t *axis="X")
 
virtual void LabelsInflate (Option_t *axis="X")
 
virtual void LabelsOption (Option_t *option="h", Option_t *axis="X")
 
virtual Long64_t Merge (TCollection *list)
 
Long64_t Merge (TCollection *list, Option_t *option)
 
virtual Bool_t Multiply (const TH1 *h1)
 
virtual Bool_t Multiply (const TH1 *h1, const TH1 *h2, Double_t c1=1, Double_t c2=1, Option_t *option="")
 
virtual Bool_t Multiply (TF1 *f1, Double_t c1=1)
 
void Paint (Option_t *option="") override
 
void Print (Option_t *option="") const override
 
virtual void RebinAxis (Double_t x, TAxis *axis)
 
virtual void Rebuild (Option_t *option="")
 
void RecursiveRemove (TObject *obj) override
 
virtual void ResetStats ()
 
void SavePrimitive (std::ostream &out, Option_t *option="") override
 
virtual void Scale (Double_t c1=1, Option_t *option="")
 
virtual void SetAxisColor (Color_t color=1, Option_t *axis="X")
 
virtual void SetAxisRange (Double_t xmin, Double_t xmax, Option_t *axis="X")
 
virtual void SetBarOffset (Float_t offset=0.25)
 
virtual void SetBarWidth (Float_t width=0.5)
 
virtual void SetBinError (Int_t bin, Double_t error)
 
virtual void SetBinError (Int_t binx, Int_t biny, Double_t error)
 
virtual void SetBinError (Int_t binx, Int_t biny, Int_t binz, Double_t error)
 
virtual void SetBinErrorOption (EBinErrorOpt type)
 
virtual void SetBins (Int_t nx, const Double_t *xBins)
 
virtual void SetBins (Int_t nx, const Double_t *xBins, Int_t ny, const Double_t *yBins)
 
virtual void SetBins (Int_t nx, const Double_t *xBins, Int_t ny, const Double_t *yBins, Int_t nz, const Double_t *zBins)
 
virtual void SetBins (Int_t nx, Double_t xmin, Double_t xmax)
 
virtual void SetBins (Int_t nx, Double_t xmin, Double_t xmax, Int_t ny, Double_t ymin, Double_t ymax)
 
virtual void SetBins (Int_t nx, Double_t xmin, Double_t xmax, Int_t ny, Double_t ymin, Double_t ymax, Int_t nz, Double_t zmin, Double_t zmax)
 
virtual void SetBuffer (Int_t buffersize, Option_t *option="")
 
virtual UInt_t SetCanExtend (UInt_t extendBitMask)
 
virtual void SetCellContent (Int_t binx, Int_t biny, Double_t content)
 
virtual void SetCellError (Int_t binx, Int_t biny, Double_t content)
 
virtual void SetContent (const Double_t *content)
 
virtual void SetContour (Int_t nlevels, const Double_t *levels=nullptr)
 
virtual void SetContourLevel (Int_t level, Double_t value)
 
virtual void SetDirectory (TDirectory *dir)
 
virtual void SetEntries (Double_t n)
 
virtual void SetError (const Double_t *error)
 
virtual void SetHighlight (Bool_t set=kTRUE)
 
virtual void SetLabelColor (Color_t color=1, Option_t *axis="X")
 
virtual void SetLabelFont (Style_t font=62, Option_t *axis="X")
 
virtual void SetLabelOffset (Float_t offset=0.005, Option_t *axis="X")
 
virtual void SetLabelSize (Float_t size=0.02, Option_t *axis="X")
 
virtual void SetMaximum (Double_t maximum=-1111)
 
virtual void SetMinimum (Double_t minimum=-1111)
 
void SetName (const char *name) override
 
void SetNameTitle (const char *name, const char *title) override
 
virtual void SetNdivisions (Int_t n=510, Option_t *axis="X")
 
virtual void SetNormFactor (Double_t factor=1)
 
virtual void SetOption (Option_t *option=" ")
 
void SetStatOverflows (EStatOverflows statOverflows)
 
virtual void SetStats (Bool_t stats=kTRUE)
 
virtual void SetTickLength (Float_t length=0.02, Option_t *axis="X")
 
void SetTitle (const char *title) override
 
virtual void SetTitleFont (Style_t font=62, Option_t *axis="X")
 
virtual void SetTitleOffset (Float_t offset=1, Option_t *axis="X")
 
virtual void SetTitleSize (Float_t size=0.02, Option_t *axis="X")
 
virtual void SetXTitle (const char *title)
 
virtual void SetYTitle (const char *title)
 
virtual void SetZTitle (const char *title)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
virtual void Sumw2 (Bool_t flag=kTRUE)
 
void UseCurrentStyle () override
 
- 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
 
TObjectClone (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
 
TClassIsA () const override
 
Bool_t IsSortable () const override
 
void ls (Option_t *option="") const override
 
TNamedoperator= (const TNamed &rhs)
 
void Print (Option_t *option="") const override
 
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 TObjectDrawClone (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 Option_tGetDrawOption () const
 
virtual const char * GetIconName () 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)
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 
virtual void Pop ()
 
virtual Int_t Read (const char *name)
 
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 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)
 
- Public Member Functions inherited from TArrayF
 TArrayF ()
 
 TArrayF (const TArrayF &array)
 
 TArrayF (Int_t n)
 
 TArrayF (Int_t n, const Float_t *array)
 
virtual ~TArrayF ()
 
void AddAt (Float_t c, Int_t i)
 
void Adopt (Int_t n, Float_t *array)
 
Float_t At (Int_t i) const
 
void Copy (TArrayF &array) const
 
Float_tGetArray ()
 
const Float_tGetArray () const
 
Double_t GetAt (Int_t i) const override
 
Stat_t GetSum () const
 
TArrayFoperator= (const TArrayF &rhs)
 
Float_toperator[] (Int_t i)
 
Float_t operator[] (Int_t i) const
 
void Reset ()
 
void Reset (Float_t val)
 
void Set (Int_t n) override
 
void Set (Int_t n, const Float_t *array)
 
void SetAt (Double_t v, Int_t i) override
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TArray
 TArray ()
 
 TArray (const TArray &a)
 
 TArray (Int_t n)
 
virtual ~TArray ()
 
Int_t GetSize () const
 
TArrayoperator= (const TArray &rhs)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Private Member Functions

Int_t FillMe (Double_t a1, Double_t a2, Double_t a3)
 

Private Attributes

Bool_t fOrdered
 
Int_t fShowBorder
 
Int_t fShowCenter
 
TLinelb1
 
TLinelb2
 
TLinelb3
 
TLinelc1
 
TLinelc2
 
TLinelc3
 

Additional Inherited Members

- Public Types inherited from TH1
enum  EBinErrorOpt
 
enum  EStatOverflows
 
enum  EStatusBits
 
- Public Types inherited from TObject
enum  EDeprecatedStatusBits
 
enum  EStatusBits
 
- Static Public Member Functions inherited from TH2F
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TH2
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TH1
static void AddDirectory (Bool_t add=kTRUE)
 
static Bool_t AddDirectoryStatus ()
 
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static Int_t FitOptionsMake (Option_t *option, Foption_t &Foption)
 
static Int_t GetDefaultBufferSize ()
 
static Bool_t GetDefaultSumw2 ()
 
static void SetDefaultBufferSize (Int_t buffersize=1000)
 
static void SetDefaultSumw2 (Bool_t sumw2=kTRUE)
 
static void SmoothArray (Int_t NN, Double_t *XX, Int_t ntimes=1)
 
static void StatOverflows (Bool_t flag=kTRUE)
 
static TH1TransformHisto (TVirtualFFT *fft, TH1 *h_output, Option_t *option)
 
- Static Public Member Functions inherited from TNamed
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TObject
static TClassClass ()
 
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 TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TAttFill
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TAttMarker
static TClassClass ()
 
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)
 
- Static Public Member Functions inherited from TArrayF
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TArray
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static TArrayReadArray (TBuffer &b, const TClass *clReq)
 
static void WriteArray (TBuffer &b, const TArray *a)
 
- Public Attributes inherited from TH1
 kAllAxes
 
 kAutoBinPTwo
 
 kConsider
 
 kIgnore
 
 kIsAverage
 
 kIsHighlight
 
 kIsNotW
 
 kIsZoomed
 
 kLogX
 
 kNeutral
 
 kNoAxis
 
 kNormal
 
 kNoStats
 
 kNoTitle
 
 kNstat
 
 kPoisson
 
 kPoisson2
 
 kUserContour
 
 kXaxis
 
 kYaxis
 
 kZaxis
 
- Public Attributes inherited from TObject
 kBitMask
 
 kCanDelete
 
 kCannotPick
 
 kHasUUID
 
 kInconsistent
 
 kInvalidObject
 
 kIsOnHeap
 
 kIsReferenced
 
 kMustCleanup
 
 kNoContextMenu
 
 kNotDeleted
 
 kObjInCanvas
 
 kOverwrite
 
 kSingleKey
 
 kWriteDelete
 
 kZombie
 
- Public Attributes inherited from TArrayF
Float_tfArray
 
- Public Attributes inherited from TArray
Int_t fN
 
- Protected Member Functions inherited from TH2F
Double_t RetrieveBinContent (Int_t bin) const override
 
void UpdateBinContent (Int_t bin, Double_t content) override
 
- Protected Member Functions inherited from TH2
 TH2 ()
 
 TH2 (const char *name, const char *title, Int_t nbinsx, const Double_t *xbins, Int_t nbinsy, const Double_t *ybins)
 
 TH2 (const char *name, const char *title, Int_t nbinsx, const Double_t *xbins, Int_t nbinsy, Double_t ylow, Double_t yup)
 
 TH2 (const char *name, const char *title, Int_t nbinsx, const Float_t *xbins, Int_t nbinsy, const Float_t *ybins)
 
 TH2 (const char *name, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, Int_t nbinsy, const Double_t *ybins)
 
 TH2 (const char *name, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup, Int_t nbinsy, Double_t ylow, Double_t yup)
 
virtual Int_t BufferFill (Double_t x, Double_t y, Double_t w)
 
Int_t BufferFill (Double_t, Double_t) override
 
virtual void DoFitSlices (bool onX, TF1 *f1, Int_t firstbin, Int_t lastbin, Int_t cut, Option_t *option, TObjArray *arr)
 
virtual TProfileDoProfile (bool onX, const char *name, Int_t firstbin, Int_t lastbin, Option_t *option) const
 
virtual TH1DDoProjection (bool onX, const char *name, Int_t firstbin, Int_t lastbin, Option_t *option) const
 
virtual TH1DDoQuantiles (bool onX, const char *name, Double_t prob) const
 
Int_t Fill (const char *, Double_t) override
 
Int_t Fill (Double_t) override
 
Double_t Interpolate (Double_t x) const override
 
- Protected Member Functions inherited from TH1
 TH1 ()
 
 TH1 (const char *name, const char *title, Int_t nbinsx, const Double_t *xbins)
 
 TH1 (const char *name, const char *title, Int_t nbinsx, const Float_t *xbins)
 
 TH1 (const char *name, const char *title, Int_t nbinsx, Double_t xlow, Double_t xup)
 
virtual Int_t AutoP2FindLimits (Double_t min, Double_t max)
 
Int_t AxisChoice (Option_t *axis) const
 
virtual void DoFillN (Int_t ntimes, const Double_t *x, const Double_t *w, Int_t stride=1)
 
virtual Double_t DoIntegral (Int_t ix1, Int_t ix2, Int_t iy1, Int_t iy2, Int_t iz1, Int_t iz2, Double_t &err, Option_t *opt, Bool_t doerr=kFALSE) const
 
virtual Bool_t FindNewAxisLimits (const TAxis *axis, const Double_t point, Double_t &newMin, Double_t &newMax)
 
UInt_t GetAxisLabelStatus () const
 
virtual Double_t GetBinErrorSqUnchecked (Int_t bin) const
 
Bool_t GetStatOverflowsBehaviour () const
 
Bool_t IsEmpty () const
 
virtual void SavePrimitiveHelp (std::ostream &out, const char *hname, Option_t *option="")
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 
void MakeZombie ()
 
- Protected Member Functions inherited from TArray
Bool_t BoundsOk (const char *where, Int_t at) const
 
Bool_t OutOfBoundsError (const char *where, Int_t i) const
 
- Static Protected Member Functions inherited from TH1
static Int_t AutoP2GetBins (Int_t n)
 
static Double_t AutoP2GetPower2 (Double_t x, Bool_t next=kTRUE)
 
static bool CheckAxisLimits (const TAxis *a1, const TAxis *a2)
 
static bool CheckBinLabels (const TAxis *a1, const TAxis *a2)
 
static bool CheckBinLimits (const TAxis *a1, const TAxis *a2)
 
static bool CheckConsistency (const TH1 *h1, const TH1 *h2)
 
static bool CheckConsistentSubAxes (const TAxis *a1, Int_t firstBin1, Int_t lastBin1, const TAxis *a2, Int_t firstBin2=0, Int_t lastBin2=0)
 
static bool CheckEqualAxes (const TAxis *a1, const TAxis *a2)
 
static Bool_t RecomputeAxisLimits (TAxis &destAxis, const TAxis &anAxis)
 
static Bool_t SameLimitsAndNBins (const TAxis &axis1, const TAxis &axis2)
 
- Protected Attributes inherited from TH2
Double_t fScalefactor
 
Double_t fTsumwxy
 
Double_t fTsumwy
 
Double_t fTsumwy2
 
- Protected Attributes inherited from TH1
Short_t fBarOffset
 
Short_t fBarWidth
 
EBinErrorOpt fBinStatErrOpt
 
Double_tfBuffer
 
Int_t fBufferSize
 
TArrayD fContour
 
Int_t fDimension
 
TDirectoryfDirectory
 
Double_t fEntries
 
TListfFunctions
 
Double_tfIntegral
 
Double_t fMaximum
 
Double_t fMinimum
 
Int_t fNcells
 
Double_t fNormFactor
 
TString fOption
 
TVirtualHistPainterfPainter
 
EStatOverflows fStatOverflows
 
TArrayD fSumw2
 
Double_t fTsumw
 
Double_t fTsumw2
 
Double_t fTsumwx
 
Double_t fTsumwx2
 
TAxis fXaxis
 
TAxis fYaxis
 
TAxis fZaxis
 
- Protected Attributes inherited from TNamed
TString fName
 
TString fTitle
 
- Protected Attributes inherited from TObject
 kOnlyPrepStep
 
- Protected Attributes inherited from TAttLine
Color_t fLineColor
 
Style_t fLineStyle
 
Width_t fLineWidth
 
- Protected Attributes inherited from TAttFill
Color_t fFillColor
 
Style_t fFillStyle
 
- Protected Attributes inherited from TAttMarker
Color_t fMarkerColor
 
Size_t fMarkerSize
 
Style_t fMarkerStyle
 
- Static Protected Attributes inherited from TH1
static Bool_t fgAddDirectory
 
static Int_t fgBufferSize
 
static Bool_t fgDefaultSumw2
 
static Bool_t fgStatOverflows
 

Constructor & Destructor Documentation

◆ KVDalitzPlot() [1/3]

KVDalitzPlot::KVDalitzPlot ( )

Default constructor.

Definition at line 31 of file KVDalitzPlot.cpp.

◆ KVDalitzPlot() [2/3]

KVDalitzPlot::KVDalitzPlot ( const char *  name,
const char *  title,
Bool_t  ordered = kFALSE,
Int_t  nbinsx = 120,
Double_t  xlow = 0.,
Double_t  xup = 1.2,
Int_t  nbinsy = 120,
Double_t  ylow = 0.,
Double_t  yup = 1.2 
)

Definition at line 15 of file KVDalitzPlot.cpp.

◆ KVDalitzPlot() [3/3]

KVDalitzPlot::KVDalitzPlot ( const KVDalitzPlot obj)

Copy constructor This ctor is used to make a copy of an existing object (for example when a method returns an object), and it is always a good idea to implement it. If your class allocates memory in its constructor(s) then it is ESSENTIAL :-)

Definition at line 46 of file KVDalitzPlot.cpp.

◆ ~KVDalitzPlot()

KVDalitzPlot::~KVDalitzPlot ( )
virtual

Destructor.

Definition at line 62 of file KVDalitzPlot.cpp.

Member Function Documentation

◆ Copy()

void KVDalitzPlot::Copy ( TObject obj) const
virtual

This method copies the current state of 'this' object into 'obj' You should add here any member variables, for example: (supposing a member variable KVDalitzPlot::fToto) CastedObj.fToto = fToto; or CastedObj.SetToto( GetToto() );

Reimplemented from TObject.

Definition at line 78 of file KVDalitzPlot.cpp.

◆ Draw()

void KVDalitzPlot::Draw ( Option_t opt = "")
virtual

Reimplemented from TObject.

Definition at line 139 of file KVDalitzPlot.cpp.

◆ FillAsDalitz()

Int_t KVDalitzPlot::FillAsDalitz ( Double_t  a1,
Double_t  a2,
Double_t  a3 
)

Place the 3 observable in an equilateral triangle after normalized the sum to 1 Info : the permutation is not done

Definition at line 98 of file KVDalitzPlot.cpp.

◆ FillMe()

Int_t KVDalitzPlot::FillMe ( Double_t  a1,
Double_t  a2,
Double_t  a3 
)
private

Definition at line 120 of file KVDalitzPlot.cpp.

◆ GetDistanceFromCenter()

TH1 * KVDalitzPlot::GetDistanceFromCenter ( )

Linearization of the Dalitz representation histogram is filled according to the distance from each cell to the center

Definition at line 251 of file KVDalitzPlot.cpp.

◆ GetShowBorder()

Int_t KVDalitzPlot::GetShowBorder ( )
inline

Definition at line 55 of file KVDalitzPlot.h.

◆ GetShowCenter()

Int_t KVDalitzPlot::GetShowCenter ( )
inline

Definition at line 59 of file KVDalitzPlot.h.

◆ SetOrdered()

void KVDalitzPlot::SetOrdered ( Bool_t  ordered = kTRUE)
inline

Definition at line 49 of file KVDalitzPlot.h.

◆ SetShowBorder()

void KVDalitzPlot::SetShowBorder ( Int_t  value = 1)

Definition at line 186 of file KVDalitzPlot.cpp.

◆ SetShowCenter()

void KVDalitzPlot::SetShowCenter ( Int_t  value = 1)

Definition at line 215 of file KVDalitzPlot.cpp.

Member Data Documentation

◆ fOrdered

Bool_t KVDalitzPlot::fOrdered
private

Definition at line 31 of file KVDalitzPlot.h.

◆ fShowBorder

Int_t KVDalitzPlot::fShowBorder
private

Definition at line 32 of file KVDalitzPlot.h.

◆ fShowCenter

Int_t KVDalitzPlot::fShowCenter
private

Definition at line 33 of file KVDalitzPlot.h.

◆ lb1

TLine* KVDalitzPlot::lb1
private

Definition at line 35 of file KVDalitzPlot.h.

◆ lb2

TLine * KVDalitzPlot::lb2
private

Definition at line 35 of file KVDalitzPlot.h.

◆ lb3

TLine * KVDalitzPlot::lb3
private

Definition at line 35 of file KVDalitzPlot.h.

◆ lc1

TLine* KVDalitzPlot::lc1
private

Definition at line 36 of file KVDalitzPlot.h.

◆ lc2

TLine * KVDalitzPlot::lc2
private

Definition at line 36 of file KVDalitzPlot.h.

◆ lc3

TLine * KVDalitzPlot::lc3
private

Definition at line 36 of file KVDalitzPlot.h.