+++ /dev/null
-// $Id$
-// Category: global
-//
-// See the class description in the header file.
-
-#include "TG3Units.h"
-
-// static const data members
-
-const G4double TG3Units::fgkLength = cm;
-const G4double TG3Units::fgkAngle = deg;
-const G4double TG3Units::fgkTime = s;
-const G4double TG3Units::fgkCharge = eplus;
-const G4double TG3Units::fgkEnergy = GeV;
-const G4double TG3Units::fgkMass = GeV;
-const G4double TG3Units::fgkMassDensity = g/cm3;
-const G4double TG3Units::fgkAtomicWeight = g/mole;
-const G4double TG3Units::fgkField = tesla;
-
-TG3Units::TG3Units() {
-//
-}
-
-TG3Units::~TG3Units() {
-//
-}
-
// $Id$
// Category: visualization
-#ifndef TG3_ATTRIBUTE_H
-#define TG3_ATTRIBUTE_H
+#ifndef TG4_G3_VIS_ATTRIBUTE_H
+#define TG4_G3_VIS_ATTRIBUTE_H
-enum TG3Attribute
+enum TG4G3Attribute
{
kWORK, // Set the volume active/inactive for tracking (not used!)
kSEEN, // Set visibility : 0-invisible , 1-visible,
kUNKNOWN
};
-#endif //TG3_ATTRIBUTE_H
+#endif //TG4_G3_VIS_ATTRIBUTE_H
// $Id$
-// Category: physics
+// Category: global
-#ifndef TG3_CUT_H
-#define TG3_CUT_H
+#ifndef TG4_G3_CUT_H
+#define TG4_G3_CUT_H
-enum TG3Cut
+enum TG4G3Cut
{
kCUTGAM, // gammas
// G4 particles: "gamma"
kNoG3Cuts
};
-#endif //TG3_CUT_H
+#endif //TG4_G3_CUT_H
// $Id$
// Category: physics
-#ifndef TG3_PARTICLE_WSP_H
-#define TG3_PARTICLE_WSP_H
+#ifndef TG4_G3_PARTICLE_WSP_H
+#define TG4_G3_PARTICLE_WSP_H
-enum TG3ParticleWSP
+enum TG4G3ParticleWSP
// particle with special process
{
kGamma, // kPAIR, kCOMP, kPHOT, kPHIS
kNofParticlesWSP
};
-#endif //TG3_PARTICLE_WSP_H
+#endif //TG4_G3_PARTICLE_WSP_H
--- /dev/null
+// $Id$
+// Category: global
+//
+// See the class description in the header file.
+
+#include "TG4G3Units.h"
+
+// static const data members
+
+const G4double TG4G3Units::fgkLength = cm;
+const G4double TG4G3Units::fgkAngle = deg;
+const G4double TG4G3Units::fgkTime = s;
+const G4double TG4G3Units::fgkCharge = eplus;
+const G4double TG4G3Units::fgkEnergy = GeV;
+const G4double TG4G3Units::fgkMass = GeV;
+const G4double TG4G3Units::fgkMassDensity = g/cm3;
+const G4double TG4G3Units::fgkAtomicWeight = g/mole;
+const G4double TG4G3Units::fgkField = tesla;
+
+TG4G3Units::TG4G3Units() {
+//
+}
+
+TG4G3Units::~TG4G3Units() {
+//
+}
+
// Class defines the G3 default units of physical quantities;
// all physical quantities returned by MC are expressed in these units.
-#ifndef TG3_UNITS_H
-#define TG3_UNITS_H
+#ifndef TG4_G3_UNITS_H
+#define TG4_G3_UNITS_H
#include <globals.hh>
-class TG3Units
+class TG4G3Units
{
public:
// --> protected
- // TG3Units();
- virtual ~TG3Units();
+ // TG4G3Units();
+ virtual ~TG4G3Units();
// static get methods
static G4double Length();
static G4double Field();
protected:
- TG3Units();
+ TG4G3Units();
// only static data members and methods
private:
// inline methods
-inline G4double TG3Units::Length() { return fgkLength; }
-inline G4double TG3Units::Angle() { return fgkAngle; }
-inline G4double TG3Units::Time() { return fgkTime; }
-inline G4double TG3Units::Charge() { return fgkCharge; }
-inline G4double TG3Units::Energy() { return fgkEnergy; }
-inline G4double TG3Units::Mass() { return fgkMass; }
-inline G4double TG3Units::MassDensity() { return fgkMassDensity; }
-inline G4double TG3Units::AtomicWeight() { return fgkAtomicWeight; }
-inline G4double TG3Units::Field() { return fgkField; }
-
-#endif //TG3_UNITS_H
+inline G4double TG4G3Units::Length() { return fgkLength; }
+inline G4double TG4G3Units::Angle() { return fgkAngle; }
+inline G4double TG4G3Units::Time() { return fgkTime; }
+inline G4double TG4G3Units::Charge() { return fgkCharge; }
+inline G4double TG4G3Units::Energy() { return fgkEnergy; }
+inline G4double TG4G3Units::Mass() { return fgkMass; }
+inline G4double TG4G3Units::MassDensity() { return fgkMassDensity; }
+inline G4double TG4G3Units::AtomicWeight() { return fgkAtomicWeight; }
+inline G4double TG4G3Units::Field() { return fgkField; }
+
+#endif //TG4_G3_UNITS_H