Import Geant4 5.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 10:28:22 +02:00
parent fbd4999cf7
commit 4aea781e80
5454 changed files with 223141 additions and 67347 deletions
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4AttDef.hh,v 1.3 2002/10/24 14:35:14 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
#ifndef G4ATTDEF_HH
#define G4ATTDEF_HH
@@ -21,20 +21,20 @@
// ********************************************************************
//
//
// $Id: G4AttDefStore.hh,v 1.3 2002/11/20 14:18:34 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4AttDefStore.hh,v 1.4 2003/06/16 16:55:05 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
#ifndef G4ATTDEFSTORE_HH
#define G4ATTDEFSTORE_HH
#include "globals.hh"
#include "g4std/map"
#include <map>
class G4AttDef;
class G4AttDefStore{
public:
static G4std::map<G4String,G4AttDef>*
static std::map<G4String,G4AttDef>*
GetInstance(G4String storeName,bool& isNew);
// Returns a pointer to the named store and isNew is true if store is new.
protected:
@@ -43,7 +43,7 @@ protected:
private:
G4AttDefStore(const G4AttDefStore&);
G4AttDefStore& operator=(const G4AttDefStore&);
static G4std::map<G4String,G4std::map<G4String,G4AttDef>*> m_stores;
static std::map<G4String,std::map<G4String,G4AttDef>*> m_stores;
};
#endif //G4ATTDEFSTORE_H
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4AttValue.hh,v 1.3 2002/10/24 14:35:20 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
#ifndef G4ATTVALUE_HH
#define G4ATTVALUE_HH
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4Circle.hh,v 1.6 2001/07/11 10:01:01 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 17/11/96.
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4Color.hh,v 1.4 2001/07/11 10:01:01 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 20th October 1996
+4 -4
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Colour.hh,v 1.7 2002/10/23 12:03:38 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4Colour.hh,v 1.8 2003/06/16 16:55:06 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 20th October 1996
@@ -71,10 +71,10 @@
#define G4COLOUR_HH
#include "globals.hh"
#include "g4std/iostream"
#include <iostream>
class G4Colour {
friend G4std::ostream& operator << (G4std::ostream& os, const G4Colour& c);
friend std::ostream& operator << (std::ostream& os, const G4Colour& c);
public: // With description
+5 -5
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4NURBS.hh,v 1.7 2003/04/03 15:31:05 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4NURBS.hh,v 1.8 2003/06/16 16:55:07 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// Olivier Crumeyrolle 12 September 1996
@@ -336,7 +336,7 @@ class G4NURBS : public G4VVisPrim
// external representation for t_KnotVectorGenFlag
// as a << overload.
// (used in errors report)
friend G4std::ostream & operator << (G4std::ostream & inout_OutStream,
friend std::ostream & operator << (std::ostream & inout_OutStream,
t_KnotVectorGenFlag in_KVGFlag);
G4NURBS (t_order in_Uorder, t_order in_Vorder,
@@ -407,7 +407,7 @@ class G4NURBS : public G4VVisPrim
};
// external representation for t_KnotVectorGenFlag
G4std::ostream & operator << (G4std::ostream & inout_OutStream,
std::ostream & operator << (std::ostream & inout_OutStream,
G4NURBS::t_KnotVectorGenFlag in_KVGFlag);
@@ -415,7 +415,7 @@ G4std::ostream & operator << (G4std::ostream & inout_OutStream,
// writted with public access functions
// do not depends on protected part
G4std::ostream & operator << (G4std::ostream & inout_outStream,
std::ostream & operator << (std::ostream & inout_outStream,
const G4NURBS & in_kNurb);
/***********************************************************************
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4NURBSbox.hh,v 1.7 2003/04/03 15:31:06 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// Olivier Crumeyrolle 12 September 1996
@@ -22,7 +22,7 @@
//
//
// $Id: G4NURBScylinder.hh,v 1.7 2003/04/03 15:31:06 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// Olivier Crumeyrolle 12 September 1996
@@ -22,7 +22,7 @@
//
//
// $Id: G4NURBShexahedron.hh,v 1.7 2003/04/03 15:31:06 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
// Hexa hedron builder prototype
// OC 17 9 96
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4NURBStube.hh,v 1.7 2003/04/03 15:31:06 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// Olivier Crumeyrolle 12 September 1996
@@ -22,7 +22,7 @@
//
//
// $Id: G4NURBStubesector.hh,v 1.6 2003/04/03 15:31:06 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// Olivier Crumeyrolle 12 September 1996
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4PlacedPolyhedron.hh,v 1.9 2001/07/11 10:01:02 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4PlacedPolyhedron.hh,v 1.10 2003/06/16 16:55:08 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
// Class Description:
@@ -36,7 +36,7 @@
#include "G4Polyhedron.hh"
#include "G4Transform3D.hh"
#include "g4std/vector"
#include <vector>
class G4PlacedPolyhedron {
@@ -68,6 +68,6 @@ private:
};
typedef G4std::vector<G4PlacedPolyhedron> G4PlacedPolyhedronList;
typedef std::vector<G4PlacedPolyhedron> G4PlacedPolyhedronList;
#endif /* G4PLACEDPOLYHEDRON_HH */
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Point3DList.hh,v 1.10 2001/08/20 23:28:42 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4Point3DList.hh,v 1.11 2003/06/16 16:55:09 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison July 1995
@@ -34,17 +34,17 @@
#ifndef G4POINT3DLIST_HH
#define G4POINT3DLIST_HH
#include "g4std/vector"
#include <vector>
#include "G4Point3D.hh"
#include "g4std/iostream"
#include <iostream>
class G4Point3DList: public G4std::vector<G4Point3D> {
class G4Point3DList: public std::vector<G4Point3D> {
friend G4std::ostream& operator << (G4std::ostream& os, const G4Point3DList& points);
friend std::ostream& operator << (std::ostream& os, const G4Point3DList& points);
public:
typedef G4std::vector<G4Point3D>::iterator iterator;
typedef std::vector<G4Point3D>::iterator iterator;
virtual ~G4Point3DList();
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4Polyhedron.hh,v 1.10 2001/07/11 10:01:02 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
#ifndef G4POLYHEDRON_HH
#define G4POLYHEDRON_HH
+3 -3
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Polyline.hh,v 1.9 2001/08/20 23:28:43 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4Polyline.hh,v 1.10 2003/06/16 16:55:10 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison July 1995
@@ -44,7 +44,7 @@
class G4Polyline: public G4VVisPrim, public G4Point3DList {
friend G4std::ostream& operator << (G4std::ostream& os, const G4Polyline& line);
friend std::ostream& operator << (std::ostream& os, const G4Polyline& line);
public: // With description
+3 -3
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Polymarker.hh,v 1.7 2001/07/11 10:01:03 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4Polymarker.hh,v 1.8 2003/06/16 16:55:11 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison November 1996
@@ -42,7 +42,7 @@ class G4Polymarker: public G4VMarker, public G4Point3DList {
public: // With description
friend G4std::ostream& operator << (G4std::ostream& os, const G4Polymarker& marker);
friend std::ostream& operator << (std::ostream& os, const G4Polymarker& marker);
enum MarkerType {line, dots, circles, squares};
G4Polymarker ();
virtual ~G4Polymarker ();
@@ -22,7 +22,7 @@
//
//
// $Id: G4Polymarker.icc,v 1.3 2001/07/11 10:01:03 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison November 1996
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4Scale.hh,v 1.5 2002/11/27 12:24:01 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 21st July 2001.
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4Scale.icc,v 1.2 2001/07/24 21:41:42 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 21st July 2001.
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4Square.hh,v 1.5 2001/07/11 10:01:03 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 17/11/96.
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4Square.icc,v 1.3 2001/07/11 10:01:03 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 17/11/96.
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4Text.hh,v 1.7 2001/07/11 10:01:03 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 17/11/96.
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4Text.icc,v 1.3 2001/07/11 10:01:03 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 17/11/96.
+3 -3
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VMarker.hh,v 1.8 2002/11/27 12:23:20 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4VMarker.hh,v 1.9 2003/06/16 16:55:12 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// G4VMarker - base class for markers - circles, squares, etc.
@@ -88,7 +88,7 @@
class G4VMarker: public G4VVisPrim {
friend G4std::ostream& operator << (G4std::ostream& os, const G4VMarker& marker);
friend std::ostream& operator << (std::ostream& os, const G4VMarker& marker);
public: // With description
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4VMarker.icc,v 1.6 2001/07/11 10:01:04 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
+4 -4
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VVisPrim.hh,v 1.8 2001/07/11 10:01:04 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4VVisPrim.hh,v 1.9 2003/06/16 16:55:13 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison August 1995
@@ -36,13 +36,13 @@
#define G4VVISPRIM_HH
#include "G4Visible.hh"
#include "g4std/iostream"
#include <iostream>
class G4VisAttributes;
class G4VVisPrim: public G4Visible {
friend G4std::ostream& operator << (G4std::ostream& os, const G4VVisPrim& prim);
friend std::ostream& operator << (std::ostream& os, const G4VVisPrim& prim);
public: // With description
+10 -10
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VisAttributes.hh,v 1.10 2002/11/20 14:18:34 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4VisAttributes.hh,v 1.11 2003/06/16 16:55:14 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 23rd October 1996
@@ -49,7 +49,7 @@
#define __G4VISATTRIBUTES_HH__
#include "globals.hh"
#include "g4std/vector"
#include <vector>
#include "G4Colour.hh"
#include "G4Color.hh"
@@ -59,7 +59,7 @@ class G4AttDef;
class G4VisAttributes {
friend G4std::ostream& operator << (G4std::ostream& os, const G4VisAttributes& a);
friend std::ostream& operator << (std::ostream& os, const G4VisAttributes& a);
public: // With description
@@ -86,8 +86,8 @@ public: // With description
G4double GetLineWidth () const;
G4bool IsForceDrawingStyle () const;
ForcedDrawingStyle GetForcedDrawingStyle () const;
const G4std::vector<G4AttValue>* GetAttValues () const;
const G4std::vector<G4AttDef>* GetAttDefs () const;
const std::vector<G4AttValue>* GetAttValues () const;
const std::vector<G4AttDef>* GetAttDefs () const;
void SetVisibility (G4bool);
void SetDaughtersInvisible (G4bool);
@@ -101,8 +101,8 @@ public: // With description
void SetLineWidth (G4double);
void SetForceWireframe (G4bool);
void SetForceSolid (G4bool);
void SetAttValues (const G4std::vector<G4AttValue>*);
void SetAttDefs (const G4std::vector<G4AttDef>*);
void SetAttValues (const std::vector<G4AttValue>*);
void SetAttDefs (const std::vector<G4AttDef>*);
private:
@@ -114,8 +114,8 @@ private:
// pixels for screen, 0.1 mm for paper.
G4bool fForceDrawingStyle; // To switch on forced drawing style.
ForcedDrawingStyle fForcedStyle; // Value of forced drawing style.
const G4std::vector<G4AttValue>* fAttValues; // For picking, etc.
const G4std::vector<G4AttDef>* fAttDefs; // Corresponding definitions.
const std::vector<G4AttValue>* fAttValues; // For picking, etc.
const std::vector<G4AttDef>* fAttDefs; // Corresponding definitions.
};
#include "G4VisAttributes.icc"
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VisAttributes.icc,v 1.5 2002/10/24 14:36:40 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4VisAttributes.icc,v 1.6 2003/06/16 16:55:15 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 18th November 1996
@@ -53,12 +53,12 @@ G4VisAttributes::GetForcedDrawingStyle () const {
return fForcedStyle;
}
inline const G4std::vector<G4AttValue>*
inline const std::vector<G4AttValue>*
G4VisAttributes::GetAttValues () const {
return fAttValues;
}
inline const G4std::vector<G4AttDef>* G4VisAttributes::GetAttDefs () const {
inline const std::vector<G4AttDef>* G4VisAttributes::GetAttDefs () const {
return fAttDefs;
}
@@ -105,11 +105,11 @@ inline void G4VisAttributes::SetForceSolid (G4bool force) {
}
inline void G4VisAttributes::SetAttValues
(const G4std::vector<G4AttValue>* attValues){
(const std::vector<G4AttValue>* attValues){
fAttValues = attValues;
}
inline void G4VisAttributes::SetAttDefs
(const G4std::vector<G4AttDef>* attDefs) {
(const std::vector<G4AttDef>* attDefs) {
fAttDefs = attDefs;
}
+3 -3
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VisExtent.hh,v 1.6 2001/07/24 21:39:43 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4VisExtent.hh,v 1.7 2003/06/16 16:55:16 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// A.Walkden 28/11/95
@@ -74,7 +74,7 @@ public: // With description
void SetYmax (G4double ymax);
void SetZmin (G4double zmin);
void SetZmax (G4double zmax);
friend G4std::ostream& operator << (G4std::ostream& os, const G4VisExtent& e);
friend std::ostream& operator << (std::ostream& os, const G4VisExtent& e);
private:
G4double fXmin, fXmax, fYmin, fYmax, fZmin, fZmax;
+4 -4
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Visible.hh,v 1.7 2001/07/11 10:01:06 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4Visible.hh,v 1.8 2003/06/16 16:55:17 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 30th October 1996
@@ -39,13 +39,13 @@
#define G4VISIBLE_HH
#include "globals.hh"
#include "g4std/iostream"
#include <iostream>
class G4VisAttributes;
class G4Visible {
friend G4std::ostream& operator << (G4std::ostream& os, const G4Visible& v);
friend std::ostream& operator << (std::ostream& os, const G4Visible& v);
public: // With description
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4Visible.icc,v 1.4 2001/07/11 10:01:06 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 30th October 1996
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: HepPolyhedron.h,v 1.12 2002/11/20 14:18:34 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// Class Description:
+7 -7
View File
@@ -21,23 +21,23 @@
// ********************************************************************
//
//
// $Id: G4AttDefStore.cc,v 1.2 2002/10/28 11:13:08 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4AttDefStore.cc,v 1.3 2003/06/16 16:55:18 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
#include "G4AttDefStore.hh"
#include "G4AttDef.hh"
G4std::map<G4String,G4std::map<G4String,G4AttDef>*> G4AttDefStore::m_stores;
std::map<G4String,std::map<G4String,G4AttDef>*> G4AttDefStore::m_stores;
G4std::map<G4String,G4AttDef>*
std::map<G4String,G4AttDef>*
G4AttDefStore::GetInstance(G4String storeName,bool& isNew) {
G4std::map<G4String,G4AttDef>* store;
G4std::map<G4String,G4std::map<G4String,G4AttDef>*>::iterator iStore =
std::map<G4String,G4AttDef>* store;
std::map<G4String,std::map<G4String,G4AttDef>*>::iterator iStore =
m_stores.find(storeName);
if (iStore == m_stores.end()) {
isNew = true;
store = new G4std::map<G4String,G4AttDef>;
store = new std::map<G4String,G4AttDef>;
m_stores[storeName] = store;
}
else {
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4Circle.cc,v 1.4 2001/07/11 10:01:07 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
+3 -3
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Colour.cc,v 1.4 2001/07/11 10:01:07 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4Colour.cc,v 1.5 2003/06/16 16:55:19 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 20th October 1996
@@ -30,7 +30,7 @@
#include "G4Colour.hh"
#include "G4ios.hh"
G4std::ostream& operator << (G4std::ostream& os, const G4Colour& c) {
std::ostream& operator << (std::ostream& os, const G4Colour& c) {
return os << '(' << c.red << ',' << c.green << ',' << c.blue
<< ',' << c.alpha << ')';
}
+4 -4
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4NURBS.cc,v 1.6 2003/04/03 15:31:06 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4NURBS.cc,v 1.7 2003/06/16 16:55:20 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// Olivier Crumeyrolle 12 September 1996
@@ -51,7 +51,7 @@ G4VVisPrim & G4NURBS::operator = (const G4VVisPrim &right)
return G4VVisPrim::operator = (right);
}
G4std::ostream & operator << (G4std::ostream & inout_outStream,
std::ostream & operator << (std::ostream & inout_outStream,
const G4NURBS & in_kNurb)
{
inout_outStream
@@ -374,7 +374,7 @@ G4bool G4NURBS::MakeKnotVector(t_Dir & io_d, t_KnotVectorGenFlag in_KVGFlag)
}
G4std::ostream & operator << (G4std::ostream & io_ostr,
std::ostream & operator << (std::ostream & io_ostr,
G4NURBS::t_KnotVectorGenFlag in_f)
{
switch (in_f)
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4NURBSbox.cc,v 1.5 2003/04/03 15:31:06 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// Olivier Crumeyrolle 12 September 1996
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4NURBScylinder.cc,v 1.5 2003/04/03 15:31:06 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// Olivier Crumeyrolle 12 September 1996
@@ -22,7 +22,7 @@
//
//
// $Id: G4NURBShexahedron.cc,v 1.5 2003/04/03 15:31:06 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
// hexahedron implementation
// OC 17 9 96
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4NURBStube.cc,v 1.5 2003/04/03 15:31:07 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// Olivier Crumeyrolle 12 September 1996
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4NURBStubesector.cc,v 1.6 2003/04/03 15:31:07 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4NURBStubesector.cc,v 1.7 2003/06/16 16:55:21 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// Olivier Crumeyrolle 12 September 1996
@@ -31,7 +31,7 @@
// OC 290896
#include "G4NURBStubesector.hh"
#include "g4std/strstream"
#include <strstream>
G4NURBStubesector::G4NURBStubesector(G4double r, G4double R,
G4double DZ, G4double PHI1, G4double PHI2)
@@ -180,7 +180,7 @@ G4NURBStubesector::G4NURBStubesector(G4double r, G4double R,
// creating the nurbs identity
mpwhoami = new char [200];
G4std::ostrstream tmpstr(mpwhoami, 200);
std::ostrstream tmpstr(mpwhoami, 200);
tmpstr << "Tubs" << " \tPHI1=" << PHI1 << " ; PHI2=" << PHI2 << '\0';
// could be more sophisticated, reallocating
// mpwhoami to the exact length
@@ -22,7 +22,7 @@
//
//
// $Id: G4PlacedPolyhedron.cc,v 1.3 2001/07/11 10:01:08 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
#include "G4PlacedPolyhedron.hh"
+3 -3
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Point3DList.cc,v 1.5 2001/07/11 10:01:08 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4Point3DList.cc,v 1.6 2003/06/16 16:55:22 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison July 1995
@@ -33,7 +33,7 @@
G4Point3DList::~G4Point3DList () {}
G4std::ostream& operator << (G4std::ostream& os, const G4Point3DList& points)
std::ostream& operator << (std::ostream& os, const G4Point3DList& points)
{
os << "G4Point3DList[" << points.size() << "]: ";
for (size_t i = 0; i < points.size(); i++) os << points[i];
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4Polyhedron.cc,v 1.12 2003/04/03 15:31:07 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
#include "G4Polyhedron.hh"
+3 -3
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Polyline.cc,v 1.7 2001/08/14 18:24:58 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4Polyline.cc,v 1.8 2003/06/16 16:55:23 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison July 1995
@@ -56,7 +56,7 @@ G4Polyline& G4Polyline::transform (const G4Transform3D& transformation) {
return *this;
}
G4std::ostream& operator << (G4std::ostream& os, const G4Polyline& line) {
std::ostream& operator << (std::ostream& os, const G4Polyline& line) {
os << "G4Polyline: ";
os << '\n' << (G4VVisPrim) line;
os << '\n' << (G4Point3DList) line;
+3 -3
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Polymarker.cc,v 1.7 2001/07/11 10:01:08 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4Polymarker.cc,v 1.8 2003/06/16 16:55:24 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison November 1996
@@ -54,7 +54,7 @@ G4Polymarker & G4Polymarker::operator = (const G4Polymarker &right) {
return *this;
}
G4std::ostream& operator << (G4std::ostream& os, const G4Polymarker& marker) {
std::ostream& operator << (std::ostream& os, const G4Polymarker& marker) {
os << "G4Polymarker: type: ";
switch (marker.fMarkerType) {
case G4Polymarker::line:
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4Scale.cc,v 1.6 2002/11/27 12:24:01 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 21st July 2001
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4Square.cc,v 1.3 2001/07/11 10:01:09 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: G4Text.cc,v 1.6 2001/07/11 10:01:09 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 17/11/96.
+3 -3
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VMarker.cc,v 1.7 2001/07/11 10:01:09 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4VMarker.cc,v 1.8 2003/06/16 16:55:25 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
@@ -76,7 +76,7 @@ G4VMarker& G4VMarker::operator = (const G4VMarker& right) {
return *this;
}
G4std::ostream& operator << (G4std::ostream& os, const G4VMarker& marker) {
std::ostream& operator << (std::ostream& os, const G4VMarker& marker) {
os << "G4VMarker: position: " << marker.fPosition
<< ", world size: " << marker.fWorldSize
<< ", screen size: " << marker.fScreenSize << '\n'
+3 -3
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VVisPrim.cc,v 1.7 2001/07/11 10:01:09 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4VVisPrim.cc,v 1.8 2003/06/16 16:55:26 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison August 1995
@@ -61,6 +61,6 @@ G4bool G4VVisPrim::operator == (const G4VVisPrim& right) const{
return G4Visible::operator == (right);
}
G4std::ostream& operator << (G4std::ostream& os, const G4VVisPrim& prim) {
std::ostream& operator << (std::ostream& os, const G4VVisPrim& prim) {
return os << (G4Visible) prim;
}
+3 -3
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VisAttributes.cc,v 1.8 2002/11/20 14:18:34 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4VisAttributes.cc,v 1.9 2003/06/16 16:55:27 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 23rd October 1996
@@ -80,7 +80,7 @@ const G4VisAttributes& G4VisAttributes::GetInvisible() {
return Invisible;
}
G4std::ostream& operator << (G4std::ostream& os, const G4VisAttributes& a) {
std::ostream& operator << (std::ostream& os, const G4VisAttributes& a) {
os << "G4VisAttributes: ";
if (&a){
+3 -3
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VisExtent.cc,v 1.6 2001/07/24 21:39:50 johna Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4VisExtent.cc,v 1.7 2003/06/16 16:55:28 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// A.Walkden 28/11/95
@@ -64,7 +64,7 @@ G4double G4VisExtent::GetExtentRadius () const {
((fZmax - fZmin) * (fZmax - fZmin))) / 2.;
}
G4std::ostream& operator << (G4std::ostream& os, const G4VisExtent& e) {
std::ostream& operator << (std::ostream& os, const G4VisExtent& e) {
os << "G4VisExtent (bounding box):";
os << "\n X limits: " << e.fXmin << ' ' << e.fXmax;
os << "\n Y limits: " << e.fYmin << ' ' << e.fYmax;
+3 -3
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Visible.cc,v 1.4 2001/07/11 10:01:09 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4Visible.cc,v 1.5 2003/06/16 16:55:29 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
//
// John Allison 30th October 1996
@@ -44,7 +44,7 @@ G4bool G4Visible::operator == (const G4Visible& right) const{
return fpVisAttributes == right.fpVisAttributes;
}
G4std::ostream& operator << (G4std::ostream& os, const G4Visible& v) {
std::ostream& operator << (std::ostream& os, const G4Visible& v) {
if (v.fpVisAttributes) return os << *(v.fpVisAttributes);
else return os << "No Visualization Attributes";
}
+1 -1
View File
@@ -22,7 +22,7 @@
//
//
// $Id: HepPolyhedron.cc,v 1.12 2002/11/20 14:18:34 gcosmo Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
//
//