// LCDPyj2McPart.h
// Apr. 5 2001 T.Abe     Create

#ifndef LCDPANDORA2MCPART_H
#define LCDPYJ2MCPART_H

#include "TClonesArray.h"
#include "TArrayI.h"
#include "TLorentzVector.h"
#include "TPythia6.h"

extern "C"{
  Double_t partchg( Int_t );
}

class LCDPyj2McPart{

 public:
  LCDPyj2McPart();
  LCDPyj2McPart(TPythia6* py);
  virtual ~LCDPyj2McPart();
  
  TPythia6* GetPythia6(TPythia6* a) { return m_pyjdat; }
  void      SetPythia6(TPythia6* a);

  Int_t MakeMcPart(TClonesArray* mclist); // creates McPart

 private:
  TPythia6*   m_pyjdat;
  Bool_t      f_ownpyj;

  void Init();

 public:
  ClassDef(LCDPyj2McPart,0)// Convert pyjet info. to LCDMcPart
};
#endif
