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
66 G4LogicalVolume* GetFakeCollimatorVolume(G4String name);
67
76 G4LogicalVolume* GetQuadrupoleVolume(G4String name, G4double dx, G4double dy, G4double sz);
77
82 G4LogicalVolume *GetFakeDiagsChamber();
83
89 void Cleanup();
90
91private:
92 Geometry *Geom;
94 G4Material *Material;
95 G4LogicalVolume* LogicalVolume;
96 G4Box* Box;
97 G4Tubs* Tubs;
98 G4GDMLParser* parser;
99 G4VisAttributes *clear;
100};
101
102#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:109
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:131
G4LogicalVolume * GetGDMLVolume(const char *fileName, const char *volumeName, G4Material *material)
Load and retrieve a GDML-defined volume.
Definition Geometry.cc:62
G4LogicalVolume * GetFakeCollimatorVolume(G4String name)
Create a fake collimator volume.
Definition Geometry.cc:86
~Geometry()
Destructor for Geometry class.
Definition Geometry.cc:47
Defines the detector geometry and magnetic fields for the PALLAS simulation.
Definition PlasmaMLPALLASGeometryConstruction.hh:41