]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FASTSIM/AliFastGlauber.h
Added function to return production point of partons.
[u/mrichter/AliRoot.git] / FASTSIM / AliFastGlauber.h
index cd94a214933ed3bffbd53d6d5aec35beba7d29cb..cc9986fe38ebf41165e30ae863b9537f573d1513 100644 (file)
@@ -80,7 +80,6 @@ class AliFastGlauber : public TObject {
     Float_t GetSigmaHard()       const {return fSigmaHard;}
     Float_t GetSigmaNN()         const {return fSigmaNN;}
     Int_t GetA()                 const {return fA;}
-    Int_t GetEllDef()            const {return fEllDef;}
     const TString* GetFileName() const {return &fName;}
     Float_t GetBmin() const {return fBmin;}
     Float_t GetBmax() const {return fBmax;}
@@ -117,14 +116,20 @@ class AliFastGlauber : public TObject {
     void StoreAlmonds()   const;
 
     void SetLengthDefinition(Int_t def=1) {fEllDef=def;}
+    Int_t GetLengthDef() const {return fEllDef;}
     void SetCentralityClass(Double_t xsecFrLow=0.0,Double_t xsecFrUp=0.1);    
     void GetRandomBHard(Double_t& b);
     void GetRandomXY(Double_t& x,Double_t& y);
     void GetRandomPhi(Double_t& phi);
     Double_t CalculateLength(Double_t b=0.,Double_t x0=0.,Double_t y0=0.,
                              Double_t phi0=0.);
+    void GetLengthAndPhi(Double_t& ell,Double_t &phi,Double_t b=-1.);
     void GetLength(Double_t& ell,Double_t b=-1.);
-    void GetLengthsBackToBack(Double_t& ell1,Double_t& ell2,Double_t b=-1.);
+    void GetLengthsBackToBackAndPhi(Double_t& ell1,Double_t& ell2,
+                                   Double_t &phi,
+                                   Double_t b=-1.);
+    void GetLengthsBackToBack(Double_t& ell1,Double_t& ell2,
+                             Double_t b=-1.);
     void GetLengthsForPythia(Int_t n,Double_t* phi,Double_t* ell,
                             Double_t b=-1.);
     void PlotBDistr(Int_t n=1000);
@@ -136,8 +141,18 @@ class AliFastGlauber : public TObject {
                       Double_t b=0.,
                       Double_t x0=0.,Double_t y0=0.,Double_t phi0=0.,
                       Double_t ellCut=20.) const;
+    void GetI0I1AndPhi(Double_t& integral0,Double_t& integral1,Double_t &phi,
+                Double_t ellCut=20.,Double_t b=-1.);
     void GetI0I1(Double_t& integral0,Double_t& integral1,
                 Double_t ellCut=20.,Double_t b=-1.);
+    void GetI0I1BackToBackAndPhi(Double_t& integral01,Double_t& integral11,
+                                Double_t& integral02,Double_t& integral12,
+                                Double_t& phi,
+                                Double_t ellCut=20.,Double_t b=-1.);
+    void GetI0I1BackToBackAndPhiAndXY(Double_t& integral01,Double_t& integral11,
+                                     Double_t& integral02,Double_t& integral12,
+                                     Double_t& phi,Double_t& x,Double_t&y,
+                                     Double_t ellCut=20.,Double_t b=-1.);
     void GetI0I1BackToBack(Double_t& integral01,Double_t& integral11,
                           Double_t& integral02,Double_t& integral12,
                           Double_t ellCut=20.,Double_t b=-1.);
@@ -152,9 +167,9 @@ class AliFastGlauber : public TObject {
  protected:
     void Reset();
 
-    static Float_t fgBMax;        // Maximum Impact Parameter
-    static Int_t fgCounter;       // Counter to protect double instantiation
-    static const Int_t fgkMCInts; // Number of MC integrations
+    static Float_t fgBMax;           // Maximum Impact Parameter
+    static Int_t fgCounter;          // Counter to protect double instantiation
+    static const Int_t fgkMCInts;    // Number of MC integrations
 
     static TF1*    fgWSb;            // Wood-Saxon Function (b)
     static TF2*    fgWSbz;           // Wood-Saxon Function (b, z)