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

Method GetName

source/run/src/G4RunManagerFactory.cc:218–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216//============================================================================//
217
218std::string G4RunManagerFactory::GetName(G4RunManagerType _type)
219{
220 switch (_type) {
221 case G4RunManagerType::Serial:
222 return "Serial";
223 case G4RunManagerType::SerialOnly:
224 return "Serial";
225 case G4RunManagerType::MT:
226 return "MT";
227 case G4RunManagerType::MTOnly:
228 return "MT";
229 case G4RunManagerType::Tasking:
230 return "Tasking";
231 case G4RunManagerType::TaskingOnly:
232 return "Tasking";
233 case G4RunManagerType::TBB:
234 return "TBB";
235 case G4RunManagerType::TBBOnly:
236 return "TBB";
237 case G4RunManagerType::SubEvt:
238 return "SubEvt";
239 case G4RunManagerType::SubEvtOnly:
240 return "SubEvt";
241 default:
242 break;
243 };
244 return "";
245}
246
247//============================================================================//
248

Callers 15

StoreDigiCollectionMethod · 0.45
GetCollectionIDMethod · 0.45
AddNewModuleMethod · 0.45
FindDigitizerModuleMethod · 0.45
SetDigiCollectionMethod · 0.45
ListMethod · 0.45
ReOptimizeMethod · 0.45
ReinitializeGeometryMethod · 0.45
DumpTrackInfoMethod · 0.45
DefineWorldVolumeMethod · 0.45
CheckRegionsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected