Geant4 11.1.1
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 ()=default
 
 G4HEPEvtParticle (G4PrimaryParticle *pp, G4int isthep, G4int jdahep1, G4int jdahep2)
 
 ~G4HEPEvtParticle ()=default
 
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 ( )
default

◆ G4HEPEvtParticle() [2/2]

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

Definition at line 39 of file G4HEPEvtParticle.cc.

42 : theParticle(pp),ISTHEP(isthep),JDAHEP1(jdahep1),JDAHEP2(jdahep2)
43{
44}

◆ ~G4HEPEvtParticle()

G4HEPEvtParticle::~G4HEPEvtParticle ( )
default

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 86 of file G4HEPEvtParticle.hh.

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

◆ operator new()

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

Definition at line 77 of file G4HEPEvtParticle.hh.

78{
79 if (aHEPEvtParticleAllocator() == nullptr)
80 {
82 }
83 return (void *) aHEPEvtParticleAllocator()->MallocSingle();
84}

◆ operator!=()

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

Definition at line 56 of file G4HEPEvtParticle.cc.

57{
58 return (this!=&right);
59}

◆ operator=()

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

Definition at line 46 of file G4HEPEvtParticle.cc.

47{
48 return *this;
49}

◆ operator==()

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

Definition at line 51 of file G4HEPEvtParticle.cc.

52{
53 return (this==&right);
54}

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