18#ifndef BDSBLMFACTORY_H
19#define BDSBLMFACTORY_H
25class G4VSensitiveDetector;
45 G4VSensitiveDetector* sd);
49 BDSBLM* CreateBLM(
const G4String& name,
50 const G4String& geometryFile,
51 const G4String& geometryType,
52 const G4String& material,
57 G4VSensitiveDetector* sd,
58 const G4String& bias =
"");
61 void PositiveFinite(G4double value,
62 const G4String& parameterName,
63 const G4String& blmName)
const;
67 const G4String& material,
73 const G4String& material,
76 G4double halfLengthZ);
80 const G4String& material,
86 const G4String& material,
Factory for building BLMs.
BDSBLM * BuildBLMCylinder(const G4String &name, const G4String &material, G4double halfLength, G4double radius)
Build the geometry for a cylinder.
BDSBLM * BuildBLMCube(const G4String &name, const G4String &material, G4double halfLengthX, G4double halfLengthY, G4double halfLengthZ)
Build the geometry for a cube.
BDSBLM * CommonConstruction(const G4String &name, const G4String &material, G4VSolid *shape, const BDSExtent &extent)
BDSBLM * BuildBLMSphere(const G4String &name, const G4String &material, G4double radius)
Build the geometry for a sphere.
Holder for +- extents in 3 dimensions.
Parser namespace for GMAD language. Combination of Geant4 and MAD.