Import Geant4 11.3.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2024-06-28 13:08:51 +02:00
parent f7b23877ed
commit e58e650b32
5232 changed files with 239416 additions and 244360 deletions
@@ -27,49 +27,46 @@
/// \file VG01DetectorConstruction.hh
/// \brief Definition of the VG01DetectorConstruction class
#ifndef VG01DetectorConstruction_h
#define VG01DetectorConstruction_h 1
#include "G4VUserDetectorConstruction.hh"
#include "G4GDMLParser.hh"
#include "G4String.hh"
#include "G4VUserDetectorConstruction.hh"
class G4VPhysicalVolume;
class G4FieldManager;
class G4UniformMagField;
class VG01DetectorMessenger;
class VG01DetectorConstruction : public G4VUserDetectorConstruction {
class VG01DetectorConstruction : public G4VUserDetectorConstruction
{
public:
VG01DetectorConstruction();
~VG01DetectorConstruction();
public:
G4VPhysicalVolume* Construct() override;
VG01DetectorConstruction();
~VG01DetectorConstruction();
void SetGDMLFileName(const G4String& gdmlfile) { fGDMLFileName = gdmlfile; }
void SetUseVecGeom(bool b) { fUseVecGeom = b; }
void SetMagFieldValue(const G4double fieldValue) { fglobFieldValue = fieldValue; }
G4VPhysicalVolume* Construct() override;
static G4double GetFieldValue() { return fglobFieldValue; }
void SetGDMLFileName ( const G4String& gdmlfile ) { fGDMLFileName = gdmlfile; }
void SetUseVecGeom (bool b) { fUseVecGeom = b; }
void SetMagFieldValue(const G4double fieldValue ) { fglobFieldValue = fieldValue; }
private:
void CreateMagFieldAndIntegrator();
static G4double GetFieldValue() { return fglobFieldValue; }
private:
// this static member is for the print out
static G4double fglobFieldValue;
private:
void CreateMagFieldAndIntegrator();
private:
// this static member is for the print out
static G4double fglobFieldValue;
G4String fGDMLFileName;
G4GDMLParser fParser;
G4VPhysicalVolume* fWorld;
G4FieldManager* fFieldMgr;
G4UniformMagField* fUniformMagField;
bool fUseVecGeom = true;
VG01DetectorMessenger* fDetectorMessenger= nullptr;
G4String fGDMLFileName;
G4GDMLParser fParser;
G4VPhysicalVolume* fWorld;
G4FieldManager* fFieldMgr;
G4UniformMagField* fUniformMagField;
bool fUseVecGeom = true;
VG01DetectorMessenger* fDetectorMessenger = nullptr;
};
#endif