#include <G4PrimaryVertex.hh>
Definition at line 50 of file G4PrimaryVertex.hh.
G4PrimaryVertex::G4PrimaryVertex |
( |
| ) |
|
Definition at line 37 of file G4PrimaryVertex.cc.
38 :X0(0.),Y0(0.),Z0(0.),T0(0.),theParticle(0),theTail(0),
39 nextVertex(0),tailVertex(0),numberOfParticle(0),Weight0(1.0),userInfo(0)
Definition at line 43 of file G4PrimaryVertex.cc.
45 :X0(x0),Y0(y0),Z0(
z0),T0(t0),theParticle(0),theTail(0),
46 nextVertex(0),tailVertex(0),numberOfParticle(0),Weight0(1.0),userInfo(0)
Definition at line 50 of file G4PrimaryVertex.cc.
51 :T0(t0),theParticle(0),theTail(0),
52 nextVertex(0),tailVertex(0),numberOfParticle(0),Weight0(1.0),userInfo(0)
G4PrimaryVertex::~G4PrimaryVertex |
( |
| ) |
|
|
virtual |
Definition at line 67 of file G4PrimaryVertex.cc.
69 if(theParticle != 0) {
74 theNext = thisPrimary->
GetNext();
G4PrimaryParticle * GetNext() const
Definition at line 59 of file G4PrimaryVertex.cc.
60 :theParticle(0),theTail(0),
61 nextVertex(0),tailVertex(0),userInfo(0)
63 numberOfParticle = right.numberOfParticle;
void G4PrimaryVertex::ClearNext |
( |
| ) |
|
|
inline |
G4int G4PrimaryVertex::GetNumberOfParticle |
( |
| ) |
const |
|
inline |
Definition at line 140 of file G4PrimaryVertex.cc.
142 if( i >= 0 && i < numberOfParticle ) {
144 for(
G4int j=0; j<i; j++ ){
145 if( particle == 0 )
return 0;
146 particle = particle->
GetNext();
G4PrimaryParticle * GetNext() const
G4double G4PrimaryVertex::GetT0 |
( |
| ) |
const |
|
inline |
G4double G4PrimaryVertex::GetWeight |
( |
| ) |
const |
|
inline |
G4double G4PrimaryVertex::GetX0 |
( |
| ) |
const |
|
inline |
G4double G4PrimaryVertex::GetY0 |
( |
| ) |
const |
|
inline |
G4double G4PrimaryVertex::GetZ0 |
( |
| ) |
const |
|
inline |
void G4PrimaryVertex::operator delete |
( |
void * |
aStackedTrack | ) |
|
|
inline |
Definition at line 116 of file G4PrimaryVertex.hh.
G4PART_DLL G4ThreadLocal G4Allocator< G4PrimaryVertex > * aPrimaryVertexAllocator
void * G4PrimaryVertex::operator new |
( |
size_t |
| ) |
|
|
inline |
Definition at line 107 of file G4PrimaryVertex.hh.
G4PART_DLL G4ThreadLocal G4Allocator< G4PrimaryVertex > * aPrimaryVertexAllocator
Definition at line 90 of file G4PrimaryVertex.cc.
97 Weight0 = right.Weight0;
100 if (theParticle !=0)
delete theParticle;
103 if (right.theParticle !=0 ) {
105 numberOfParticle += 1;
106 theTail = theParticle;
109 numberOfParticle += 1;
115 if (nextVertex !=0 )
delete nextVertex;
118 if (right.nextVertex !=0 ) {
120 tailVertex = nextVertex;
G4PrimaryVertex * GetNext() const
G4PrimaryParticle * GetNext() const
void G4PrimaryVertex::Print |
( |
| ) |
const |
Definition at line 153 of file G4PrimaryVertex.cc.
160 <<
" Weight " << Weight0 <<
G4endl;
161 if(userInfo!=0) userInfo->
Print();
162 G4cout <<
" -- Primary particles :: "
163 <<
" # of primaries =" << numberOfParticle <<
G4endl;
164 if( theParticle != 0) theParticle->
Print();
165 if (nextVertex !=0 ) {
static constexpr double mm
G4GLOB_DLL std::ostream G4cout
Definition at line 153 of file G4PrimaryVertex.hh.
155 if(nextVertex == 0) { nextVertex = nv; }
156 else { tailVertex->
SetNext(nv); }
void SetNext(G4PrimaryVertex *nv)
Definition at line 145 of file G4PrimaryVertex.hh.
147 if(theParticle == 0) { theParticle =
pp; }
void SetNext(G4PrimaryParticle *np)
The documentation for this class was generated from the following files: