]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - THijing/AliGenHijing.h
New classes to fit signal shape (AliTPCCalibTCF)
[u/mrichter/AliRoot.git] / THijing / AliGenHijing.h
index 9207e8843db0485b136eef3843ce78e9b4dc250e..b70a15de8b9ea3327465a8234d33d9a82728768c 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,10 @@ 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;}
@@ -83,7 +86,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();
@@ -117,15 +119,19 @@ 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
+    
  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 +139,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