Import Geant4 7.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 11:11:55 +02:00
parent e083ffb441
commit 516dbf1a58
5914 changed files with 202605 additions and 71141 deletions
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ASCIITree.hh,v 1.5 2001/07/11 10:09:06 gunter Exp $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
// $Id: G4ASCIITree.hh,v 1.6 2004/09/13 20:52:50 johna Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
//
// John Allison 5th April 2001
@@ -42,11 +42,14 @@ public:
virtual ~G4ASCIITree ();
G4VSceneHandler* CreateSceneHandler (const G4String& name = "");
G4VViewer* CreateViewer (G4VSceneHandler&, const G4String& name = "");
void SetVerbosity(G4int verbosity) {fVerbosity = verbosity;}
G4int GetVerbosity() const {return fVerbosity;}
G4int GetVerbosity() const {return fVerbosity;}
G4String GetOutFileName () const {return fOutFileName;}
void SetVerbosity (G4int verbosity) {fVerbosity = verbosity;}
void SetOutFileName (G4String name) {fOutFileName = name;}
protected:
G4int fVerbosity;
G4ASCIITreeMessenger* fpMessenger;
G4String fOutFileName;
};
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ASCIITreeMessenger.hh,v 1.4 2001/07/11 10:09:06 gunter Exp $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
// $Id: G4ASCIITreeMessenger.hh,v 1.5 2004/09/13 20:52:52 johna Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
//
// John Allison 5th April 2001
@@ -35,9 +35,10 @@
#include "G4UImessenger.hh"
class G4ASCIITree;
class G4UIcommand;
class G4UIcmdWithAnInteger;
class G4ASCIITree;
class G4UIcmdWithAString;
class G4ASCIITreeMessenger: public G4UImessenger {
public:
@@ -48,7 +49,9 @@ public:
private:
G4ASCIITree* fpASCIITree;
G4UIcommand* fpDirectory;
G4UIcommand* fpDirectorySet;
G4UIcmdWithAnInteger* fpCommandVerbose;
G4UIcmdWithAString* fpCommandSetOutFile;
};
#endif
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4ASCIITreeSceneHandler.hh,v 1.11 2003/06/16 17:13:46 gunter Exp $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
// $Id: G4ASCIITreeSceneHandler.hh,v 1.12 2004/09/13 20:57:10 johna Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
//
// John Allison 5th April 2001
@@ -36,6 +36,8 @@
#include "G4VTreeSceneHandler.hh"
#include <set>
#include <iostream>
#include <fstream>
class G4VPhysicalVolume;
@@ -49,7 +51,14 @@ public:
protected:
virtual void RequestPrimitives(const G4VSolid&);
// Overrides G4VScenehandler::RequestPrimitives and implements dump
// of leaves of the geometry heirachy.
// of the geometry hierarchy.
void WriteHeader (std::ostream &);
G4VPhysicalVolume* fpLastPV; // Records last physical volume.
G4int fPVPCount; // Counts parameterisations.
std::ostream* fpOutFile; // Pointer to output file.
std::ofstream fOutFile; // Actual output file (if not G4cout)..
std::set<G4LogicalVolume*,std::less<G4LogicalVolume*> > fLVSet;
typedef
std::set<G4LogicalVolume*,std::less<G4LogicalVolume*> >::iterator
@@ -22,7 +22,7 @@
//
//
// $Id: G4ASCIITreeViewer.hh,v 1.4 2001/07/11 10:09:06 gunter Exp $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
//
// John Allison 5th April 2001
@@ -84,7 +84,7 @@ public:
protected:
void RequestPrimitives(const G4VSolid&);
// Overrides G4VScenehandler::RequestPrimitives and implements dump
// of leaves of the geometry heirachy.
// of the geometry hierarchy.
std::set<G4LogicalVolume*,std::less<G4LogicalVolume*> > fLVSet;
typedef
std::set<G4LogicalVolume*,std::less<G4LogicalVolume*> >::iterator
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4VTree.hh,v 1.4 2001/07/11 10:09:07 gunter Exp $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
//
// John Allison 5th April 2001
@@ -21,14 +21,14 @@
// ********************************************************************
//
//
// $Id: G4VTreeSceneHandler.hh,v 1.9 2003/05/30 13:01:22 johna Exp $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
// $Id: G4VTreeSceneHandler.hh,v 1.12 2004/11/11 16:03:41 johna Exp $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
//
// John Allison 5th April 2001
// A base class for a scene handler to dump geometry hierarchy.
// In the derived class, override G4VScenehandler::RequestPrimitives
// to implement dump of the "leaves" of the geometry heirachy.
// to implement dump of the geometry hierarchy.
#ifndef G4VTREESCENEHANDLER_HH
#define G4VTREESCENEHANDLER_HH
@@ -48,10 +48,6 @@ public:
void PreAddThis (const G4Transform3D& objectTransformation,
const G4VisAttributes&);
void PostAddThis ();
void EstablishSpecials (G4PhysicalVolumeModel&);
G4int GetFoundDepth () const;
G4VPhysicalVolume* GetFoundVolume () const;
const G4Transform3D& GetFoundTransformation () const;
////////////////////////////////////////////////////////////////
// Functions not used but required by the abstract interface.
@@ -74,12 +70,9 @@ public:
protected:
// In the derived class, override G4VScenehandler::RequestPrimitives
// to implement dump of the "leaves" of the geometry heirachy.
// to implement dump of the geometry hierarchy.
static G4int fSceneIdCount; // Counter for Tree scene handlers.
static G4int fSceneCount; // No. of extanct scene handlers.
G4int fCurrentDepth; // Current depth of geom. hierarchy.
G4VPhysicalVolume* fpCurrentPV; // Current physical volume.
G4LogicalVolume* fpCurrentLV; // Current logical volume.
const G4Transform3D* fpCurrentObjectTransformation;
};
@@ -22,7 +22,7 @@
//
//
// $Id: G4VTreeSceneHandler.icc,v 1.4 2001/07/11 10:09:07 gunter Exp $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
//
// John Allison 18th May 2000
@@ -22,7 +22,7 @@
//
//
// $Id: G4VTreeViewer.hh,v 1.4 2001/07/11 10:09:07 gunter Exp $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
// GEANT4 tag $Name: geant4-07-00-cand-01 $
//
//
// John Allison 5th April 2001