Import Geant4 10.4.0.beta source tree
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4GDMLParser.hh 96673 2016-04-29 12:08:20Z gcosmo $
|
||||
// $Id: G4GDMLParser.hh 104688 2017-06-12 12:16:28Z gcosmo $
|
||||
//
|
||||
//
|
||||
// class G4GDMLParser
|
||||
@@ -128,6 +128,9 @@ class G4GDMLParser
|
||||
inline void SetEnergyCutsExport(G4bool);
|
||||
inline void SetSDExport(G4bool);
|
||||
|
||||
inline G4int GetMaxExportLevel() const; // Manage max number of levels
|
||||
inline void SetMaxExportLevel(G4int); // to export
|
||||
|
||||
inline void Clear(); // Clears the evaluator
|
||||
|
||||
// Methods for Writer
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4GDMLParser.icc 96673 2016-04-29 12:08:20Z gcosmo $
|
||||
// $Id: G4GDMLParser.icc 104688 2017-06-12 12:16:28Z gcosmo $
|
||||
//
|
||||
//
|
||||
// class G4GDMLParser inline methods
|
||||
@@ -213,6 +213,16 @@ inline void G4GDMLParser::SetSDExport(G4bool flag)
|
||||
writer->SetSDExport(flag);
|
||||
}
|
||||
|
||||
inline G4int G4GDMLParser::GetMaxExportLevel() const
|
||||
{
|
||||
return writer->GetMaxExportLevel();
|
||||
}
|
||||
|
||||
inline void G4GDMLParser::SetMaxExportLevel(G4int level)
|
||||
{
|
||||
writer->SetMaxExportLevel(level);
|
||||
}
|
||||
|
||||
inline void G4GDMLParser::Clear()
|
||||
{
|
||||
reader->Clear();
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4GDMLReadSolids.hh 96133 2016-03-16 22:21:17Z gcosmo $
|
||||
// $Id: G4GDMLReadSolids.hh 103265 2017-03-23 11:14:00Z gcosmo $
|
||||
//
|
||||
//
|
||||
// class G4GDMLReadSolids
|
||||
@@ -49,6 +49,7 @@ class G4VSolid;
|
||||
class G4QuadrangularFacet;
|
||||
class G4TriangularFacet;
|
||||
class G4SurfaceProperty;
|
||||
class G4OpticalSurface;
|
||||
|
||||
class G4GDMLReadSolids : public G4GDMLReadMaterials
|
||||
{
|
||||
@@ -107,6 +108,7 @@ class G4GDMLReadSolids : public G4GDMLReadMaterials
|
||||
zplaneType ZplaneRead(const xercesc::DOMElement* const);
|
||||
rzPointType RZPointRead(const xercesc::DOMElement* const);
|
||||
void OpticalSurfaceRead(const xercesc::DOMElement* const);
|
||||
void PropertyRead(const xercesc::DOMElement* const,G4OpticalSurface*);
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4GDMLWriteSolids.hh 96133 2016-03-16 22:21:17Z gcosmo $
|
||||
// $Id: G4GDMLWriteSolids.hh 103265 2017-03-23 11:14:00Z gcosmo $
|
||||
//
|
||||
//
|
||||
// class G4GDMLWriteSolids
|
||||
@@ -141,6 +141,8 @@ class G4GDMLWriteSolids : public G4GDMLWriteMaterials
|
||||
void RZPointWrite(xercesc::DOMElement*, const G4double&,const G4double&);
|
||||
void OpticalSurfaceWrite(xercesc::DOMElement*,
|
||||
const G4OpticalSurface* const);
|
||||
void PropertyWrite(xercesc::DOMElement*, const G4OpticalSurface* const);
|
||||
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4GDMLWriteStructure.hh 96677 2016-04-29 12:20:20Z gcosmo $
|
||||
// $Id: G4GDMLWriteStructure.hh 104688 2017-06-12 12:16:28Z gcosmo $
|
||||
//
|
||||
//
|
||||
// class G4GDMLWriteStructure
|
||||
@@ -67,6 +67,9 @@ class G4GDMLWriteStructure : public G4GDMLWriteParamvol
|
||||
void SetEnergyCutsExport(G4bool);
|
||||
void SetSDExport(G4bool);
|
||||
|
||||
G4int GetMaxExportLevel() const;
|
||||
void SetMaxExportLevel(G4int);
|
||||
|
||||
protected:
|
||||
|
||||
void DivisionvolWrite(xercesc::DOMElement*, const G4PVDivision* const);
|
||||
@@ -96,7 +99,9 @@ class G4GDMLWriteStructure : public G4GDMLWriteParamvol
|
||||
std::vector<const G4OpticalSurface*> opt_vec;
|
||||
G4ReflectionFactory* reflFactory;
|
||||
G4bool cexport; // Flag for optional export of energy cuts per volume
|
||||
G4bool sdexport; // Flag for optional export of SD per volume
|
||||
G4bool sdexport; // Flag for optional export of SD per volume
|
||||
G4int maxLevel; // Maximum number of levels to export
|
||||
static G4int levelNo; // Counter for level being exported
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user