BOSS 7.0.5
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 ()
 
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

Constructor & Destructor Documentation

◆ G4HepMCParticle() [1/4]

G4HepMCParticle::G4HepMCParticle ( )

Definition at line 36 of file G4HepMCParticle.cpp.

37{;}

◆ G4HepMCParticle() [2/4]

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() [1/2]

G4HepMCParticle::~G4HepMCParticle ( )

Definition at line 43 of file G4HepMCParticle.cpp.

44{;}

◆ G4HepMCParticle() [3/4]

G4HepMCParticle::G4HepMCParticle ( )

◆ G4HepMCParticle() [4/4]

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

◆ ~G4HepMCParticle() [2/2]

G4HepMCParticle::~G4HepMCParticle ( )

Member Function Documentation

◆ Done() [1/2]

void G4HepMCParticle::Done ( )
inline

Definition at line 67 of file InstallArea/include/G4Svc/G4Svc/G4HepMCParticle.h.

68 { ISTHEP *= -1; }

Referenced by G4HepMCInterface::HepMC2G4().

◆ Done() [2/2]

void G4HepMCParticle::Done ( )
inline

Definition at line 67 of file Simulation/G4Svc/G4Svc-00-01-52/G4Svc/G4HepMCParticle.h.

68 { ISTHEP *= -1; }

◆ GetBarcodeEndVtx() [1/2]

G4int G4HepMCParticle::GetBarcodeEndVtx ( )
inline

Definition at line 71 of file InstallArea/include/G4Svc/G4Svc/G4HepMCParticle.h.

72 { return barcodeEndVtx;}

◆ GetBarcodeEndVtx() [2/2]

G4int G4HepMCParticle::GetBarcodeEndVtx ( )
inline

Definition at line 71 of file Simulation/G4Svc/G4Svc-00-01-52/G4Svc/G4HepMCParticle.h.

72 { return barcodeEndVtx;}

◆ GetISTHEP() [1/2]

G4int G4HepMCParticle::GetISTHEP ( )
inline

Definition at line 69 of file InstallArea/include/G4Svc/G4Svc/G4HepMCParticle.h.

70 { return ISTHEP; }

◆ GetISTHEP() [2/2]

G4int G4HepMCParticle::GetISTHEP ( )
inline

Definition at line 69 of file Simulation/G4Svc/G4Svc-00-01-52/G4Svc/G4HepMCParticle.h.

70 { return ISTHEP; }

◆ GetTheParticle() [1/2]

G4PrimaryParticle * G4HepMCParticle::GetTheParticle ( )
inline

Definition at line 65 of file InstallArea/include/G4Svc/G4Svc/G4HepMCParticle.h.

66 { return theParticle; }

◆ GetTheParticle() [2/2]

G4PrimaryParticle * G4HepMCParticle::GetTheParticle ( )
inline

Definition at line 65 of file Simulation/G4Svc/G4Svc-00-01-52/G4Svc/G4HepMCParticle.h.

66 { return theParticle; }

◆ operator delete() [1/2]

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

Definition at line 88 of file InstallArea/include/G4Svc/G4Svc/G4HepMCParticle.h.

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

◆ operator delete() [2/2]

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

◆ operator new() [1/2]

void * G4HepMCParticle::operator new ( size_t  )
inline

Definition at line 81 of file InstallArea/include/G4Svc/G4Svc/G4HepMCParticle.h.

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

◆ operator new() [2/2]

void * G4HepMCParticle::operator new ( size_t  )
inline

◆ operator!=() [1/2]

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

Definition at line 52 of file G4HepMCParticle.cpp.

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

◆ operator!=() [2/2]

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

◆ operator=() [1/2]

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

Definition at line 47 of file G4HepMCParticle.cpp.

48{ return *this; }

◆ operator=() [2/2]

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

◆ operator==() [1/2]

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

Definition at line 50 of file G4HepMCParticle.cpp.

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

◆ operator==() [2/2]

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

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