]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGCF/FEMTOSCOPY/AliFemtoUser/AliFemtoModelGausRinvFreezeOutGenerator.h
Merge branch 'feature-movesplit'
[u/mrichter/AliRoot.git] / PWGCF / FEMTOSCOPY / AliFemtoUser / AliFemtoModelGausRinvFreezeOutGenerator.h
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
11 #include "AliFemtoModelFreezeOutGenerator.h"
12
13 #include "TRandom.h"
14
15 class AliFemtoModelGausRinvFreezeOutGenerator : public AliFemtoModelFreezeOutGenerator
16 {
17  public:
18   AliFemtoModelGausRinvFreezeOutGenerator();
19   AliFemtoModelGausRinvFreezeOutGenerator(const AliFemtoModelGausRinvFreezeOutGenerator &aModel);
20   virtual ~AliFemtoModelGausRinvFreezeOutGenerator();
21   virtual void GenerateFreezeOut(AliFemtoPair *aPair);
22   AliFemtoModelGausRinvFreezeOutGenerator& operator=(const AliFemtoModelGausRinvFreezeOutGenerator &aModel);
23
24   void SetSelectPrimaryFromHidden(bool aUse);
25   Bool_t GetSelectPrimaryFromHidden();
26
27   void SetSizeInv(Double_t aSizeInv);
28   
29   Double_t GetSizeInv() const;
30
31   virtual AliFemtoModelFreezeOutGenerator* Clone() const;
32
33  protected:
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
40
41  private:
42   AliFemtoModelFreezeOutGenerator* GetGenerator() const;
43                 
44 #ifdef __ROOT__
45   ClassDef(AliFemtoModelGausRinvFreezeOutGenerator, 1)
46 #endif
47
48     };
49   
50 #endif
51
52