X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=PYTHIA6%2FAliDecayerPythia.h;h=024d4501f2551c22ad8cdefc9b3e124ed8bdd0e5;hb=e4355b91ec1e7a8189cabcb2785df5d7f4844975;hp=b6047bd3e59bd12e5256faf11e197459913dff03;hpb=7935c2c73ac3aee3cfeca76998abaed953dbc850;p=u%2Fmrichter%2FAliRoot.git diff --git a/PYTHIA6/AliDecayerPythia.h b/PYTHIA6/AliDecayerPythia.h index b6047bd3e59..024d4501f25 100644 --- a/PYTHIA6/AliDecayerPythia.h +++ b/PYTHIA6/AliDecayerPythia.h @@ -18,7 +18,8 @@ public AliDecayer { public: AliDecayerPythia(); -// + AliDecayerPythia(const AliDecayerPythia &decayer); + // virtual ~AliDecayerPythia(){;} virtual void Init(); virtual void Decay(Int_t idpart, TLorentzVector *p); @@ -27,9 +28,15 @@ public AliDecayer virtual void SetForceDecay(Int_t decay) {SetForceDecay((Decay_t) decay);} virtual void ForceDecay(); - + virtual void SetPatchOmegaDalitz() {fPatchOmegaDalitz = 1;} + virtual void SetDecayerExodus() {fDecayerExodus = 1;} + virtual void HeavyFlavourOff() {fHeavyFlavour = kFALSE;} + virtual void DecayLongLivedParticles() {fLongLived = kTRUE;} virtual Float_t GetPartialBranchingRatio(Int_t ipart); virtual Float_t GetLifetime(Int_t kf); + virtual void SwitchOffBDecay(); + virtual void SwitchOffPi0() {fPi0 = 0;} + virtual void SwitchOffParticle(Int_t kf); virtual void WriteDecayTable(); virtual void ReadDecayTable(); @@ -39,24 +46,31 @@ public AliDecayer Double_t mom, Double_t theta, Double_t phi); Int_t CountProducts(Int_t channel, Int_t particle); void ForceParticleDecay(Int_t particle, Int_t product, Int_t mult); - void ForceParticleDecay(Int_t particle, Int_t* products, Int_t* mult, Int_t npart); - void ForceHadronicD(); - void ForceOmega(); + void ForceParticleDecay(Int_t particle, const Int_t* products, Int_t* mult, Int_t npart, Bool_t flag = 0); + void ForceHadronicD(Int_t optUser4Bodies=1); + void ForceOmega(); + void ForceLambda(); + void SwitchOffHeavyFlavour(); + void ForceBeautyUpgrade(); Float_t GetBraPart(Int_t kf); - void Copy(AliDecayerPythia &decayer) const; - AliDecayerPythia(const AliDecayerPythia &decayer):AliDecayer(decayer) - {decayer.Copy(*this);} - virtual AliDecayerPythia &operator=(const AliDecayerPythia &decayer) + void Copy(TObject &decayer) const; + + AliDecayerPythia &operator=(const AliDecayerPythia &decayer) {decayer.Copy(*this);return(*this);} private: AliPythia* fPythia; //! Pointer to AliPythia - Decay_t fDecay; // Forced decay mode + Decay_t fDecay; // Forced decay mode Float_t fBraPart[501]; //! Branching ratios + Bool_t fHeavyFlavour; //! Flag for heavy flavors + Bool_t fLongLived; //! Flag for long lived particle decay + Bool_t fPatchOmegaDalitz;//! Flag to patch the omega Dalitz decays + Bool_t fDecayerExodus; //! Flag for EXODUS decayer + Bool_t fPi0; //! Flag for pi0 decay static Bool_t fgInit; //! initialization flag - ClassDef(AliDecayerPythia,2) // AliDecayer implementation using Pythia + ClassDef(AliDecayerPythia, 5) // AliDecayer implementation using Pythia }; #endif