8 #include <G4Material.hh> 9 #include <G4LogicalVolume.hh> 10 #include <G4VPhysicalVolume.hh> 11 #include <G4PVPlacement.hh> 12 #include <G4VisAttributes.hh> 14 #include <G4Polyhedra.hh> 16 #include <G4SystemOfUnits.hh> 17 #include <G4PhysicalConstants.hh> 57 G4LogicalVolume* logVolume
58 =
new G4LogicalVolume(
new G4Tubs(GetName(),
59 0.0, GetRadius(), GetHeight()/2,
61 FindMaterial(
"Argon_Gas"),
63 logVolume->SetVisAttributes(GetColor(logVolume));
65 G4ThreeVector
center(0.0,0.0,-GetHeight()/2);
69 center += G4ThreeVector(0.0,0.0,0.0);
static constexpr double cm
double GetHeight()
Get the height of the exposed region. This is calculated.
double GetRadius()
Get the radius of the exposed region. This is calculated.
CaptExposedBuilder * fBuilder
void SetNewValue(G4UIcommand *cmd, G4String val)
void SetNewValue(G4UIcommand *cmd, G4String val)
Construct a module from components.
BuilderMessenger(EDepSim::Builder *c, const char *guide=NULL)
virtual ~CaptExposedBuilder()
CaptExposedMessenger(CaptExposedBuilder *c)
virtual ~CaptExposedMessenger()
virtual G4LogicalVolume * GetPiece(void)
static constexpr double degree