Geant4  10.02.p01
HepMCG4PythiaInterface Class Reference

A generic interface class with Pythia event generator via HepMC. More...

#include <HepMCG4PythiaInterface.hh>

+ Inheritance diagram for HepMCG4PythiaInterface:
+ Collaboration diagram for HepMCG4PythiaInterface:

Public Member Functions

 HepMCG4PythiaInterface ()
 
 ~HepMCG4PythiaInterface ()
 
void SetVerboseLevel (G4int i)
 
G4int GetVerboseLevel () const
 
void SetPylist (G4int i)
 
G4int GetPylist () const
 
void CallPyinit (G4String frame, G4String beam, G4String target, G4double win)
 
void CallPystat (G4int istat)
 
void SetRandomSeed (G4int iseed)
 
void CallPygive (G4String par)
 
void CallPyrget (G4int lun, G4int move)
 
void CallPyrset (G4int lun, G4int move)
 
void PrintRandomStatus (std::ostream &ostr=G4cout) const
 
virtual void SetUserParameters ()
 
virtual void Print () const
 
 HepMCG4PythiaInterface ()
 
 ~HepMCG4PythiaInterface ()
 
void SetVerboseLevel (G4int i)
 
G4int GetVerboseLevel () const
 
void SetPylist (G4int i)
 
G4int GetPylist () const
 
void CallPyinit (G4String frame, G4String beam, G4String target, G4double win)
 
void CallPystat (G4int istat)
 
void SetRandomSeed (G4int iseed)
 
void CallPygive (G4String par)
 
void CallPyrget (G4int lun, G4int move)
 
void CallPyrset (G4int lun, G4int move)
 
void PrintRandomStatus (std::ostream &ostr=G4cout) const
 
virtual void SetUserParameters ()
 
virtual void Print () const
 
- Public Member Functions inherited from HepMCG4Interface
 HepMCG4Interface ()
 
virtual ~HepMCG4Interface ()
 
HepMC::GenEvent * GetHepMCGenEvent () const
 
virtual void GeneratePrimaryVertex (G4Event *anEvent)
 
 HepMCG4Interface ()
 
virtual ~HepMCG4Interface ()
 
HepMC::GenEvent * GetHepMCGenEvent () const
 
virtual void GeneratePrimaryVertex (G4Event *anEvent)
 
- Public Member Functions inherited from G4VPrimaryGenerator
 G4VPrimaryGenerator ()
 
virtual ~G4VPrimaryGenerator ()
 
G4ThreeVector GetParticlePosition ()
 
G4double GetParticleTime ()
 
void SetParticlePosition (G4ThreeVector aPosition)
 
void SetParticleTime (G4double aTime)
 

Protected Member Functions

virtual HepMC::GenEvent * GenerateHepMCEvent ()
 
virtual HepMC::GenEvent * GenerateHepMCEvent ()
 
- Protected Member Functions inherited from HepMCG4Interface
virtual G4bool CheckVertexInsideWorld (const G4ThreeVector &pos) const
 
void HepMC2G4 (const HepMC::GenEvent *hepmcevt, G4Event *g4event)
 
virtual G4bool CheckVertexInsideWorld (const G4ThreeVector &pos) const
 
void HepMC2G4 (const HepMC::GenEvent *hepmcevt, G4Event *g4event)
 

Protected Attributes

G4int verbose
 
G4int mpylist
 
HepMC::IO_HEPEVT hepevtio
 
HepMCG4PythiaMessengermessenger
 
- Protected Attributes inherited from HepMCG4Interface
HepMC::GenEvent * hepmcEvent
 
- Protected Attributes inherited from G4VPrimaryGenerator
G4ThreeVector particle_position
 
G4double particle_time
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VPrimaryGenerator
static G4bool CheckVertexInsideWorld (const G4ThreeVector &pos)
 

Detailed Description

A generic interface class with Pythia event generator via HepMC.

Definition at line 42 of file HepMCG4PythiaInterface.hh.

Constructor & Destructor Documentation

HepMCG4PythiaInterface::HepMCG4PythiaInterface ( )
HepMCG4PythiaInterface::~HepMCG4PythiaInterface ( )
HepMCG4PythiaInterface::HepMCG4PythiaInterface ( )
HepMCG4PythiaInterface::~HepMCG4PythiaInterface ( )

Member Function Documentation

void HepMCG4PythiaInterface::CallPygive ( G4String  par)
void HepMCG4PythiaInterface::CallPygive ( G4String  par)
void HepMCG4PythiaInterface::CallPyinit ( G4String  frame,
G4String  beam,
G4String  target,
G4double  win 
)
void HepMCG4PythiaInterface::CallPyinit ( G4String  frame,
G4String  beam,
G4String  target,
G4double  win 
)
void HepMCG4PythiaInterface::CallPyrget ( G4int  lun,
G4int  move 
)
void HepMCG4PythiaInterface::CallPyrget ( G4int  lun,
G4int  move 
)
void HepMCG4PythiaInterface::CallPyrset ( G4int  lun,
G4int  move 
)
void HepMCG4PythiaInterface::CallPyrset ( G4int  lun,
G4int  move 
)
void HepMCG4PythiaInterface::CallPystat ( G4int  istat)
void HepMCG4PythiaInterface::CallPystat ( G4int  istat)
virtual HepMC::GenEvent* HepMCG4PythiaInterface::GenerateHepMCEvent ( )
protectedvirtual

Reimplemented from HepMCG4Interface.

virtual HepMC::GenEvent* HepMCG4PythiaInterface::GenerateHepMCEvent ( )
protectedvirtual

Reimplemented from HepMCG4Interface.

G4int HepMCG4PythiaInterface::GetPylist ( ) const
inline

Definition at line 100 of file HepMCG4PythiaInterface.hh.

References mpylist.

G4int HepMCG4PythiaInterface::GetPylist ( ) const
G4int HepMCG4PythiaInterface::GetVerboseLevel ( ) const
G4int HepMCG4PythiaInterface::GetVerboseLevel ( ) const
inline

Definition at line 90 of file HepMCG4PythiaInterface.hh.

References verbose.

virtual void HepMCG4PythiaInterface::Print ( ) const
virtual
virtual void HepMCG4PythiaInterface::Print ( ) const
virtual
void HepMCG4PythiaInterface::PrintRandomStatus ( std::ostream &  ostr = G4cout) const
void HepMCG4PythiaInterface::PrintRandomStatus ( std::ostream &  ostr = G4cout) const
void HepMCG4PythiaInterface::SetPylist ( G4int  i)
void HepMCG4PythiaInterface::SetPylist ( G4int  i)
inline

Definition at line 95 of file HepMCG4PythiaInterface.hh.

References mpylist.

void HepMCG4PythiaInterface::SetRandomSeed ( G4int  iseed)
void HepMCG4PythiaInterface::SetRandomSeed ( G4int  iseed)
virtual void HepMCG4PythiaInterface::SetUserParameters ( )
virtual
virtual void HepMCG4PythiaInterface::SetUserParameters ( )
virtual
void HepMCG4PythiaInterface::SetVerboseLevel ( G4int  i)
inline

Definition at line 85 of file HepMCG4PythiaInterface.hh.

References verbose.

void HepMCG4PythiaInterface::SetVerboseLevel ( G4int  i)

Member Data Documentation

HepMC::IO_HEPEVT HepMCG4PythiaInterface::hepevtio
protected

Definition at line 46 of file HepMCG4PythiaInterface.hh.

HepMCG4PythiaMessenger * HepMCG4PythiaInterface::messenger
protected

Definition at line 48 of file HepMCG4PythiaInterface.hh.

G4int HepMCG4PythiaInterface::mpylist
protected

Definition at line 45 of file HepMCG4PythiaInterface.hh.

Referenced by GetPylist(), and SetPylist().

G4int HepMCG4PythiaInterface::verbose
protected

Definition at line 44 of file HepMCG4PythiaInterface.hh.

Referenced by GetVerboseLevel(), and SetVerboseLevel().


The documentation for this class was generated from the following file: