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

Method SetFirstId

source/analysis/management/src/G4BaseAnalysisManager.cc:46–57  ·  view source on GitHub ↗

_____________________________________________________________________________

Source from the content-addressed store, hash-verified

44
45//_____________________________________________________________________________
46G4bool G4BaseAnalysisManager::SetFirstId(G4int firstId)
47{
48 if ( fLockFirstId ) {
49 Warn("Cannot set FirstId as its value was already used.",
50 fkClass, "SetFirstId");
51
52 return false;
53 }
54
55 fFirstId = firstId;
56 return true;
57}

Callers 14

SetFirstH1IdMethod · 0.80
SetFirstH2IdMethod · 0.80
SetFirstH3IdMethod · 0.80
SetFirstP1IdMethod · 0.80
SetFirstP2IdMethod · 0.80
SetFirstNtupleIdMethod · 0.80
SetNtupleManagerMethod · 0.80
SetFirstH1IdMethod · 0.80
SetFirstH2IdMethod · 0.80
SetFirstH3IdMethod · 0.80
SetFirstP1IdMethod · 0.80

Calls 1

WarnFunction · 0.85

Tested by

no test coverage detected