]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
SetYHardMethod added.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 17 Jul 2002 10:04:30 +0000 (10:04 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 17 Jul 2002 10:04:30 +0000 (10:04 +0000)
EVGEN/AliGenPythia.h

index 66e9569daf866f5c255b4f240d7d326f18b49053..12f7b9b1aa69895494635195eddf12c6b6aed18d 100644 (file)
@@ -44,6 +44,8 @@ class AliGenPythia : public AliGenMC
     // select pt of hard scattering 
     virtual void    SetPtHard(Float_t ptmin = 0, Float_t ptmax = 1.e10)
        {fPtHardMin = ptmin; fPtHardMax = ptmax; }
+    virtual void    SetYHard(Float_t ymin = -1.e10, Float_t ymax = 1.e10)
+       {fYHardMin = ymin; fYHardMax = ymax; }
     // set centre of mass energy
     virtual void    SetEnergyCMS(Float_t energy = 5500) {fEnergyCMS = energy;}
     // treat protons as inside nuclei
@@ -116,6 +118,8 @@ class AliGenPythia : public AliGenMC
     AliPythia   *fPythia;         //!Pythia 
     Float_t     fPtHardMin;       //lower pT-hard cut 
     Float_t     fPtHardMax;       //higher pT-hard cut
+    Float_t     fYHardMin;        //lower  y-hard cut 
+    Float_t     fYHardMax;        //higher y-hard cut
     Int_t       fNucA1;           //mass number nucleus side 1
     Int_t       fNucA2;           //mass number nucleus side 2
     Bool_t      fFullEvent;       //!Write Full event if true
@@ -147,9 +151,7 @@ class AliGenPythia : public AliGenMC
     // fCountMode = kCountTrackabless --> Only particles flagged for tracking
     //                                     are counted
     //
-
     ClassDef(AliGenPythia,2) // AliGenerator interface to Pythia
-
 };
 #endif