45 #ifndef G4EXTENDEDMATERIAL_HH
46 #define G4EXTENDEDMATERIAL_HH 1
49 #include <unordered_map>
60 std::unique_ptr<G4VMaterialExtension>,
122 {
return fExtensionMap.size(); }
126 G4MaterialExtensionMap::const_iterator
begin()
const {
return fExtensionMap.begin(); }
127 G4MaterialExtensionMap::const_iterator
cbegin()
const {
return fExtensionMap.cbegin(); }
128 G4MaterialExtensionMap::const_iterator
end()
const {
return fExtensionMap.end(); }
129 G4MaterialExtensionMap::const_iterator
cend()
const {
return fExtensionMap.cend(); }
133 void Print(std::ostream& flux)
const;
void RegisterExtension(std::unique_ptr< G4VMaterialExtension > extension)
std::vector< ExP01TrackerHit * > a
static constexpr double STP_Pressure
G4MaterialExtensionMap::const_iterator cbegin() const
G4MaterialExtensionMap::const_iterator begin() const
void Print(std::ostream &flux) const
G4int GetNumberOfExtensions() const
std::unordered_map< G4String, std::unique_ptr< G4VMaterialExtension >, G4MaterialExtensionHash > G4MaterialExtensionMap
G4VMaterialExtension * RetrieveExtension(const G4String &name)
G4MaterialExtensionMap::const_iterator end() const
G4MaterialExtensionMap::const_iterator cend() const
static const G4double NTP_Temperature
virtual ~G4ExtendedMaterial()
std::hash< std::string > G4MaterialExtensionHash
virtual G4bool IsExtended() const
G4ExtendedMaterial(const G4String &name, const G4Material *baseMaterial)