BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
G4HepMCParticle Class Reference

#include <G4HepMCParticle.h>

Public Member Functions

void * operator new (size_t)
 
void operator delete (void *aStackedTrack)
 
 G4HepMCParticle ()
 
 G4HepMCParticle (G4PrimaryParticle *pp, G4int isthep, G4int barcode)
 
 ~G4HepMCParticle ()
 
const G4HepMCParticleoperator= (const G4HepMCParticle &right)
 
G4int operator== (const G4HepMCParticle &right) const
 
G4int operator!= (const G4HepMCParticle &right) const
 
G4PrimaryParticle * GetTheParticle ()
 
void Done ()
 
G4int GetISTHEP ()
 
G4int GetBarcodeEndVtx ()
 

Detailed Description

Definition at line 44 of file G4HepMCParticle.h.

Constructor & Destructor Documentation

◆ G4HepMCParticle() [1/2]

G4HepMCParticle::G4HepMCParticle ( )

Definition at line 36 of file G4HepMCParticle.cpp.

37{;}

◆ G4HepMCParticle() [2/2]

G4HepMCParticle::G4HepMCParticle ( G4PrimaryParticle *  pp,
G4int  isthep,
G4int  barcode 
)

Definition at line 39 of file G4HepMCParticle.cpp.

40:theParticle(pp),ISTHEP(isthep), barcodeEndVtx(barcode)
41{;}
**********INTEGER nmxhep !maximum number of particles DOUBLE PRECISION vhep INTEGER isthep

◆ ~G4HepMCParticle()

G4HepMCParticle::~G4HepMCParticle ( )

Definition at line 43 of file G4HepMCParticle.cpp.

44{;}

Member Function Documentation

◆ Done()

void G4HepMCParticle::Done ( )
inline

Definition at line 67 of file G4HepMCParticle.h.

68 { ISTHEP *= -1; }

Referenced by G4HepMCInterface::HepMC2G4().

◆ GetBarcodeEndVtx()

G4int G4HepMCParticle::GetBarcodeEndVtx ( )
inline

Definition at line 71 of file G4HepMCParticle.h.

72 { return barcodeEndVtx;}

◆ GetISTHEP()

G4int G4HepMCParticle::GetISTHEP ( )
inline

Definition at line 69 of file G4HepMCParticle.h.

70 { return ISTHEP; }

◆ GetTheParticle()

G4PrimaryParticle * G4HepMCParticle::GetTheParticle ( )
inline

Definition at line 65 of file G4HepMCParticle.h.

66 { return theParticle; }

◆ operator delete()

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

Definition at line 88 of file G4HepMCParticle.h.

89{
90 aHEPEvtParticleAllocator.FreeSingle((G4HepMCParticle *) aHEPEvtParticle);
91}
G4DLLIMPORT G4Allocator< G4HepMCParticle > aHEPEvtParticleAllocator

◆ operator new()

void * G4HepMCParticle::operator new ( size_t  )
inline

Definition at line 81 of file G4HepMCParticle.h.

82{
83 void * aHEPEvtParticle;
84 aHEPEvtParticle = (void *) aHEPEvtParticleAllocator.MallocSingle();
85 return aHEPEvtParticle;
86}

◆ operator!=()

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

Definition at line 52 of file G4HepMCParticle.cpp.

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

◆ operator=()

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

Definition at line 47 of file G4HepMCParticle.cpp.

48{ return *this; }

◆ operator==()

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

Definition at line 50 of file G4HepMCParticle.cpp.

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

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