Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Femto1DCF.h
1/*
2 * Femto1DCF.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 * Experimental class
9 */
10
11#ifndef HALFEMTO1DCF_H_
12#define HALFEMTO1DCF_H_
13
14#include "FemtoConst.h"
15
16#include "Array.h"
17#include "DividedHisto.h"
18
19#include <TString.h>
20
21namespace Hal {
22 class CorrFit1DCF;
23 class FemtoCFPainter;
27 class Femto1DCF : public DividedHisto1D {
28 const Femto::EKinematics fFrame;
30
31 protected:
32 FemtoCFPainter* fPainter = {nullptr};
33 virtual TString GetPic() const;
38 virtual void SetAxisNames(TH1* h);
39
40 public:
41 Femto1DCF();
47 Femto1DCF(TString name, Femto::EKinematics frame = Femto::EKinematics::kLCMS);
56 Femto1DCF(TString name, Int_t bins, Double_t min, Double_t max, Femto::EKinematics frame = Femto::EKinematics::kLCMS);
61 Femto1DCF(const Femto1DCF& other);
66 Femto::EKinematics GetFrame() const { return fFrame; };
67 virtual void AddNum(TH1* h, Option_t* opt = "");
68 virtual void AddDen(TH1* h, Option_t* opt = "");
69 void FillNumObj(TObject* obj);
70 void FillDenObj(TObject* obj);
74 void Fit(CorrFit1DCF* fit);
80 void FitDummy(CorrFit1DCF* fit);
81 virtual void Browse(TBrowser* b);
87 virtual void DrawScaled(Double_t scale, Option_t* opt);
94 virtual TString HTMLExtract(Int_t counter = 0, TString dir = " ") const;
95 virtual void Print(Option_t* opt = "") const;
96 virtual TObject* GetSpecial(TString opt) const;
101 virtual void Draw(Option_t* option = "");
102 virtual FemtoCFPainter* GetPainter() const { return fPainter; }
103 virtual ~Femto1DCF();
104 ClassDef(Femto1DCF, 4)
105 };
106} // namespace Hal
107#endif /* HALFEMTO1DCF_H_ */
void FillDenObj(TObject *obj)
Definition Femto1DCF.cxx:73
virtual void AddNum(TH1 *h, Option_t *opt="")
virtual void AddDen(TH1 *h, Option_t *opt="")
virtual void Browse(TBrowser *b)
Femto::EKinematics GetFrame() const
Definition Femto1DCF.h:66
virtual TString HTMLExtract(Int_t counter=0, TString dir=" ") const
virtual void DrawScaled(Double_t scale, Option_t *opt)
Definition Femto1DCF.cxx:38
void Fit(CorrFit1DCF *fit)
void FillNumObj(TObject *obj)
Definition Femto1DCF.cxx:64
void FitDummy(CorrFit1DCF *fit)
virtual TObject * GetSpecial(TString opt) const
virtual void SetAxisNames(TH1 *h)
Definition Femto1DCF.cxx:56
virtual TString GetPic() const
Definition Femto1DCF.cxx:44
virtual void Draw(Option_t *option="")