ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HepMCG4AsciiReader Class Reference

#include <geant4/tree/geant4-10.6-release/examples/extended/eventgenerator/HepMC/HepMCEx01/include/HepMCG4AsciiReader.hh>

+ Inheritance diagram for HepMCG4AsciiReader:
+ Collaboration diagram for HepMCG4AsciiReader:

Public Member Functions

 HepMCG4AsciiReader ()
 
 ~HepMCG4AsciiReader ()
 
void SetFileName (G4String name)
 
G4String GetFileName () const
 
void SetVerboseLevel (G4int i)
 
G4int GetVerboseLevel () const
 
void Initialize ()
 
 HepMCG4AsciiReader ()
 
 ~HepMCG4AsciiReader ()
 
void SetFileName (G4String name)
 
G4String GetFileName () const
 
void SetVerboseLevel (G4int i)
 
G4int GetVerboseLevel () const
 
void Initialize ()
 
- 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

G4String filename
 
HepMC::IO_GenEvent * asciiInput
 
G4int verbose
 
HepMCG4AsciiReaderMessengermessenger
 
- 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

Definition at line 39 of file HepMCG4AsciiReader.hh.

View newest version in sPHENIX GitHub at line 39 of file HepMCG4AsciiReader.hh

Constructor & Destructor Documentation

HepMCG4AsciiReader::HepMCG4AsciiReader ( )

Definition at line 38 of file HepMCG4AsciiReader.cc.

View newest version in sPHENIX GitHub at line 38 of file HepMCG4AsciiReader.cc

References asciiInput, filename, in, and messenger.

HepMCG4AsciiReader::~HepMCG4AsciiReader ( )

Definition at line 47 of file HepMCG4AsciiReader.cc.

View newest version in sPHENIX GitHub at line 47 of file HepMCG4AsciiReader.cc

References asciiInput, and messenger.

HepMCG4AsciiReader::HepMCG4AsciiReader ( )
HepMCG4AsciiReader::~HepMCG4AsciiReader ( )

Member Function Documentation

HepMC::GenEvent * HepMCG4AsciiReader::GenerateHepMCEvent ( )
protectedvirtual

Reimplemented from HepMCG4Interface.

Definition at line 62 of file HepMCG4AsciiReader.cc.

View newest version in sPHENIX GitHub at line 62 of file HepMCG4AsciiReader.cc

References asciiInput, print(), and verbose.

+ Here is the call graph for this function:

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

Reimplemented from HepMCG4Interface.

G4String HepMCG4AsciiReader::GetFileName ( ) const
G4String HepMCG4AsciiReader::GetFileName ( ) const
inline

Definition at line 73 of file HepMCG4AsciiReader.hh.

View newest version in sPHENIX GitHub at line 73 of file HepMCG4AsciiReader.hh

References filename.

G4int HepMCG4AsciiReader::GetVerboseLevel ( ) const
inline

Definition at line 83 of file HepMCG4AsciiReader.hh.

View newest version in sPHENIX GitHub at line 83 of file HepMCG4AsciiReader.hh

References verbose.

G4int HepMCG4AsciiReader::GetVerboseLevel ( ) const
void HepMCG4AsciiReader::Initialize ( )
void HepMCG4AsciiReader::Initialize ( )

Definition at line 54 of file HepMCG4AsciiReader.cc.

View newest version in sPHENIX GitHub at line 54 of file HepMCG4AsciiReader.cc

References asciiInput, filename, and in.

void HepMCG4AsciiReader::SetFileName ( G4String  name)
void HepMCG4AsciiReader::SetFileName ( G4String  name)
inline

Definition at line 68 of file HepMCG4AsciiReader.hh.

View newest version in sPHENIX GitHub at line 68 of file HepMCG4AsciiReader.hh

References filename.

void HepMCG4AsciiReader::SetVerboseLevel ( G4int  i)
void HepMCG4AsciiReader::SetVerboseLevel ( G4int  i)
inline

Definition at line 78 of file HepMCG4AsciiReader.hh.

View newest version in sPHENIX GitHub at line 78 of file HepMCG4AsciiReader.hh

References verbose.

Member Data Documentation

HepMC::IO_GenEvent * HepMCG4AsciiReader::asciiInput
protected

Definition at line 42 of file HepMCG4AsciiReader.hh.

View newest version in sPHENIX GitHub at line 42 of file HepMCG4AsciiReader.hh

Referenced by GenerateHepMCEvent(), HepMCG4AsciiReader(), Initialize(), and ~HepMCG4AsciiReader().

G4String HepMCG4AsciiReader::filename
protected

Definition at line 41 of file HepMCG4AsciiReader.hh.

View newest version in sPHENIX GitHub at line 41 of file HepMCG4AsciiReader.hh

Referenced by GetFileName(), HepMCG4AsciiReader(), Initialize(), and SetFileName().

HepMCG4AsciiReaderMessenger * HepMCG4AsciiReader::messenger
protected

Definition at line 45 of file HepMCG4AsciiReader.hh.

View newest version in sPHENIX GitHub at line 45 of file HepMCG4AsciiReader.hh

Referenced by HepMCG4AsciiReader(), and ~HepMCG4AsciiReader().

G4int HepMCG4AsciiReader::verbose
protected

Definition at line 44 of file HepMCG4AsciiReader.hh.

View newest version in sPHENIX GitHub at line 44 of file HepMCG4AsciiReader.hh

Referenced by GenerateHepMCEvent(), GetVerboseLevel(), and SetVerboseLevel().


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