G4DarkBreM  v2.1.0
Geant4 Dark Bremmstrahlung from MadGraph
g4db::example::Hunk Class Reference

basic 'hunk' of material in air, the material and its thickness is configurable More...

Inheritance diagram for g4db::example::Hunk:
[legend]
Collaboration diagram for g4db::example::Hunk:
[legend]

Public Member Functions

 Hunk (double depth, const std::string &material)
 Create our detector constructor, storing the configuration variables.
 
virtual G4VPhysicalVolume * Construct () final override
 Construct the geometry. More...
 

Private Attributes

double depth_
 depth along beam direction
 
std::string material_
 name of material to use for volume (findable by G4NistManager)
 

Detailed Description

basic 'hunk' of material in air, the material and its thickness is configurable

The transverse (x,y) dimensions are set arbitrarily to 1m just to make absolutely sure that we can contain the shower that may contain a dark brem.

Member Function Documentation

◆ Construct()

virtual G4VPhysicalVolume* g4db::example::Hunk::Construct ( )
inlinefinaloverridevirtual

Construct the geometry.

We build the world only slighly larger than the single hunk of material at its center. The hunk is shifted to be downstream (along z) of the origin so that the primary generator can simply shoot from the origin along z.


The documentation for this class was generated from the following file: