Geant4-11
Public Member Functions | Private Attributes
G4HEPEvtParticle Class Reference

#include <G4HEPEvtParticle.hh>

Public Member Functions

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

Private Attributes

G4int ISTHEP = 1
 
G4int JDAHEP1 = 1
 
G4int JDAHEP2 = 1
 
G4PrimaryParticletheParticle = nullptr
 

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}
G4PrimaryParticle * theParticle

◆ ~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; }

References ISTHEP.

◆ GetISTHEP()

G4int G4HEPEvtParticle::GetISTHEP ( )
inline

Definition at line 61 of file G4HEPEvtParticle.hh.

61{ return ISTHEP; }

References ISTHEP.

◆ GetJDAHEP1()

G4int G4HEPEvtParticle::GetJDAHEP1 ( )
inline

Definition at line 62 of file G4HEPEvtParticle.hh.

62{ return JDAHEP1; }

References JDAHEP1.

◆ GetJDAHEP2()

G4int G4HEPEvtParticle::GetJDAHEP2 ( )
inline

Definition at line 63 of file G4HEPEvtParticle.hh.

63{ return JDAHEP2; }

References JDAHEP2.

◆ GetTheParticle()

G4PrimaryParticle * G4HEPEvtParticle::GetTheParticle ( )
inline

Definition at line 59 of file G4HEPEvtParticle.hh.

59{ return theParticle; }

References 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()

References 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}

References aHEPEvtParticleAllocator().

◆ 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}

Field Documentation

◆ ISTHEP

G4int G4HEPEvtParticle::ISTHEP = 1
private

Definition at line 68 of file G4HEPEvtParticle.hh.

Referenced by Done(), and GetISTHEP().

◆ JDAHEP1

G4int G4HEPEvtParticle::JDAHEP1 = 1
private

Definition at line 71 of file G4HEPEvtParticle.hh.

Referenced by GetJDAHEP1().

◆ JDAHEP2

G4int G4HEPEvtParticle::JDAHEP2 = 1
private

Definition at line 72 of file G4HEPEvtParticle.hh.

Referenced by GetJDAHEP2().

◆ theParticle

G4PrimaryParticle* G4HEPEvtParticle::theParticle = nullptr
private

Definition at line 67 of file G4HEPEvtParticle.hh.

Referenced by GetTheParticle().


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