Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Femto1DMapGenerator.h
1/*
2 * Femto1DMapGenerator.h
3 *
4 * Created on: 26 sie 2021
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#ifndef HALFEMTO_ANALYSIS_FEMTO_CORRFIT_MAPGENERATORS_HALFEMTO1DMAPGENERATOR_H_
10#define HALFEMTO_ANALYSIS_FEMTO_CORRFIT_MAPGENERATORS_HALFEMTO1DMAPGENERATOR_H_
11
12#include "Array.h"
13#include "FemtoConst.h"
14
15#include <TObject.h>
16namespace Hal {
17 class FemtoPair;
18 class FemtoFreezoutGenerator;
19 class FemtoWeightGenerator;
20 class FemtoCorrFunc;
21 class DividedHisto2D;
22 class Femto1DCF;
26 class Femto1DMapGenerator : public TObject {
27 protected:
28 Double_t fRMin, fRMax;
29 Double_t fKStarMin, fKStarMax;
30 Double_t fMass12, fMass22;
31 Int_t fRBins, fKStarBins;
32 Int_t fPid1, fPid2;
33 Bool_t fIgnoreSign;
34 Bool_t fUseFake;
35 Femto::EKinematics fKinematics;
36 Array_1<Double_t> fRadiiBins;
37 FemtoPair* fPair;
38 FemtoFreezoutGenerator* fGenerator;
39 FemtoWeightGenerator* fWeight;
40 DividedHisto2D* fMap;
41 Femto1DMapGenerator(Bool_t fake);
42
43 public:
50 void SetPid(Int_t pid1, Int_t pid2);
55 void IgnoreSign(Bool_t ignore = kTRUE) { fIgnoreSign = ignore; };
64 void SetRBins(Int_t bins, Double_t rmin, Double_t rmax, Bool_t center = kFALSE);
69 virtual void SetGenerator(FemtoFreezoutGenerator& gen);
74 virtual void SetWeightGenerator(FemtoWeightGenerator& calc);
79 virtual void SetCorrFctn(const Femto1DCF& cf);
84 virtual void SaveMap(TString filename);
89 DividedHisto2D* GetMap() const { return fMap; };
91 virtual Bool_t Init();
92 virtual ~Femto1DMapGenerator();
93 ClassDef(Femto1DMapGenerator, 1)
94 };
95} // namespace Hal
96
97#endif /* HALFEMTO_ANALYSIS_FEMTO_CORRFIT_MAPGENERATORS_HALFEMTO1DMAPGENERATOR_H_ */
void IgnoreSign(Bool_t ignore=kTRUE)
virtual void SaveMap(TString filename)
virtual void SetCorrFctn(const Femto1DCF &cf)
virtual void SetGenerator(FemtoFreezoutGenerator &gen)
void SetPid(Int_t pid1, Int_t pid2)
DividedHisto2D * GetMap() const
virtual void SetWeightGenerator(FemtoWeightGenerator &calc)
void SetRBins(Int_t bins, Double_t rmin, Double_t rmax, Bool_t center=kFALSE)