MCPcopy Create free account
hub / github.com/Geant4/geant4 / GetCurrentSource

Method GetCurrentSource

source/event/src/G4GeneralParticleSourceData.cc:166–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

164}
165
166G4SingleParticleSource* G4GeneralParticleSourceData::GetCurrentSource(G4int idx)
167{
168 currentSource = sourceVector[idx];
169 currentSourceIdx = idx;
170 return sourceVector[idx];
171}
172
173void G4GeneralParticleSourceData::Lock()
174{

Callers 15

DescribeYourselfToMethod · 0.45
AddaSourceMethod · 0.45
ListSourceMethod · 0.45
SetCurrentSourcetoMethod · 0.45
GeneratePrimaryVertexMethod · 0.45
GeneratePrimariesMethod · 0.45
GeneratePrimariesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected