Import Geant4 11.3.0 source tree

This commit is contained in:
Gabriele Cosmo
2024-12-06 11:11:40 +01:00
parent e58e650b32
commit 32390e802b
1984 changed files with 98713 additions and 83996 deletions
@@ -1180,7 +1180,7 @@ namespace G4INCL {
/// \brief Set the vector list of biased vertices on the particle path.
void setBiasCollisionVector(std::vector<G4int> BiasCollisionVector) {
this->theBiasCollisionVector = BiasCollisionVector;
this->setParticleBias(Particle::getBiasFromVector(BiasCollisionVector));
this->setParticleBias(Particle::getBiasFromVector(std::move(BiasCollisionVector)));
}
/** \brief Number of Kaon inside de nucleus
@@ -199,7 +199,7 @@ namespace G4INCL {
for(ParticleIter i = (*this).begin(), e = (*this).end(); i!=e; ++i){
MergedVector = Particle::MergeVectorBias(MergedVector,(*i));
}
return Particle::getBiasFromVector(MergedVector);
return Particle::getBiasFromVector(std::move(MergedVector));
}
std::vector<G4int> ParticleList::getParticleListBiasVector() const {
@@ -316,6 +316,6 @@ namespace G4INCL {
}
void Particle::setINCLBiasVector(std::vector<G4double> NewVector) {
Particle::INCLBiasVector = NewVector;
Particle::INCLBiasVector = std::move(NewVector);
}
}