Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4HEPEvtParticle Class Reference

#include <G4HEPEvtParticle.hh>

Public Member Functions

 G4HEPEvtParticle ()
 
 G4HEPEvtParticle (G4PrimaryParticle *pp, G4int isthep, G4int jdahep1, G4int jdahep2)
 
 ~G4HEPEvtParticle ()
 
G4HEPEvtParticleoperator= (const G4HEPEvtParticle &right)
 
G4bool operator== (const G4HEPEvtParticle &right) const
 
G4bool operator!= (const G4HEPEvtParticle &right) const
 
void * operator new (std::size_t)
 
void operator delete (void *aStackedTrack)
 
G4PrimaryParticleGetTheParticle ()
 
void Done ()
 
G4int GetISTHEP ()
 
G4int GetJDAHEP1 ()
 
G4int GetJDAHEP2 ()
 

Detailed Description

Definition at line 43 of file G4HEPEvtParticle.hh.

Constructor & Destructor Documentation

◆ G4HEPEvtParticle() [1/2]

G4HEPEvtParticle::G4HEPEvtParticle ( )

Definition at line 39 of file G4HEPEvtParticle.cc.

40{
41}

◆ G4HEPEvtParticle() [2/2]

G4HEPEvtParticle::G4HEPEvtParticle ( G4PrimaryParticle pp,
G4int  isthep,
G4int  jdahep1,
G4int  jdahep2 
)

Definition at line 43 of file G4HEPEvtParticle.cc.

46 : theParticle(pp),ISTHEP(isthep),JDAHEP1(jdahep1),JDAHEP2(jdahep2)
47{
48}

◆ ~G4HEPEvtParticle()

G4HEPEvtParticle::~G4HEPEvtParticle ( )

Definition at line 50 of file G4HEPEvtParticle.cc.

51{
52}

Member Function Documentation

◆ Done()

void G4HEPEvtParticle::Done ( )
inline

Definition at line 60 of file G4HEPEvtParticle.hh.

60{ ISTHEP *= -1; }

◆ GetISTHEP()

G4int G4HEPEvtParticle::GetISTHEP ( )
inline

Definition at line 61 of file G4HEPEvtParticle.hh.

61{ return ISTHEP; }

◆ GetJDAHEP1()

G4int G4HEPEvtParticle::GetJDAHEP1 ( )
inline

Definition at line 62 of file G4HEPEvtParticle.hh.

62{ return JDAHEP1; }

◆ GetJDAHEP2()

G4int G4HEPEvtParticle::GetJDAHEP2 ( )
inline

Definition at line 63 of file G4HEPEvtParticle.hh.

63{ return JDAHEP2; }

◆ GetTheParticle()

G4PrimaryParticle * G4HEPEvtParticle::GetTheParticle ( )
inline

Definition at line 59 of file G4HEPEvtParticle.hh.

59{ return theParticle; }

◆ operator delete()

void G4HEPEvtParticle::operator delete ( void *  aStackedTrack)
inline

Definition at line 84 of file G4HEPEvtParticle.hh.

85{
86 aHEPEvtParticleAllocator()->FreeSingle((G4HEPEvtParticle *) aHEPEvtParticle);
87}
G4EVENT_DLL G4Allocator< G4HEPEvtParticle > *& aHEPEvtParticleAllocator()

◆ operator new()

void * G4HEPEvtParticle::operator new ( std::size_t  )
inline

Definition at line 77 of file G4HEPEvtParticle.hh.

78{
81 return (void *) aHEPEvtParticleAllocator()->MallocSingle();
82}

◆ operator!=()

G4bool G4HEPEvtParticle::operator!= ( const G4HEPEvtParticle right) const

Definition at line 64 of file G4HEPEvtParticle.cc.

65{
66 return (this!=&right);
67}

◆ operator=()

G4HEPEvtParticle & G4HEPEvtParticle::operator= ( const G4HEPEvtParticle right)

Definition at line 54 of file G4HEPEvtParticle.cc.

55{
56 return *this;
57}

◆ operator==()

G4bool G4HEPEvtParticle::operator== ( const G4HEPEvtParticle right) const

Definition at line 59 of file G4HEPEvtParticle.cc.

60{
61 return (this==&right);
62}

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