KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVDalitzPlot.h
1
3
4#ifndef __KVDALITZPLOT_H
5#define __KVDALITZPLOT_H
6
7#include "TH2F.h"
8#include "TLine.h"
9#include "Riostream.h"
10
28class KVDalitzPlot : public TH2F {
29
30protected:
34
37
39
40public:
42 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);
44 virtual ~KVDalitzPlot();
45 void Copy(TObject&) const;
46
48 void Draw(Option_t* opt = "");
49 void SetOrdered(Bool_t ordered = kTRUE)
50 {
51 fOrdered = ordered;
52 }
53 void SetShowBorder(Int_t value = 1); // *TOGGLE*
54 void SetShowCenter(Int_t value = 1); // *TOGGLE*
56 {
57 return fShowBorder;
58 }
60 {
61 return fShowCenter;
62 }
63
65
66 ClassDef(KVDalitzPlot, 1) //Fill 3D observables in a dalitz plot
67};
68
69#endif
int Int_t
bool Bool_t
double Double_t
const char Option_t
#define ClassDef(name, id)
Fill 3D observables in a dalitz plot ,.
void Draw(Option_t *opt="")
Bool_t fOrdered
Int_t GetShowBorder()
Int_t fShowCenter
void SetShowBorder(Int_t value=1)
Int_t FillMe(Double_t a1, Double_t a2, Double_t a3)
Int_t GetShowCenter()
void SetShowCenter(Int_t value=1)
void SetOrdered(Bool_t ordered=kTRUE)
KVDalitzPlot()
Default constructor.
void Copy(TObject &) const
Int_t fShowBorder
virtual ~KVDalitzPlot()
Destructor.
Int_t FillAsDalitz(Double_t a1, Double_t a2, Double_t a3)
TH1 * GetDistanceFromCenter()