Import Geant4 11.1.0 source tree
This commit is contained in:
@@ -94,10 +94,14 @@ public:
|
||||
void PrintCrossSectionHtml(const G4VCrossSectionDataSet *cs) const;
|
||||
|
||||
void AddDataSet(G4VCrossSectionDataSet*);
|
||||
void AddDataSet(G4VCrossSectionDataSet*, size_t);
|
||||
void AddDataSet(G4VCrossSectionDataSet*, std::size_t);
|
||||
inline const std::vector<G4VCrossSectionDataSet*>& GetDataSetList() const;
|
||||
|
||||
inline void SetVerboseLevel(G4int value);
|
||||
|
||||
// may be used by special processes
|
||||
inline void SetForcedElement(const G4Element*);
|
||||
|
||||
G4CrossSectionDataStore & operator=
|
||||
(const G4CrossSectionDataStore &right) = delete;
|
||||
G4CrossSectionDataStore(const G4CrossSectionDataStore&) = delete;
|
||||
@@ -113,6 +117,7 @@ private:
|
||||
G4NistManager* nist;
|
||||
const G4Material* currentMaterial = nullptr;
|
||||
const G4ParticleDefinition* matParticle = nullptr;
|
||||
const G4Element* forcedElement = nullptr;
|
||||
G4double matKinEnergy = 0.0;
|
||||
G4double matCrossSection = 0.0;
|
||||
|
||||
@@ -129,6 +134,17 @@ inline void G4CrossSectionDataStore::SetVerboseLevel(G4int value)
|
||||
verboseLevel = value;
|
||||
}
|
||||
|
||||
inline void G4CrossSectionDataStore::SetForcedElement(const G4Element* ptr)
|
||||
{
|
||||
forcedElement = ptr;
|
||||
}
|
||||
|
||||
inline const std::vector<G4VCrossSectionDataSet*>&
|
||||
G4CrossSectionDataStore::GetDataSetList() const
|
||||
{
|
||||
return dataSetList;
|
||||
}
|
||||
|
||||
inline G4double
|
||||
G4CrossSectionDataStore::GetCrossSection(const G4DynamicParticle* dp,
|
||||
const G4Material* mat)
|
||||
|
||||
Reference in New Issue
Block a user