]>
Commit | Line | Data |
---|---|---|
ac830a3d | 1 | //////////////////////////////////////////////////////////////////////////////// |
2 | /// /// | |
3 | /// AliFemtoModelGausRinvFreezeOutGenerator - freeze-out /// | |
4 | /// coordinates generator, generating a 3D gaussian spheroid in PRF /// | |
5 | /// Authors: Adam Kisiel kisiel@mps.ohio-state.edu /// | |
6 | /// /// | |
7 | //////////////////////////////////////////////////////////////////////////////// | |
8 | #ifndef AliFemtoModelGausRinvFreezeOutGenerator_hh | |
9 | #define AliFemtoModelGausRinvFreezeOutGenerator_hh | |
10 | ||
65423af9 | 11 | #include "AliFemtoModelFreezeOutGenerator.h" |
ac830a3d | 12 | |
13 | #include "TRandom.h" | |
14 | ||
15 | class AliFemtoModelGausRinvFreezeOutGenerator : public AliFemtoModelFreezeOutGenerator | |
16 | { | |
17 | public: | |
18 | AliFemtoModelGausRinvFreezeOutGenerator(); | |
19 | AliFemtoModelGausRinvFreezeOutGenerator(const AliFemtoModelGausRinvFreezeOutGenerator &aModel); | |
20 | virtual ~AliFemtoModelGausRinvFreezeOutGenerator(); | |
cc5faabc | 21 | virtual void GenerateFreezeOut(AliFemtoPair *aPair); |
5b3c2338 | 22 | AliFemtoModelGausRinvFreezeOutGenerator& operator=(const AliFemtoModelGausRinvFreezeOutGenerator &aModel); |
ac830a3d | 23 | |
1f445b96 | 24 | void SetSelectPrimaryFromHidden(bool aUse); |
25 | Bool_t GetSelectPrimaryFromHidden(); | |
26 | ||
ac830a3d | 27 | void SetSizeInv(Double_t aSizeInv); |
28 | ||
29 | Double_t GetSizeInv() const; | |
30 | ||
31 | virtual AliFemtoModelFreezeOutGenerator* Clone() const; | |
32 | ||
33 | protected: | |
1f445b96 | 34 | Double_t fSizeInv; // Size of the source |
35 | Bool_t fSelectPrimary; // If set to true, the existing hidden info is assumed | |
36 | // to contain the particle creation point (in cm) | |
37 | // and the model will try to guess whether the particle | |
38 | // is primary based on that and assign creation point | |
39 | // only for primary particles | |
ac830a3d | 40 | |
41 | private: | |
42 | AliFemtoModelFreezeOutGenerator* GetGenerator() const; | |
43 | ||
44 | #ifdef __ROOT__ | |
45 | ClassDef(AliFemtoModelGausRinvFreezeOutGenerator, 1) | |
46 | #endif | |
47 | ||
48 | }; | |
49 | ||
50 | #endif | |
51 | ||
52 |