Berkeley Nuclear Data Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | List of all members
GenArrayDetConstruction Class Reference

#include <GenArrayDetConstruction.h>

Inheritance diagram for GenArrayDetConstruction:
Inheritance graph
[legend]
Collaboration diagram for GenArrayDetConstruction:
Collaboration graph
[legend]

Public Member Functions

 GenArrayDetConstruction ()
 
virtual ~GenArrayDetConstruction ()
 
void ConstructSDandField ()
 
void setTargetMajorRadius (G4double a_targetMajorRadius)
 
void setTargetMinorRadius (G4double a_targetMinorRadius)
 
void setTargetLength (G4double a_targetLength)
 
void setTargetMaterial (G4String a_targetMaterial)
 
void setNumScatterCells (G4int a_numScatterCells)
 
void setScatterCellDistance (G4double a_scatterCellDistance)
 
void setScatteringAngle (G4double a_scatteringAngle)
 
void setScintArmLength (G4double a_armLength)
 
void add8020Posts (G4bool a_addPosts)
 
void addCloverTable (G4bool a_addTable)
 
void useHevimets (G4bool a_useHevimets)
 
void addGenesis3 ()
 
std::vector< G4double > getCloverDistance (int a_cloverID)
 returns (x,y,z) of a clover, More...
 
G4double getTargetMajorRadius ()
 
G4double getTargetMinorRadius ()
 
G4double getTargetLenth ()
 
G4int getNumScatterCells ()
 
G4double getScatterCellDistance ()
 
G4double getScatteringAngle ()
 
G4double getScintArmLength ()
 
G4bool isPostsAdded ()
 
G4bool isTableAdded ()
 
G4bool isHevimetAdded ()
 
virtual G4VPhysicalVolume * Construct ()
 
- Public Member Functions inherited from NSDG4::DetectorConstruction
 DetectorConstruction ()
 
virtual ~DetectorConstruction ()
 
virtual void setTheCenter (std::string a_object, G4ThreeVector a_center)
 
virtual void setTheMaterial (std::string a_object, std::string a_material)
 
virtual void setTheWorldHalfSize (double a_x, double a_y, double a_z)
 
virtual void updateGeometry ()
 

Additional Inherited Members

- Protected Attributes inherited from NSDG4::DetectorConstruction
std::map< std::string, GeometryObject * > m_geoObjects
 
std::map< std::string, G4LogicalVolume * > m_lvMap
 
std::map< std::string, std::string > m_lvSDMap
 
G4ThreeVector m_worldHalfSize
 
MaterialManagerm_materials
 
DetectorMessengerm_messenger
 
G4LogicalVolume * m_worldLV
 
std::map< std::string, int > m_copyDepth
 

Detailed Description

this class is a detector construction which uses both the NSDG4 core components and extensions to provide a user configurable geometry through a command line interface

Constructor & Destructor Documentation

◆ GenArrayDetConstruction()

GenArrayDetConstruction::GenArrayDetConstruction ( )

initialize the clover

initialize the 8020 posts for scintillators - 4' tall

initialize the 8020 connecting the layers of scintillators currently 15 cm long

initialize the clover table

Here is the call graph for this function:

◆ ~GenArrayDetConstruction()

GenArrayDetConstruction::~GenArrayDetConstruction ( )
virtual

Member Function Documentation

◆ add8020Posts()

void GenArrayDetConstruction::add8020Posts ( G4bool  a_addPosts)
Here is the caller graph for this function:

◆ addCloverTable()

void GenArrayDetConstruction::addCloverTable ( G4bool  a_addTable)
Here is the caller graph for this function:

◆ addGenesis3()

void GenArrayDetConstruction::addGenesis3 ( )

These methods require a file called "detConfig.dat" that contains the detector positions places EJ-309, cieling (should be moved) and GENESIS frame

top

back

create sensitive detector for scintillators

Here is the call graph for this function:

◆ Construct()

G4VPhysicalVolume * GenArrayDetConstruction::Construct ( )
virtual

create the world volume

this shouldn't be needed anymore since all detectors are placed from position in the config file

add copy depth for scintillators

create sensitive detectors for each leaf

add leafs to depth map

some parameteres for placing clovers

place the table - centered under 90 degree clover NOTE: needs to be parameterized !!!

‍****uncomment the lines below to place Cf252 holder****‍///

the PopTops

always return the world

Reimplemented from NSDG4::DetectorConstruction.

Here is the call graph for this function:

◆ ConstructSDandField()

void GenArrayDetConstruction::ConstructSDandField ( )
virtual

Reimplemented from NSDG4::DetectorConstruction.

◆ getCloverDistance()

vector< G4double > GenArrayDetConstruction::getCloverDistance ( int  a_cloverID)

returns (x,y,z) of a clover,

Here is the call graph for this function:

◆ getNumScatterCells()

G4int GenArrayDetConstruction::getNumScatterCells ( )

◆ getScatterCellDistance()

G4double GenArrayDetConstruction::getScatterCellDistance ( )

◆ getScatteringAngle()

G4double GenArrayDetConstruction::getScatteringAngle ( )

◆ getScintArmLength()

G4double GenArrayDetConstruction::getScintArmLength ( )

◆ getTargetLenth()

G4double GenArrayDetConstruction::getTargetLenth ( )

◆ getTargetMajorRadius()

G4double GenArrayDetConstruction::getTargetMajorRadius ( )

◆ getTargetMinorRadius()

G4double GenArrayDetConstruction::getTargetMinorRadius ( )

◆ isHevimetAdded()

G4bool GenArrayDetConstruction::isHevimetAdded ( )

◆ isPostsAdded()

G4bool GenArrayDetConstruction::isPostsAdded ( )

◆ isTableAdded()

G4bool GenArrayDetConstruction::isTableAdded ( )

◆ setNumScatterCells()

void GenArrayDetConstruction::setNumScatterCells ( G4int  a_numScatterCells)
Here is the caller graph for this function:

◆ setScatterCellDistance()

void GenArrayDetConstruction::setScatterCellDistance ( G4double  a_scatterCellDistance)
Here is the caller graph for this function:

◆ setScatteringAngle()

void GenArrayDetConstruction::setScatteringAngle ( G4double  a_scatteringAngle)
Here is the caller graph for this function:

◆ setScintArmLength()

void GenArrayDetConstruction::setScintArmLength ( G4double  a_armLength)
Here is the caller graph for this function:

◆ setTargetLength()

void GenArrayDetConstruction::setTargetLength ( G4double  a_targetLength)
Here is the caller graph for this function:

◆ setTargetMajorRadius()

void GenArrayDetConstruction::setTargetMajorRadius ( G4double  a_targetMajorRadius)
Here is the caller graph for this function:

◆ setTargetMaterial()

void GenArrayDetConstruction::setTargetMaterial ( G4String  a_targetMaterial)

◆ setTargetMinorRadius()

void GenArrayDetConstruction::setTargetMinorRadius ( G4double  a_targetMinorRadius)
Here is the caller graph for this function:

◆ useHevimets()

void GenArrayDetConstruction::useHevimets ( G4bool  a_useHevimets)

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