]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PYTHIA6/AliDecayerPythia.h
Update for station2:
[u/mrichter/AliRoot.git] / PYTHIA6 / AliDecayerPythia.h
index 29f10d2ed22241b03c3d9e89c38c24609d44beb4..b6047bd3e59bd12e5256faf11e197459913dff03 100644 (file)
@@ -18,11 +18,8 @@ public AliDecayer
 {
  public:
     AliDecayerPythia();
-    void  Copy(AliDecayerPythia &decayer) const;
-    
 //    
     virtual         ~AliDecayerPythia(){;}
-    
     virtual void    Init();
     virtual void    Decay(Int_t idpart, TLorentzVector *p);
     virtual Int_t   ImportParticles(TClonesArray *particles);
@@ -42,11 +39,13 @@ 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();    
     Float_t  GetBraPart(Int_t kf);
-
-    AliDecayerPythia(const AliDecayerPythia &decayer) {;}
+    void  Copy(AliDecayerPythia &decayer) const;
+    AliDecayerPythia(const AliDecayerPythia &decayer):AliDecayer(decayer)
+       {decayer.Copy(*this);}
     virtual AliDecayerPythia &operator=(const AliDecayerPythia &decayer) 
     {decayer.Copy(*this);return(*this);}