Berkeley Nuclear Data Software
|
#include <GenArrayDetConstruction.h>
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 () |
![]() | |
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 | |
![]() | |
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 |
MaterialManager * | m_materials |
DetectorMessenger * | m_messenger |
G4LogicalVolume * | m_worldLV |
std::map< std::string, int > | m_copyDepth |
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
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
|
virtual |
void GenArrayDetConstruction::add8020Posts | ( | G4bool | a_addPosts | ) |
void GenArrayDetConstruction::addCloverTable | ( | G4bool | a_addTable | ) |
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
|
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.
|
virtual |
Reimplemented from NSDG4::DetectorConstruction.
vector< G4double > GenArrayDetConstruction::getCloverDistance | ( | int | a_cloverID | ) |
returns (x,y,z) of a clover,
G4int GenArrayDetConstruction::getNumScatterCells | ( | ) |
G4double GenArrayDetConstruction::getScatterCellDistance | ( | ) |
G4double GenArrayDetConstruction::getScatteringAngle | ( | ) |
G4double GenArrayDetConstruction::getScintArmLength | ( | ) |
G4double GenArrayDetConstruction::getTargetLenth | ( | ) |
G4double GenArrayDetConstruction::getTargetMajorRadius | ( | ) |
G4double GenArrayDetConstruction::getTargetMinorRadius | ( | ) |
G4bool GenArrayDetConstruction::isHevimetAdded | ( | ) |
G4bool GenArrayDetConstruction::isPostsAdded | ( | ) |
G4bool GenArrayDetConstruction::isTableAdded | ( | ) |
void GenArrayDetConstruction::setNumScatterCells | ( | G4int | a_numScatterCells | ) |
void GenArrayDetConstruction::setScatterCellDistance | ( | G4double | a_scatterCellDistance | ) |
void GenArrayDetConstruction::setScatteringAngle | ( | G4double | a_scatteringAngle | ) |
void GenArrayDetConstruction::setScintArmLength | ( | G4double | a_armLength | ) |
void GenArrayDetConstruction::setTargetLength | ( | G4double | a_targetLength | ) |
void GenArrayDetConstruction::setTargetMajorRadius | ( | G4double | a_targetMajorRadius | ) |
void GenArrayDetConstruction::setTargetMaterial | ( | G4String | a_targetMaterial | ) |
void GenArrayDetConstruction::setTargetMinorRadius | ( | G4double | a_targetMinorRadius | ) |
void GenArrayDetConstruction::useHevimets | ( | G4bool | a_useHevimets | ) |