Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Femto3DCF.h
1/*
2 * Femto3DCF.h
3 *
4 * Created on: 12-03-2015
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9
10#ifndef HALFEMTO3DCF_H_
11#define HALFEMTO3DCF_H_
12
13#include "FemtoConst.h"
14
15#include "Array.h"
16#include "DividedHisto.h"
17
18#include <TString.h>
19
20namespace Hal {
21 class CorrFit3DCF;
22 class FemtoCFPainter;
26 class Femto3DCF : public DividedHisto3D {
28 FemtoCFPainter* fPainter = {nullptr};
32 const Femto::EKinematics fFrame;
37 virtual void SetAxisNames(TH1* h);
38
39 public:
43 Femto3DCF() : DividedHisto3D(), fFrame(Femto::EKinematics::kLCMS) {};
49 Femto3DCF(TString name, Femto::EKinematics frame = Femto::EKinematics::kLCMS);
50 Femto3DCF(TString name,
51 Int_t binsX,
52 Double_t minX,
53 Double_t maxX,
54 Int_t binsY,
55 Double_t minY,
56 Double_t maxY,
57 Int_t binsZ,
58 Double_t minZ,
59 Double_t maxZ,
60 Femto::EKinematics frame = Femto::EKinematics::kLCMS);
61 Femto3DCF(TString name, Int_t binsX, Double_t minX, Double_t maxX, Femto::EKinematics frame = Femto::EKinematics::kLCMS);
62 Femto3DCF(const Femto3DCF& other);
67 Femto::EKinematics GetFrame() const { return fFrame; };
68 virtual void FillNumObj(TObject* ob);
69 virtual void FillDenObj(TObject* obj);
70 virtual void AddNum(TH1* h, Option_t* opt = "");
71 virtual void AddDen(TH1* h, Option_t* opt = "");
75 void Fit(CorrFit3DCF* fit);
81 void FitDummy(CorrFit3DCF* fit);
82 virtual void Browse(TBrowser* b);
87 virtual void Draw(Option_t* opt = "cf+rgb+norm");
93 virtual void DrawScaled(Double_t scale, Option_t* opt);
94 virtual TString HTMLExtract(Int_t counter = 0, TString dir = " ") const;
95 virtual TH1D** GetDiagProj(Option_t* opt = "diag1", Bool_t normalized = kTRUE) const;
96 virtual void Print(Option_t* opt = "") const;
97 virtual FemtoCFPainter* GetPainter() const { return fPainter; }
98 virtual TObject* GetSpecial(TString opt) const;
99 virtual ~Femto3DCF();
100 ClassDef(Femto3DCF, 4)
101 };
102} // namespace Hal
103#endif /* HALFEMTO3DCF_H_ */
virtual void FillNumObj(TObject *ob)
Definition Femto3DCF.cxx:43
Femto::EKinematics GetFrame() const
Definition Femto3DCF.h:67
virtual void FillDenObj(TObject *obj)
Definition Femto3DCF.cxx:52
virtual TString HTMLExtract(Int_t counter=0, TString dir=" ") const
Definition Femto3DCF.cxx:65
virtual void Browse(TBrowser *b)
virtual void AddDen(TH1 *h, Option_t *opt="")
virtual void AddNum(TH1 *h, Option_t *opt="")
virtual void DrawScaled(Double_t scale, Option_t *opt)
virtual void Draw(Option_t *opt="cf+rgb+norm")
void Fit(CorrFit3DCF *fit)
virtual TObject * GetSpecial(TString opt) const
void FitDummy(CorrFit3DCF *fit)