Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
CorrFitPairGeneratorYPtKt.h
1/*
2 * CorrFitPairGeneratorYPtKt.h
3 *
4 * Created on: 10 kwi 2020
5 * Author: Daniel Wielanek
6 * E-mail: daniel.wielanek@gmail.com
7 * Warsaw University of Technology, Faculty of Physics
8 */
9#ifndef HALCorrFitPairGeneratorYPtKt_H_
10#define HALCorrFitPairGeneratorYPtKt_H_
11
12#include "CorrFitPairGenerator.h"
13
14#include "FemtoMiniPair.h"
15
16#include <utility>
17
18#include <Rtypes.h>
19#include <RtypesCore.h>
20#include <TH2.h>
21
27class TFile;
28class TTree;
29class TClonesArray;
30namespace Hal {
31 class FemtoMicroPair;
33 protected:
34 Float_t f2Kt2[2];
35 TH2D fHist1, fHist2;
36 FemtoMicroPair fPair;
37 struct fourVect {
38 int t, x, y, z;
39 };
40 void GenerateFreeRandomPair();
41 Int_t GeneratePairOneDim();
42 fourVect GeneratePairThreeDim();
43 virtual void GenerateEvent();
44
45 public:
47 CorrFitPairGeneratorYPtKt& operator=(const CorrFitPairGeneratorYPtKt&) = delete;
48
54 void SetKt(Double_t min, Double_t max) {
55 f2Kt2[0] = min * min * 4.0;
56 f2Kt2[1] = max * max * 4.0;
57 };
63 void SetHist(const TH2D& hist1, const TH2D& hist2);
68 Bool_t Init();
70 ClassDef(CorrFitPairGeneratorYPtKt, 1)
71 };
72} // namespace Hal
73#endif /* HALCorrFitPairGeneratorYPtKt_H_ */
void SetHist(const TH2D &hist1, const TH2D &hist2)
void SetKt(Double_t min, Double_t max)