]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PYTHIA6/AliGenPythia.h
add qa check
[u/mrichter/AliRoot.git] / PYTHIA6 / AliGenPythia.h
index 93e0d575e7e0ec6cb3971f01d0cf2f4645a1a10e..0c82e8cf024c994af29c54137f277c439995f68f 100644 (file)
@@ -68,7 +68,11 @@ class AliGenPythia : public AliGenMC
     virtual void    SetEnergyCMS(Float_t energy = 5500) {fEnergyCMS = energy;}
     // Treat protons as inside nuclei with mass numbers a1 and a2
     virtual void    SetNuclei(Int_t a1, Int_t a2, Int_t pdfset = 0);
+    // Set colliding nuclei ("p","n",...)
+    virtual void    SetCollisionSystem(TString projectile, TString target) { fProjectile = projectile; fTarget = target; }
     virtual void    SetNuclearPDF(Int_t pdf) {fNucPdf = pdf;}
+    virtual void    SetUseNuclearPDF(Bool_t val) {fUseNuclearPDF = val;}
+    virtual void    SetUseLorentzBoost(Bool_t val) {fUseLorentzBoost = val;}
     //
     // Trigger options
     //
@@ -196,6 +200,7 @@ class AliGenPythia : public AliGenMC
     virtual void SetHadronisation(Int_t flag = 1) {fHadronisation = flag;}
     virtual void SetPatchOmegaDalitz(Int_t flag = 1) {fPatchOmegaDalitz = flag;}
     virtual void SetReadFromFile(const Text_t *filname) {fkFileName = filname;  fReadFromFile = 1;}    
+    virtual void SetReadLHEF(const Text_t *filename) {fkNameLHEF = filename; fReadLHEF = 1;}    
 
     //
     // Pile-up
@@ -279,6 +284,7 @@ class AliGenPythia : public AliGenMC
     Bool_t      fPatchOmegaDalitz;  //flag for omega dalitz decay patch
     Int_t       fNpartons;          //Number of partons before hadronisation
     Int_t       fReadFromFile;      //read partons from file
+    Int_t       fReadLHEF;          //read lhef file
     Int_t       fQuench;            //Flag for quenching
     Float_t     fQhat;              //Transport coefficient (GeV^2/fm)
     Float_t     fLength;            //Medium length (fm)
@@ -318,6 +324,8 @@ class AliGenPythia : public AliGenMC
                                     // quark families (e.g. b->c)
     Bool_t  fFragmentation;         // Option to activate fragmentation by Pythia
     Bool_t  fSetNuclei;             // Flag indicating that SetNuclei has been called
+    Bool_t  fUseNuclearPDF;         // flag if nuclear pdf should be applied
+    Bool_t  fUseLorentzBoost;       // flag if lorentz boost should be applied
     Bool_t  fNewMIS;                // Flag for the new multipple interactions scenario
     Bool_t  fHFoff;                 // Flag for switching heafy flavor production off
     Int_t   fNucPdf;                // Nuclear pdf 0: EKS98 1: EPS08
@@ -340,8 +348,7 @@ class AliGenPythia : public AliGenMC
     AliGenPythiaEventHeader* fHeader;  //! Event header
     AliRunLoader*            fRL;      //! Run Loader
     const Text_t* fkFileName;          //! Name of file to read from
-
-
+    const Text_t* fkNameLHEF;          //! Name of lhef file to read from
     Bool_t fFragPhotonInCalo; // Option to ask for Fragmentation Photon in calorimeters acceptance
     Bool_t fHadronInCalo;     // Option to ask for hadron (not pi0) in calorimeters acceptance
     Bool_t fPi0InCalo;        // Option to ask for Pi0 in calorimeters acceptance