Import Geant4 10.3.0.beta source tree
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4GDMLMessenger.hh 89381 2015-04-08 15:32:47Z gcosmo $
|
||||
// $Id: G4GDMLMessenger.hh 96673 2016-04-29 12:08:20Z gcosmo $
|
||||
//
|
||||
//
|
||||
// class G4GDMLMessenger
|
||||
@@ -73,6 +73,7 @@ class G4GDMLMessenger : public G4UImessenger
|
||||
G4UIcmdWithoutParameter* ClearCmd;
|
||||
G4UIcmdWithABool* RegionCmd;
|
||||
G4UIcmdWithABool* EcutsCmd;
|
||||
G4UIcmdWithABool* SDCmd;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4GDMLParser.hh 89698 2015-04-27 13:25:23Z gcosmo $
|
||||
// $Id: G4GDMLParser.hh 96673 2016-04-29 12:08:20Z gcosmo $
|
||||
//
|
||||
//
|
||||
// class G4GDMLParser
|
||||
@@ -126,6 +126,7 @@ class G4GDMLParser
|
||||
inline void SetOverlapCheck(G4bool);
|
||||
inline void SetRegionExport(G4bool);
|
||||
inline void SetEnergyCutsExport(G4bool);
|
||||
inline void SetSDExport(G4bool);
|
||||
|
||||
inline void Clear(); // Clears the evaluator
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4GDMLParser.icc 89698 2015-04-27 13:25:23Z gcosmo $
|
||||
// $Id: G4GDMLParser.icc 96673 2016-04-29 12:08:20Z gcosmo $
|
||||
//
|
||||
//
|
||||
// class G4GDMLParser inline methods
|
||||
@@ -208,6 +208,11 @@ inline void G4GDMLParser::SetEnergyCutsExport(G4bool flag)
|
||||
writer->SetEnergyCutsExport(flag);
|
||||
}
|
||||
|
||||
inline void G4GDMLParser::SetSDExport(G4bool flag)
|
||||
{
|
||||
writer->SetSDExport(flag);
|
||||
}
|
||||
|
||||
inline void G4GDMLParser::Clear()
|
||||
{
|
||||
reader->Clear();
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4GDMLReadSolids.hh 82922 2014-07-18 15:56:35Z gcosmo $
|
||||
// $Id: G4GDMLReadSolids.hh 96133 2016-03-16 22:21:17Z gcosmo $
|
||||
//
|
||||
//
|
||||
// class G4GDMLReadSolids
|
||||
@@ -87,6 +87,7 @@ class G4GDMLReadSolids : public G4GDMLReadMaterials
|
||||
void GenericPolyhedraRead(const xercesc::DOMElement* const);
|
||||
G4QuadrangularFacet* QuadrangularRead(const xercesc::DOMElement* const);
|
||||
void ReflectedSolidRead(const xercesc::DOMElement* const);
|
||||
void ScaledSolidRead(const xercesc::DOMElement* const);
|
||||
G4ExtrudedSolid::ZSection SectionRead(const xercesc::DOMElement* const,G4double);
|
||||
void SphereRead(const xercesc::DOMElement* const);
|
||||
void TessellatedRead(const xercesc::DOMElement* const);
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4GDMLWriteSolids.hh 82922 2014-07-18 15:56:35Z gcosmo $
|
||||
// $Id: G4GDMLWriteSolids.hh 96133 2016-03-16 22:21:17Z gcosmo $
|
||||
//
|
||||
//
|
||||
// class G4GDMLWriteSolids
|
||||
@@ -46,6 +46,7 @@
|
||||
#include "G4MultiUnion.hh"
|
||||
|
||||
class G4BooleanSolid;
|
||||
class G4ScaledSolid;
|
||||
class G4Box;
|
||||
class G4Cons;
|
||||
class G4EllipticalCone;
|
||||
@@ -108,6 +109,7 @@ class G4GDMLWriteSolids : public G4GDMLWriteMaterials
|
||||
|
||||
void MultiUnionWrite(xercesc::DOMElement* solElement, const G4MultiUnion* const);
|
||||
void BooleanWrite(xercesc::DOMElement*, const G4BooleanSolid* const);
|
||||
void ScaledWrite(xercesc::DOMElement*, const G4ScaledSolid* const);
|
||||
void BoxWrite(xercesc::DOMElement*, const G4Box* const);
|
||||
void ConeWrite(xercesc::DOMElement*, const G4Cons* const);
|
||||
void ElconeWrite(xercesc::DOMElement*, const G4EllipticalCone* const);
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4GDMLWriteStructure.hh 89493 2015-04-14 09:22:54Z gcosmo $
|
||||
// $Id: G4GDMLWriteStructure.hh 96677 2016-04-29 12:20:20Z gcosmo $
|
||||
//
|
||||
//
|
||||
// class G4GDMLWriteStructure
|
||||
@@ -65,6 +65,7 @@ class G4GDMLWriteStructure : public G4GDMLWriteParamvol
|
||||
void AddVolumeAuxiliary(G4GDMLAuxStructType myaux, const G4LogicalVolume* const);
|
||||
|
||||
void SetEnergyCutsExport(G4bool);
|
||||
void SetSDExport(G4bool);
|
||||
|
||||
protected:
|
||||
|
||||
@@ -81,6 +82,7 @@ class G4GDMLWriteStructure : public G4GDMLWriteParamvol
|
||||
const G4LogicalSkinSurface* GetSkinSurface(const G4LogicalVolume* const);
|
||||
G4bool FindOpticalSurface(const G4SurfaceProperty*);
|
||||
void ExportEnergyCuts(const G4LogicalVolume* const);
|
||||
void ExportSD(const G4LogicalVolume* const);
|
||||
|
||||
protected:
|
||||
|
||||
@@ -94,6 +96,7 @@ 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
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user