EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
This class creates the ePHENIX RICH volumes for Geant4 based on the geometry information in ePHENIXRICH::RICH_Geometry. More...
#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4rich/ePHENIXRICHConstruction.h>
Public Member Functions | |
virtual | ~ePHENIXRICHConstruction () |
ePHENIXRICHConstruction (PHG4Subsystem *subsys) | |
ePHENIXRICHConstruction (PHG4Subsystem *subsys, const RICH_Geometry &g) | |
virtual void | OverlapCheck (bool check) |
G4LogicalVolume * | Construct_RICH (G4LogicalVolume *) |
G4LogicalVolume * | Construct_HBD (G4LogicalVolume *RICHSecLog) |
G4LogicalVolume * | Construct_HBD_Layers (G4LogicalVolume *RICHHBDLog, const G4String name, const G4String material, const double start_z, const double thickness) |
int | is_in_sector (G4VPhysicalVolume *) const |
PHG4RICHDisplayAction * | GetDisplayAction () |
Public Attributes | |
RICH_Geometry | geom |
Protected Types | |
typedef std::map< G4String, G4LogicalVolume * > | map_log_vol_t |
typedef std::pair< G4String, G4int > | phy_vol_idx_t |
typedef std::map < phy_vol_idx_t, G4PVPlacement * > | map_phy_vol_t |
Protected Member Functions | |
G4LogicalVolume * | RegisterLogicalVolume (G4LogicalVolume *) |
G4PVPlacement * | RegisterPhysicalVolume (G4PVPlacement *) |
Static Protected Member Functions | |
static G4Material * | GetDetectorMaterial (const std::string &name, const bool quit=true) |
Protected Attributes | |
map_log_vol_t | map_log_vol |
PHG4RICHDisplayAction * | m_DisplayAction |
map_phy_vol_t | map_phy_vol |
bool | overlapcheck_rich |
std::set< G4VPhysicalVolume * > | sector_vec |
This class creates the ePHENIX RICH volumes for Geant4 based on the geometry information in ePHENIXRICH::RICH_Geometry.
Definition at line 393 of file ePHENIXRICHConstruction.h.
View newest version in sPHENIX GitHub at line 393 of file ePHENIXRICHConstruction.h
|
protected |
Definition at line 430 of file ePHENIXRICHConstruction.h.
View newest version in sPHENIX GitHub at line 430 of file ePHENIXRICHConstruction.h
|
protected |
Definition at line 437 of file ePHENIXRICHConstruction.h.
View newest version in sPHENIX GitHub at line 437 of file ePHENIXRICHConstruction.h
|
protected |
Definition at line 436 of file ePHENIXRICHConstruction.h.
View newest version in sPHENIX GitHub at line 436 of file ePHENIXRICHConstruction.h
|
inlinevirtual |
Definition at line 396 of file ePHENIXRICHConstruction.h.
View newest version in sPHENIX GitHub at line 396 of file ePHENIXRICHConstruction.h
ePHENIXRICHConstruction::ePHENIXRICHConstruction | ( | PHG4Subsystem * | subsys | ) |
Definition at line 55 of file ePHENIXRICHConstruction.cc.
View newest version in sPHENIX GitHub at line 55 of file ePHENIXRICHConstruction.cc
ePHENIXRICHConstruction::ePHENIXRICHConstruction | ( | PHG4Subsystem * | subsys, |
const RICH_Geometry & | g | ||
) |
Definition at line 61 of file ePHENIXRICHConstruction.cc.
View newest version in sPHENIX GitHub at line 61 of file ePHENIXRICHConstruction.cc
G4LogicalVolume * ePHENIXRICHConstruction::Construct_HBD | ( | G4LogicalVolume * | RICHSecLog | ) |
Definition at line 274 of file ePHENIXRICHConstruction.cc.
View newest version in sPHENIX GitHub at line 274 of file ePHENIXRICHConstruction.cc
References Acts::UnitConstants::cm, Construct_HBD_Layers(), Acts::UnitConstants::e, geom, ePHENIXRICH::RICH_Geometry::get_dR_frontwindow(), ePHENIXRICH::RICH_Geometry::get_dR_frontwindow_shrink(), ePHENIXRICH::RICH_Geometry::get_half_angle_HBD(), ePHENIXRICH::RICH_Geometry::get_HBD_thickness(), ePHENIXRICH::RICH_Geometry::get_n_GEM_layers(), ePHENIXRICH::RICH_Geometry::get_R_Tip_HBD(), ePHENIXRICH::RICH_Geometry::get_RICH_gas_mat(), ePHENIXRICH::RICH_Geometry::get_RICH_Photocathode_OpticalSurface(), ePHENIXRICH::RICH_Geometry::get_Rotation_HBD(), ePHENIXRICH::RICH_Geometry::get_RZ_Seg1_HBD(), ePHENIXRICH::RICH_Geometry::get_RZ_Seg2_HBD(), ePHENIXRICH::RICH_Geometry::get_Z_Tip_HBD(), GetDetectorMaterial(), overlapcheck_rich, pi, RegisterLogicalVolume(), and RegisterPhysicalVolume().
Referenced by Construct_RICH().
G4LogicalVolume * ePHENIXRICHConstruction::Construct_HBD_Layers | ( | G4LogicalVolume * | RICHHBDLog, |
const G4String | name, | ||
const G4String | material, | ||
const double | start_z, | ||
const double | thickness | ||
) |
Definition at line 400 of file ePHENIXRICHConstruction.cc.
View newest version in sPHENIX GitHub at line 400 of file ePHENIXRICHConstruction.cc
References geom, ePHENIXRICH::RICH_Geometry::get_half_angle_HBD(), ePHENIXRICH::RICH_Geometry::get_RZ_Seg1_HBD(), ePHENIXRICH::RICH_Geometry::get_RZ_Seg2_HBD(), GetDetectorMaterial(), overlapcheck_rich, pi, RegisterLogicalVolume(), and RegisterPhysicalVolume().
Referenced by Construct_HBD().
G4LogicalVolume * ePHENIXRICHConstruction::Construct_RICH | ( | G4LogicalVolume * | WorldLog | ) |
Definition at line 109 of file ePHENIXRICHConstruction.cc.
View newest version in sPHENIX GitHub at line 109 of file ePHENIXRICHConstruction.cc
References PHG4RICHDisplayAction::AddVolume(), Construct_HBD(), geom, ePHENIXRICH::RICH_Geometry::get_cone_size_z(), ePHENIXRICH::RICH_Geometry::get_dR_backwindow(), ePHENIXRICH::RICH_Geometry::get_dR_frontwindow(), ePHENIXRICH::RICH_Geometry::get_dR_mirror(), ePHENIXRICH::RICH_Geometry::get_dR_mirror_spt(), ePHENIXRICH::RICH_Geometry::get_frontwindow_DisplaceRatio(), ePHENIXRICH::RICH_Geometry::get_min_eta(), ePHENIXRICH::RICH_Geometry::get_N_RICH_Sector(), ePHENIXRICH::RICH_Geometry::get_R_beam_pipe_back(), ePHENIXRICH::RICH_Geometry::get_R_beam_pipe_front(), ePHENIXRICH::RICH_Geometry::get_R_frontwindow(), ePHENIXRICH::RICH_Geometry::get_R_max(), ePHENIXRICH::RICH_Geometry::get_R_mirror_ref(), ePHENIXRICH::RICH_Geometry::get_R_shift(), ePHENIXRICH::RICH_Geometry::get_RICH_gas_mat(), ePHENIXRICH::RICH_Geometry::get_RICH_Gas_Window_mat(), ePHENIXRICH::RICH_Geometry::get_RICH_Mirror_mat(), ePHENIXRICH::RICH_Geometry::get_RICH_Mirror_OpticalSurface(), ePHENIXRICH::RICH_Geometry::get_z_shift(), GetDetectorMaterial(), GetDisplayAction(), overlapcheck_rich, pi, RegisterLogicalVolume(), RegisterPhysicalVolume(), and sector_vec.
|
staticprotected |
Definition at line 538 of file ePHENIXRICHConstruction.cc.
View newest version in sPHENIX GitHub at line 538 of file ePHENIXRICHConstruction.cc
References exit().
Referenced by Construct_HBD(), Construct_HBD_Layers(), and Construct_RICH().
|
inline |
Definition at line 422 of file ePHENIXRICHConstruction.h.
View newest version in sPHENIX GitHub at line 422 of file ePHENIXRICHConstruction.h
References m_DisplayAction.
Referenced by Construct_RICH().
int ePHENIXRICHConstruction::is_in_sector | ( | G4VPhysicalVolume * | volume | ) | const |
Checks if volume is sector volume
Definition at line 529 of file ePHENIXRICHConstruction.cc.
View newest version in sPHENIX GitHub at line 529 of file ePHENIXRICHConstruction.cc
References sector_vec.
|
inlinevirtual |
Reimplemented in PHG4RICHDetector.
Definition at line 401 of file ePHENIXRICHConstruction.h.
View newest version in sPHENIX GitHub at line 401 of file ePHENIXRICHConstruction.h
References overlapcheck_rich.
|
protected |
Definition at line 68 of file ePHENIXRICHConstruction.cc.
View newest version in sPHENIX GitHub at line 68 of file ePHENIXRICHConstruction.cc
References map_log_vol, and v.
Referenced by Construct_HBD(), Construct_HBD_Layers(), and Construct_RICH().
|
protected |
Definition at line 87 of file ePHENIXRICHConstruction.cc.
View newest version in sPHENIX GitHub at line 87 of file ePHENIXRICHConstruction.cc
References map_phy_vol, and v.
Referenced by Construct_HBD(), Construct_HBD_Layers(), and Construct_RICH().
RICH_Geometry ePHENIXRICH::ePHENIXRICHConstruction::geom |
Definition at line 416 of file ePHENIXRICHConstruction.h.
View newest version in sPHENIX GitHub at line 416 of file ePHENIXRICHConstruction.h
Referenced by Construct_HBD(), Construct_HBD_Layers(), and Construct_RICH().
|
protected |
Definition at line 439 of file ePHENIXRICHConstruction.h.
View newest version in sPHENIX GitHub at line 439 of file ePHENIXRICHConstruction.h
Referenced by GetDisplayAction().
|
protected |
Definition at line 431 of file ePHENIXRICHConstruction.h.
View newest version in sPHENIX GitHub at line 431 of file ePHENIXRICHConstruction.h
Referenced by PHG4RICHDetector::ConstructMe(), and RegisterLogicalVolume().
|
protected |
Definition at line 440 of file ePHENIXRICHConstruction.h.
View newest version in sPHENIX GitHub at line 440 of file ePHENIXRICHConstruction.h
Referenced by RegisterPhysicalVolume().
|
protected |
Definition at line 442 of file ePHENIXRICHConstruction.h.
View newest version in sPHENIX GitHub at line 442 of file ePHENIXRICHConstruction.h
Referenced by Construct_HBD(), Construct_HBD_Layers(), Construct_RICH(), and OverlapCheck().
|
protected |
Set of volumes
Definition at line 447 of file ePHENIXRICHConstruction.h.
View newest version in sPHENIX GitHub at line 447 of file ePHENIXRICHConstruction.h
Referenced by Construct_RICH(), and is_in_sector().