Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
FemtoDoubleRatio1DCF.h
1/*
2 * FemtoDoubleRatio1DCF.h
3 *
4 * Created on: 21 mar 2018
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#ifndef HALFEMTODOUBLERATIO1DCF_H_
10#define HALFEMTODOUBLERATIO1DCF_H_
11
12#include "FemtoConst.h"
13
14#include "DividedHisto.h"
15
16
17namespace Hal {
19 protected:
20 TH1D* fNumSide;
21 TH1D* fDenSide;
22 TH1D* fNumLong;
23 TH1D* fDenLong;
24 Femto::EKinematics fFrame;
25 void SetAxisNames(TH1* h1, TH1* h2, TString label);
26 void Normalize(TH1D* h, TH1D* num, TH1D* den, Int_t dir) const;
27 TH1D* GetCF(Bool_t normalized, Int_t dir) const;
28
29 public:
39 FemtoDoubleRatio1DCF(TString name, Femto::EKinematics kin = Femto::EKinematics::kPRF);
48 FemtoDoubleRatio1DCF(TString name, Int_t bins, Double_t min, Double_t max, Femto::EKinematics kin = Femto::EKinematics::kPRF);
54 void FillNumObj(TObject* ob);
55 void FillDenObj(TObject* obj);
63 void SetNum(TH1D* outnum, TH1D* sidenum, TH1D* longnum, Bool_t clone = kFALSE);
71 void SetDen(TH1D* outden, TH1D* sideden, TH1D* longden, Bool_t clone = kFALSE);
76 TH1D* GetOutNum() const { return fNum; };
81 TH1D* GetOutDen() const { return fDen; };
86 TH1D* GetSideNum() const { return fNumSide; };
91 TH1D* GetSideDen() const { return fDenSide; };
96 TH1D* GetLongNum() const { return fNumLong; };
101 TH1D* GetLongDen() const { return fDenLong; };
107 TH1D* GetCFOut(Bool_t normalized = kTRUE) const;
113 TH1D* GetCFSide(Bool_t normalized = kTRUE) const;
119 TH1D* GetCFLong(Bool_t normalized = kTRUE) const;
120 virtual void Browse(TBrowser* b);
121 virtual void Add(const Object* h);
122 virtual void Draw(Option_t* opt = "all");
123 virtual TString HTMLExtract(Int_t counter = 0, TString dir = " ") const;
130 virtual void Rebin(Int_t ngroup, Option_t* opt);
131 virtual ~FemtoDoubleRatio1DCF();
132 ClassDef(FemtoDoubleRatio1DCF, 1)
133 };
134} // namespace Hal
135#endif /* HALFEMTODOUBLERATIO1DCF_H_ */
TH1D * GetCFSide(Bool_t normalized=kTRUE) const
virtual TString HTMLExtract(Int_t counter=0, TString dir=" ") const
virtual void Draw(Option_t *opt="all")
void SetDen(TH1D *outden, TH1D *sideden, TH1D *longden, Bool_t clone=kFALSE)
virtual void Add(const Object *h)
TH1D * GetCFOut(Bool_t normalized=kTRUE) const
TH1D * GetCFLong(Bool_t normalized=kTRUE) const
virtual void Browse(TBrowser *b)
void SetNum(TH1D *outnum, TH1D *sidenum, TH1D *longnum, Bool_t clone=kFALSE)
virtual void Rebin(Int_t ngroup, Option_t *opt)