// @(#)root/pythia8:$Name$:$Id: TPythia8Decayer.h 24665 2008-07-04 12:47:59Z brun $
// Author: Andreas Morsch   04/07/2008

/* Copyright(c) 1998-2008, ALICE Experiment at CERN, All rights reserved. *
 * See cxx source for full Copyright notice                               */

#ifndef TPYTHIA8DECAYER_H
#define TPYTHIA8DECAYER_H

#include <TVirtualMCDecayer.h>

class TClonesArrray;
class TLorentzVector;
class TPythia8;

class TPythia8Decayer : public TVirtualMCDecayer {
public:
   TPythia8Decayer();
   virtual ~TPythia8Decayer(){;}
   virtual void    Init();
   virtual void    Decay(Int_t pdg, TLorentzVector* p);
   virtual Int_t   ImportParticles(TClonesArray *particles);
   virtual void    SetForceDecay(Int_t type);
   virtual void    ForceDecay();
   virtual Float_t GetPartialBranchingRatio(Int_t ipart);
   virtual Float_t GetLifetime(Int_t kf);
   virtual void    ReadDecayTable();

   virtual void    SetDebugLevel(Int_t debug) {fDebug = debug;}
protected:
   void AppendParticle(Int_t pdg, TLorentzVector* p);
   void ClearEvent(); 
private:
   TPythia8* fPythia8;          // Pointer to pythia8
   Int_t     fDebug;            // Debug level
   
   ClassDef(TPythia8Decayer, 1) // Particle Decayer using Pythia8
    
};
#endif








Last change: Fri Jul 4 14:51:26 2008
Last generated: 2008-07-04 14:51

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.