Import Geant4 11.1.0 source tree
This commit is contained in:
@@ -92,7 +92,7 @@ void G4MCCIndexConversionTable::SetNewIndex(std::size_t index,
|
||||
{
|
||||
// set the index in the current production cut table
|
||||
// for the indicated MCC in the file
|
||||
if (index < vecNewIndex.size()) vecNewIndex[index] = new_value;
|
||||
if (index < vecNewIndex.size()) vecNewIndex[index] = (G4int)new_value;
|
||||
}
|
||||
|
||||
inline
|
||||
|
||||
@@ -91,7 +91,7 @@ class G4ProductionCuts
|
||||
void SetProductionCuts(std::vector<G4double>&);
|
||||
// Set the vector of production cuts in range for all particles
|
||||
|
||||
const std::vector<G4double>& GetProductionCuts() const;
|
||||
const std::vector<G4double>& GetProductionCuts() const;
|
||||
// Get the vector of production cuts in range for all particles
|
||||
|
||||
G4bool IsModified() const;
|
||||
@@ -107,14 +107,7 @@ class G4ProductionCuts
|
||||
protected:
|
||||
|
||||
std::vector<G4double> fRangeCuts;
|
||||
G4bool isModified = true;
|
||||
|
||||
private:
|
||||
|
||||
static G4ThreadLocal G4ParticleDefinition* gammaDef;
|
||||
static G4ThreadLocal G4ParticleDefinition* electDef;
|
||||
static G4ThreadLocal G4ParticleDefinition* positDef;
|
||||
static G4ThreadLocal G4ParticleDefinition* protonDef; // for proton
|
||||
G4bool isModified = true;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user