Geant4 9.6.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

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

Detailed Description

Definition at line 44 of file G4HEPEvtParticle.hh.

Constructor & Destructor Documentation

◆ G4HEPEvtParticle() [1/2]

G4HEPEvtParticle::G4HEPEvtParticle ( )

Definition at line 35 of file G4HEPEvtParticle.cc.

36 : theParticle(0), ISTHEP(1), JDAHEP1(1), JDAHEP2(1)
37{;}

◆ G4HEPEvtParticle() [2/2]

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

Definition at line 39 of file G4HEPEvtParticle.cc.

41 : theParticle(pp),ISTHEP(isthep),JDAHEP1(jdahep1),JDAHEP2(jdahep2)
42{;}

◆ ~G4HEPEvtParticle()

G4HEPEvtParticle::~G4HEPEvtParticle ( )

Definition at line 44 of file G4HEPEvtParticle.cc.

45{;}

Member Function Documentation

◆ Done()

void G4HEPEvtParticle::Done ( )
inline

Definition at line 70 of file G4HEPEvtParticle.hh.

71 { ISTHEP *= -1; }

◆ GetISTHEP()

G4int G4HEPEvtParticle::GetISTHEP ( )
inline

Definition at line 72 of file G4HEPEvtParticle.hh.

73 { return ISTHEP; }

◆ GetJDAHEP1()

G4int G4HEPEvtParticle::GetJDAHEP1 ( )
inline

Definition at line 74 of file G4HEPEvtParticle.hh.

75 { return JDAHEP1; }

◆ GetJDAHEP2()

G4int G4HEPEvtParticle::GetJDAHEP2 ( )
inline

Definition at line 76 of file G4HEPEvtParticle.hh.

77 { return JDAHEP2; }

◆ GetTheParticle()

G4PrimaryParticle * G4HEPEvtParticle::GetTheParticle ( )
inline

Definition at line 68 of file G4HEPEvtParticle.hh.

69 { return theParticle; }

◆ operator delete()

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

Definition at line 93 of file G4HEPEvtParticle.hh.

94{
95 aHEPEvtParticleAllocator.FreeSingle((G4HEPEvtParticle *) aHEPEvtParticle);
96}
G4DLLIMPORT G4Allocator< G4HEPEvtParticle > aHEPEvtParticleAllocator

◆ operator new()

void * G4HEPEvtParticle::operator new ( size_t  )
inline

Definition at line 86 of file G4HEPEvtParticle.hh.

87{
88 void * aHEPEvtParticle;
89 aHEPEvtParticle = (void *) aHEPEvtParticleAllocator.MallocSingle();
90 return aHEPEvtParticle;
91}

◆ operator!=()

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

Definition at line 52 of file G4HEPEvtParticle.cc.

53{ return (this!=&right); }

◆ operator=()

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

Definition at line 47 of file G4HEPEvtParticle.cc.

48{ return *this; }

◆ operator==()

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

Definition at line 50 of file G4HEPEvtParticle.cc.

51{ return (this==&right); }

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