]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - THijing/AliGenHijing.h
- possibility of using AliPhysicsSelection in AddTaskESDFilter.C
[u/mrichter/AliRoot.git] / THijing / AliGenHijing.h
index 9207e8843db0485b136eef3843ce78e9b4dc250e..fca7318821a19a71ab73bad5cff3e455b972d25e 100644 (file)
@@ -24,7 +24,6 @@ class AliGenHijing : public AliGenMC
  public:
     AliGenHijing();
     AliGenHijing(Int_t npart);
-    AliGenHijing(const AliGenHijing &Hijing);
     virtual ~AliGenHijing();
     virtual void    Generate();
     virtual void    Init();
@@ -54,13 +53,12 @@ class AliGenHijing : public AliGenMC
     virtual void    SetJetPhiRange(Float_t phimin = -180., Float_t phimax = 180.)
        {fPhiMinJet = TMath::Pi()*phimin/180.; fPhiMaxJet = TMath::Pi()*phimax/180.;}
     virtual void    SetBoostLHC(Int_t flag = 0)         {fLHC        = flag;}
+    virtual void    SetRandomPz(Bool_t flag = 0)        {fRandomPz   = flag;}
+    virtual void    SwitchOffHeavyQuarks(Bool_t flag = kTRUE) {fNoHeavyQuarks = flag;}
+    
+           
 // Getters
-    virtual Float_t GetEnergyCMS()       const {return fEnergyCMS;}
     virtual TString GetReferenceFrame()  const {return fFrame;}
-    virtual void    GetProjectile(TString& tar, Int_t& a, Int_t& z)       const
-       {tar = fProjectile; a = fAProjectile; z = fZProjectile;}    
-    virtual void    GetTarget(TString& tar, Int_t& a, Int_t& z)           const
-       {tar = fTarget; a = fATarget; z = fZTarget;}    
     virtual void    GetImpactParameterRange(Float_t& bmin, Float_t& bmax) const
        {bmin = fMinImpactParam; bmax = fMaxImpactParam;}
     virtual Int_t   GetJetQuenching()                    const {return fQuench;}
@@ -83,7 +81,6 @@ class AliGenHijing : public AliGenMC
     virtual TGraph* BinaryCollisions() {return fDnDb;}
     virtual Bool_t  CheckTrigger();
 //
-    AliGenHijing &  operator=(const AliGenHijing & rhs);
  protected:
     Bool_t SelectFlavor(Int_t pid);
     void   MakeHeader();
@@ -99,7 +96,6 @@ class AliGenHijing : public AliGenMC
     Int_t       fEvaluate;       // Evaluate total and partial cross-sections
     Int_t       fSelectAll;      // Flag to write the full event
     Int_t       fFlavor;         // Selected particle flavor 4: charm+beauty 5: beauty
-    Float_t     fEnergyCMS;      // Centre of mass energy
     Float_t     fKineBias;       // Bias from kinematic selection
     Int_t       fTrials;         // Number of trials
     Float_t     fXsection;       // Cross-section
@@ -117,15 +113,20 @@ class AliGenHijing : public AliGenMC
     Int_t       fRadiation;      // Flag to switch on/off initial and final state radiation
     Int_t       fSimpleJet;      // Flag to produce simple tiggered jet topology
     Int_t       fNoGammas;       // Don't write gammas if flag "on"
-    
 // ZDC proposal (by Chiara) to store num. of SPECTATORS protons and neutrons
     Int_t      fProjectileSpecn;// Num. of spectator neutrons from projectile nucleus
     Int_t      fProjectileSpecp;// Num. of spectator protons from projectile nucleus
     Int_t      fTargetSpecn;    // Num. of spectator neutrons from target nucleus
     Int_t      fTargetSpecp;    // Num. of spectator protons from target nucleus
     Int_t       fLHC;            // Assume LHC as lab frame
+    Bool_t      fRandomPz;       // Randomise sign of pz  event by event
+    Bool_t      fNoHeavyQuarks;  // If true no heavy quarks are produced
+    Float_t     fEventTime;      // The event time
+    
  private:
-    void Copy(TObject &rhs) const;
+    AliGenHijing(const AliGenHijing &Hijing);
+    AliGenHijing &  operator=(const AliGenHijing & rhs);
+
     // adjust the weight from kinematic cuts
     void   AdjustWeights();
     // check seleted daughters
@@ -133,7 +134,7 @@ class AliGenHijing : public AliGenMC
     // check if stable
     Bool_t Stable(TParticle*  particle) const;
     
-    ClassDef(AliGenHijing, 5) // AliGenerator interface to Hijing
+    ClassDef(AliGenHijing, 7) // AliGenerator interface to Hijing
 };
 #endif