]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - THijing/AliGenHijing.h
- AliHLTComponent: bugfix in buffer handling; overwrite check added to
[u/mrichter/AliRoot.git] / THijing / AliGenHijing.h
index d65730bfc49947a392b8da48e09ff1ab2425cee0..c03bf5b7416637f86dd1035caf8a2e9fcc19f522 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,6 +53,11 @@ 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    AddHeader(AliGenEventHeader* header);
+    virtual void    SwitchOffHeavyQuarks(Bool_t flag = kTRUE) {fNoHeavyQuarks = flag;}
+    
+           
 // Getters
     virtual Float_t GetEnergyCMS()       const {return fEnergyCMS;}
     virtual TString GetReferenceFrame()  const {return fFrame;}
@@ -83,7 +87,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();
@@ -119,11 +122,18 @@ class AliGenHijing : public AliGenMC
     Int_t       fNoGammas;       // Don't write gammas if flag "on"
     
 // ZDC proposal (by Chiara) to store num. of SPECTATORS protons and neutrons
-    Int_t      fSpecn;          // Num. of spectator neutrons
-    Int_t      fSpecp;          // Num. of spectator protons
+    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
+    
  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
@@ -131,7 +141,7 @@ class AliGenHijing : public AliGenMC
     // check if stable
     Bool_t Stable(TParticle*  particle) const;
     
-    ClassDef(AliGenHijing, 5) // AliGenerator interface to Hijing
+    ClassDef(AliGenHijing, 6) // AliGenerator interface to Hijing
 };
 #endif