Import Geant4 11.1.0 source tree
This commit is contained in:
@@ -73,7 +73,7 @@ G4ChargedGeantino* G4ChargedGeantino::Definition()
|
||||
false, "geantino", 0
|
||||
);
|
||||
}
|
||||
theInstance = reinterpret_cast<G4ChargedGeantino*>(anInstance);
|
||||
theInstance = static_cast<G4ChargedGeantino*>(anInstance);
|
||||
return theInstance;
|
||||
}
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ G4Gamma* G4Gamma::Definition()
|
||||
false, "photon", 22
|
||||
);
|
||||
}
|
||||
theInstance = reinterpret_cast<G4Gamma*>(anInstance);
|
||||
theInstance = static_cast<G4Gamma*>(anInstance);
|
||||
return theInstance;
|
||||
}
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ G4Geantino* G4Geantino::Definition()
|
||||
false, "geantino", 0
|
||||
);
|
||||
}
|
||||
theInstance = reinterpret_cast<G4Geantino*>(anInstance);
|
||||
theInstance = static_cast<G4Geantino*>(anInstance);
|
||||
return theInstance;
|
||||
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ G4OpticalPhoton* G4OpticalPhoton::Definition()
|
||||
false, "photon", 0
|
||||
);
|
||||
}
|
||||
theInstance = reinterpret_cast<G4OpticalPhoton*>(anInstance);
|
||||
theInstance = static_cast<G4OpticalPhoton*>(anInstance);
|
||||
return theInstance;
|
||||
}
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ G4PhononLong* G4PhononLong::Definition()
|
||||
false, "phononL", 0
|
||||
);
|
||||
}
|
||||
theInstance = reinterpret_cast<G4PhononLong*>(anInstance);
|
||||
theInstance = static_cast<G4PhononLong*>(anInstance);
|
||||
return theInstance;
|
||||
}
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@ G4PhononTransFast* G4PhononTransFast::Definition()
|
||||
false, "phononTF", 0
|
||||
);
|
||||
}
|
||||
theInstance = reinterpret_cast<G4PhononTransFast*>(anInstance);
|
||||
theInstance = static_cast<G4PhononTransFast*>(anInstance);
|
||||
return theInstance;
|
||||
}
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@ G4PhononTransSlow* G4PhononTransSlow::Definition()
|
||||
false, "phononTS", 0
|
||||
);
|
||||
}
|
||||
theInstance = reinterpret_cast<G4PhononTransSlow*>(anInstance);
|
||||
theInstance = static_cast<G4PhononTransSlow*>(anInstance);
|
||||
return theInstance;
|
||||
}
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ G4UnknownParticle* G4UnknownParticle::Definition()
|
||||
false, "geantino", 0
|
||||
);
|
||||
}
|
||||
theInstance = reinterpret_cast<G4UnknownParticle*>(anInstance);
|
||||
theInstance = static_cast<G4UnknownParticle*>(anInstance);
|
||||
return theInstance;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user