Import Geant4 11.1.0 source tree
This commit is contained in:
@@ -72,7 +72,7 @@ G4AntiNeutrinoE* G4AntiNeutrinoE::Definition()
|
||||
false, "e"
|
||||
);
|
||||
}
|
||||
theInstance = reinterpret_cast<G4AntiNeutrinoE*>(anInstance);
|
||||
theInstance = static_cast<G4AntiNeutrinoE*>(anInstance);
|
||||
return theInstance;
|
||||
}
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ G4AntiNeutrinoMu* G4AntiNeutrinoMu::Definition()
|
||||
false, "mu"
|
||||
);
|
||||
}
|
||||
theInstance = reinterpret_cast<G4AntiNeutrinoMu*>(anInstance);
|
||||
theInstance = static_cast<G4AntiNeutrinoMu*>(anInstance);
|
||||
return theInstance;
|
||||
}
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ G4AntiNeutrinoTau* G4AntiNeutrinoTau::Definition()
|
||||
false, "tau"
|
||||
);
|
||||
}
|
||||
theInstance = reinterpret_cast<G4AntiNeutrinoTau*>(anInstance);
|
||||
theInstance = static_cast<G4AntiNeutrinoTau*>(anInstance);
|
||||
return theInstance;
|
||||
}
|
||||
|
||||
|
||||
@@ -81,7 +81,7 @@ G4Electron* G4Electron::Definition()
|
||||
anInstance->SetPDGMagneticMoment( muB * 1.00115965218076 );
|
||||
|
||||
}
|
||||
theInstance = reinterpret_cast<G4Electron*>(anInstance);
|
||||
theInstance = static_cast<G4Electron*>(anInstance);
|
||||
return theInstance;
|
||||
}
|
||||
|
||||
|
||||
@@ -87,7 +87,7 @@ G4MuonMinus* G4MuonMinus::Definition()
|
||||
table->Insert(mode);
|
||||
anInstance->SetDecayTable(table);
|
||||
}
|
||||
theInstance = reinterpret_cast<G4MuonMinus*>(anInstance);
|
||||
theInstance = static_cast<G4MuonMinus*>(anInstance);
|
||||
return theInstance;
|
||||
}
|
||||
|
||||
|
||||
@@ -86,7 +86,7 @@ G4MuonPlus* G4MuonPlus::Definition()
|
||||
table->Insert(mode);
|
||||
anInstance->SetDecayTable(table);
|
||||
}
|
||||
theInstance = reinterpret_cast<G4MuonPlus*>(anInstance);
|
||||
theInstance = static_cast<G4MuonPlus*>(anInstance);
|
||||
return theInstance;
|
||||
}
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ G4NeutrinoE* G4NeutrinoE::Definition()
|
||||
false, "e"
|
||||
);
|
||||
}
|
||||
theInstance = reinterpret_cast<G4NeutrinoE*>(anInstance);
|
||||
theInstance = static_cast<G4NeutrinoE*>(anInstance);
|
||||
return theInstance;
|
||||
}
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ G4NeutrinoMu* G4NeutrinoMu::Definition()
|
||||
false, "mu"
|
||||
);
|
||||
}
|
||||
theInstance = reinterpret_cast<G4NeutrinoMu*>(anInstance);
|
||||
theInstance = static_cast<G4NeutrinoMu*>(anInstance);
|
||||
return theInstance;
|
||||
}
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ G4NeutrinoTau* G4NeutrinoTau::Definition()
|
||||
false, "tau"
|
||||
);
|
||||
}
|
||||
theInstance = reinterpret_cast<G4NeutrinoTau*>(anInstance);
|
||||
theInstance = static_cast<G4NeutrinoTau*>(anInstance);
|
||||
return theInstance;
|
||||
}
|
||||
|
||||
|
||||
@@ -81,7 +81,7 @@ G4Positron* G4Positron::Definition()
|
||||
anInstance->SetPDGMagneticMoment( muB * 1.00115965218076 );
|
||||
|
||||
}
|
||||
theInstance = reinterpret_cast<G4Positron*>(anInstance);
|
||||
theInstance = static_cast<G4Positron*>(anInstance);
|
||||
return theInstance;
|
||||
}
|
||||
|
||||
|
||||
@@ -122,7 +122,7 @@ G4TauMinus* G4TauMinus::Definition()
|
||||
|
||||
anInstance->SetDecayTable(table);
|
||||
}
|
||||
theInstance = reinterpret_cast<G4TauMinus*>(anInstance);
|
||||
theInstance = static_cast<G4TauMinus*>(anInstance);
|
||||
return theInstance;
|
||||
}
|
||||
|
||||
|
||||
@@ -121,7 +121,7 @@ G4TauPlus* G4TauPlus::Definition()
|
||||
|
||||
anInstance->SetDecayTable(table);
|
||||
}
|
||||
theInstance = reinterpret_cast<G4TauPlus*>(anInstance);
|
||||
theInstance = static_cast<G4TauPlus*>(anInstance);
|
||||
return theInstance;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user