PlasmaMLPALLAS
Loading...
Searching...
No Matches
Geometry.hh
Go to the documentation of this file.
1#ifndef Geometry_h
2#define Geometry_h
3
16#include "G4Tubs.hh"
17#include "G4Box.hh"
18#include "G4SubtractionSolid.hh"
19#include "G4NistManager.hh"
20#include "G4UnitsTable.hh"
21#include "G4SystemOfUnits.hh"
22#include "G4GDMLParser.hh"
23
25
36{
37public:
43 Geometry();
44
50 ~Geometry();
51
59 G4LogicalVolume *GetGDMLVolume(const char* fileName, const char* volumeName, G4Material* material);
60
69 G4LogicalVolume* GetQuadrupoleVolume(G4String name, G4double dx, G4double dy, G4double sz);
70
75 G4LogicalVolume *GetFakeDiagsChamber();
76
82 void Cleanup();
83
84private:
85 Geometry *Geom;
87 G4Material *Material;
88 G4LogicalVolume* LogicalVolume;
89 G4Box* Box;
90 G4Tubs* Tubs;
91 G4GDMLParser* parser;
92 G4VisAttributes *clear;
93};
94
95#endif
Definition of the Geometry class for the PALLAS project.
Definition Geometry.hh:36
G4LogicalVolume * GetQuadrupoleVolume(G4String name, G4double dx, G4double dy, G4double sz)
Create a quadrupole magnet volume.
Definition Geometry.cc:87
Geometry()
Constructor for Geometry class.
Definition Geometry.cc:34
void Cleanup()
Cleanup allocated geometry components.
G4LogicalVolume * GetFakeDiagsChamber()
Create a diagnostic chamber volume (simplified).
Definition Geometry.cc:109
G4LogicalVolume * GetGDMLVolume(const char *fileName, const char *volumeName, G4Material *material)
Load and retrieve a GDML-defined volume.
Definition Geometry.cc:62
~Geometry()
Destructor for Geometry class.
Definition Geometry.cc:47
Defines the detector geometry and magnetic fields for the PALLAS simulation.
Definition PlasmaMLPALLASGeometryConstruction.hh:41