// Generator using HERWIG as an external generator
// The main HERWIG options are accessable for the user through this interface.
-
+// Author Andreas Morsch
+// andreas.morsch@cern.ch
#include "AliGenMC.h"
#include <TString.h>
// set centre of mass energy
virtual void SetBeamMomenta(Float_t p1=7000., Float_t p2=7000.)
{fMomentum1 = p1; fMomentum2 = p2;}
- virtual void SetProjectile(TString proj="P") {fProjectile = proj;}
- virtual void SetTarget(TString tar="P") {fTarget = tar;}
- virtual void SetProcess(Int_t proc) {fProcess = proc;}
+ virtual void SetProcess(Int_t proc) {fProcess = proc;}
virtual void KeepFullEvent();
virtual void SetDecaysOff(Int_t flag=1) {fDecaysOff = flag;}
virtual void SetTrigger(Int_t flag=kNoTrigger) {fTrigger = flag;}
Bool_t SelectFlavor(Int_t pid);
protected:
- TString fProjectile; // Projectile
- TString fTarget; // Target
TString fAutPDF; // PDF group
Int_t fModPDF; // PDF set
StrucFunc_t fStrucFunc; //Structure Function
Float_t fMomentum2; // Momentum of target
Float_t fKineBias; // Bias from kinematic selection
Int_t fTrials; // Number of trials
- TArrayI fParentSelect; // Parent particles to be selected
- TArrayI fChildSelect; // Decay products to be selected
Float_t fXsection; // Cross-section
THerwig6 *fHerwig; // Herwig
Int_t fProcess; // Process number