Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4HEPEvtParticle Class Reference

#include <G4HEPEvtParticle.hh>

Public Member Functions

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

Constructor & Destructor Documentation

G4HEPEvtParticle::G4HEPEvtParticle ( )

Definition at line 35 of file G4HEPEvtParticle.cc.

36  : theParticle(0), ISTHEP(1), JDAHEP1(1), JDAHEP2(1)
37 {
38 }
G4HEPEvtParticle::G4HEPEvtParticle ( G4PrimaryParticle pp,
G4int  isthep,
G4int  jdahep1,
G4int  jdahep2 
)

Definition at line 40 of file G4HEPEvtParticle.cc.

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

Definition at line 46 of file G4HEPEvtParticle.cc.

47 {
48 }

Member Function Documentation

void G4HEPEvtParticle::Done ( )
inline

Definition at line 69 of file G4HEPEvtParticle.hh.

70  { ISTHEP *= -1; }
G4int G4HEPEvtParticle::GetISTHEP ( )
inline

Definition at line 71 of file G4HEPEvtParticle.hh.

72  { return ISTHEP; }
G4int G4HEPEvtParticle::GetJDAHEP1 ( )
inline

Definition at line 73 of file G4HEPEvtParticle.hh.

74  { return JDAHEP1; }
G4int G4HEPEvtParticle::GetJDAHEP2 ( )
inline

Definition at line 75 of file G4HEPEvtParticle.hh.

76  { return JDAHEP2; }
G4PrimaryParticle* G4HEPEvtParticle::GetTheParticle ( )
inline

Definition at line 67 of file G4HEPEvtParticle.hh.

68  { return theParticle; }
void G4HEPEvtParticle::operator delete ( void aStackedTrack)
inline

Definition at line 88 of file G4HEPEvtParticle.hh.

89 {
90  aHEPEvtParticleAllocator->FreeSingle((G4HEPEvtParticle *) aHEPEvtParticle);
91 }
G4EVENT_DLL G4ThreadLocal G4Allocator< G4HEPEvtParticle > * aHEPEvtParticleAllocator
void * G4HEPEvtParticle::operator new ( size_t  )
inline

Definition at line 81 of file G4HEPEvtParticle.hh.

82 {
85  return (void *) aHEPEvtParticleAllocator->MallocSingle();
86 }
G4EVENT_DLL G4ThreadLocal G4Allocator< G4HEPEvtParticle > * aHEPEvtParticleAllocator
G4int G4HEPEvtParticle::operator!= ( const G4HEPEvtParticle right) const

Definition at line 60 of file G4HEPEvtParticle.cc.

61 {
62  return (this!=&right);
63 }
G4HEPEvtParticle & G4HEPEvtParticle::operator= ( const G4HEPEvtParticle right)

Definition at line 50 of file G4HEPEvtParticle.cc.

51 {
52  return *this;
53 }
G4int G4HEPEvtParticle::operator== ( const G4HEPEvtParticle right) const

Definition at line 55 of file G4HEPEvtParticle.cc.

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

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