Import Geant4 11.0.2 source tree
This commit is contained in:
@@ -124,6 +124,7 @@ class G4GDMLParser
|
||||
inline void SetRegionExport(G4bool);
|
||||
inline void SetEnergyCutsExport(G4bool);
|
||||
inline void SetSDExport(G4bool);
|
||||
inline void SetReverseSearch(G4bool);
|
||||
|
||||
inline G4int GetMaxExportLevel() const; // Manage max number of levels
|
||||
inline void SetMaxExportLevel(G4int); // to export
|
||||
|
||||
@@ -229,6 +229,11 @@ inline void G4GDMLParser::SetSDExport(G4bool flag)
|
||||
writer->SetSDExport(flag);
|
||||
}
|
||||
|
||||
inline void G4GDMLParser::SetReverseSearch(G4bool flag)
|
||||
{
|
||||
reader->SetReverseSearch(flag);
|
||||
}
|
||||
|
||||
inline G4int G4GDMLParser::GetMaxExportLevel() const
|
||||
{
|
||||
return writer->GetMaxExportLevel();
|
||||
|
||||
@@ -78,6 +78,9 @@ class G4GDMLReadDefine : public G4GDMLRead
|
||||
|
||||
virtual void DefineRead(const xercesc::DOMElement* const);
|
||||
|
||||
inline void SetReverseSearch(G4bool flag)
|
||||
{ reverseSearch = flag; }
|
||||
|
||||
protected:
|
||||
|
||||
G4GDMLReadDefine();
|
||||
@@ -97,7 +100,7 @@ class G4GDMLReadDefine : public G4GDMLRead
|
||||
void ExpressionRead(const xercesc::DOMElement* const);
|
||||
|
||||
protected:
|
||||
|
||||
G4bool reverseSearch = false;
|
||||
std::map<G4String, G4double> quantityMap;
|
||||
std::map<G4String, G4ThreeVector> positionMap;
|
||||
std::map<G4String, G4ThreeVector> rotationMap;
|
||||
|
||||
Reference in New Issue
Block a user