19#ifndef BDSBLMFACTORY_H
20#define BDSBLMFACTORY_H
26class G4VSensitiveDetector;
46 G4VSensitiveDetector* sd);
50 BDSBLM* CreateBLM(
const G4String& name,
51 const G4String& geometryFile,
52 const G4String& geometryType,
53 const G4String& material,
58 G4VSensitiveDetector* sd,
59 const G4String& bias =
"");
62 void PositiveFinite(G4double value,
63 const G4String& parameterName,
64 const G4String& blmName)
const;
68 const G4String& material,
74 const G4String& material,
77 G4double halfLengthZ);
81 const G4String& material,
87 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.