ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Generalized detector which use sectors of flat panels to cover full azimuthal acceptance. More...
#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4SectorConstructor.h>
Public Member Functions | |
PHG4SectorConstructor (const std::string &name, PHG4Subsystem *subsys) | |
virtual | ~PHG4SectorConstructor () |
void | Construct_Sectors (G4LogicalVolume *WorldLog) |
void | OverlapCheck (bool check) |
void | Verbosity (int v) |
int | Verbosity () const |
Public Attributes | |
std::string | name_base |
Sector_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 | |
G4VSolid * | Construct_Sectors_Plane (const std::string &name, const double start_z, const double thickness, G4VSolid *SecConeBoundary_Det) |
G4LogicalVolume * | RegisterLogicalVolume (G4LogicalVolume *) |
G4PVPlacement * | RegisterPhysicalVolume (G4PVPlacement *v, const bool active=false) |
Protected Attributes | |
bool | overlapcheck_sector |
map_log_vol_t | map_log_vol |
map_phy_vol_t | map_phy_vol |
map_phy_vol_t | map_active_phy_vol |
all physics volume | |
Private Attributes | |
PHG4SectorDisplayAction * | m_DisplayAction |
int | m_Verbosity |
Generalized detector which use sectors of flat panels to cover full azimuthal acceptance.
Definition at line 353 of file PHG4SectorConstructor.h.
View newest version in sPHENIX GitHub at line 353 of file PHG4SectorConstructor.h
|
protected |
Definition at line 397 of file PHG4SectorConstructor.h.
View newest version in sPHENIX GitHub at line 397 of file PHG4SectorConstructor.h
|
protected |
Definition at line 404 of file PHG4SectorConstructor.h.
View newest version in sPHENIX GitHub at line 404 of file PHG4SectorConstructor.h
|
protected |
Definition at line 403 of file PHG4SectorConstructor.h.
View newest version in sPHENIX GitHub at line 403 of file PHG4SectorConstructor.h
PHG4SectorConstructor::PHG4SectorConstructor | ( | const std::string & | name, |
PHG4Subsystem * | subsys | ||
) |
Definition at line 43 of file PHG4SectorConstructor.cc.
View newest version in sPHENIX GitHub at line 43 of file PHG4SectorConstructor.cc
|
inlinevirtual |
Definition at line 357 of file PHG4SectorConstructor.h.
View newest version in sPHENIX GitHub at line 357 of file PHG4SectorConstructor.h
void PHG4SectorConstructor::Construct_Sectors | ( | G4LogicalVolume * | WorldLog | ) |
Definition at line 51 of file PHG4SectorConstructor.cc.
View newest version in sPHENIX GitHub at line 51 of file PHG4SectorConstructor.cc
References kdfinder::abs(), PHG4Sector::Layer::active, PHG4SectorDisplayAction::AddVolume(), cm, Construct_Sectors_Plane(), PHG4Sector::Layer::depth, epsilon(), FatalException, G4Exception(), geom, PHG4Sector::Sector_Geometry::get_material(), PHG4Sector::Sector_Geometry::get_max_polar_angle(), PHG4Sector::Sector_Geometry::get_max_polar_edge(), PHG4Sector::Sector_Geometry::get_max_R(), PHG4Sector::Sector_Geometry::get_min_polar_angle(), PHG4Sector::Sector_Geometry::get_min_polar_edge(), PHG4Sector::Sector_Geometry::get_N_Sector(), PHG4Sector::Sector_Geometry::get_normal_polar_angle(), PHG4Sector::Sector_Geometry::get_normal_start(), PHG4Sector::Sector_Geometry::get_total_thickness(), PHG4Detector::GetDetectorMaterial(), HepGeom::Transform3D::inverse(), it, JustWarning, PHG4Sector::Sector_Geometry::kConeEdge, PHG4Sector::Sector_Geometry::kFlatEdge, PHG4Sector::Sector_Geometry::layer_list, m_DisplayAction, map_active_phy_vol, map_log_vol, map_phy_vol, PHG4Sector::Layer::material, PHG4Sector::Layer::name, name_base, overlapcheck_sector, perCent, PHG4Sector::Layer::percentage_filled, pi, RegisterLogicalVolume(), RegisterPhysicalVolume(), PHG4Sector::Sector_Geometry::set_max_polar_angle(), PHG4Sector::Sector_Geometry::set_min_polar_angle(), t, um, Verbosity(), and ETOF::z_start.
Referenced by PHG4SectorDetector::ConstructMe().
|
protected |
Definition at line 214 of file PHG4SectorConstructor.cc.
View newest version in sPHENIX GitHub at line 214 of file PHG4SectorConstructor.cc
References geom, PHG4Sector::Sector_Geometry::get_max_R(), and pi.
Referenced by Construct_Sectors().
|
inline |
Definition at line 363 of file PHG4SectorConstructor.h.
View newest version in sPHENIX GitHub at line 363 of file PHG4SectorConstructor.h
References overlapcheck_sector.
|
protected |
Definition at line 264 of file PHG4SectorConstructor.cc.
View newest version in sPHENIX GitHub at line 264 of file PHG4SectorConstructor.cc
References G4LogicalVolume::GetName(), map_log_vol, and v.
Referenced by Construct_Sectors().
|
protected |
Definition at line 285 of file PHG4SectorConstructor.cc.
View newest version in sPHENIX GitHub at line 285 of file PHG4SectorConstructor.cc
References G4PVPlacement::GetCopyNo(), G4VPhysicalVolume::GetName(), map_active_phy_vol, map_phy_vol, and v.
Referenced by Construct_Sectors().
Definition at line 368 of file PHG4SectorConstructor.h.
View newest version in sPHENIX GitHub at line 368 of file PHG4SectorConstructor.h
References m_Verbosity, and v.
|
inline |
Definition at line 369 of file PHG4SectorConstructor.h.
View newest version in sPHENIX GitHub at line 369 of file PHG4SectorConstructor.h
References m_Verbosity.
Referenced by Construct_Sectors().
Sector_Geometry PHG4Sector::PHG4SectorConstructor::geom |
Definition at line 387 of file PHG4SectorConstructor.h.
View newest version in sPHENIX GitHub at line 387 of file PHG4SectorConstructor.h
Referenced by Construct_Sectors(), Construct_Sectors_Plane(), and PHG4SectorSubsystem::Init().
|
private |
Definition at line 390 of file PHG4SectorConstructor.h.
View newest version in sPHENIX GitHub at line 390 of file PHG4SectorConstructor.h
Referenced by Construct_Sectors().
|
private |
Definition at line 391 of file PHG4SectorConstructor.h.
View newest version in sPHENIX GitHub at line 391 of file PHG4SectorConstructor.h
Referenced by Verbosity().
|
protected |
all physics volume
Definition at line 406 of file PHG4SectorConstructor.h.
View newest version in sPHENIX GitHub at line 406 of file PHG4SectorConstructor.h
Referenced by Construct_Sectors(), PHG4SectorDetector::IsInSectorActive(), and RegisterPhysicalVolume().
|
protected |
Definition at line 398 of file PHG4SectorConstructor.h.
View newest version in sPHENIX GitHub at line 398 of file PHG4SectorConstructor.h
Referenced by Construct_Sectors(), PHG4SectorDetector::ConstructMe(), and RegisterLogicalVolume().
|
protected |
Definition at line 405 of file PHG4SectorConstructor.h.
View newest version in sPHENIX GitHub at line 405 of file PHG4SectorConstructor.h
Referenced by Construct_Sectors(), and RegisterPhysicalVolume().
std::string PHG4Sector::PHG4SectorConstructor::name_base |
Definition at line 385 of file PHG4SectorConstructor.h.
View newest version in sPHENIX GitHub at line 385 of file PHG4SectorConstructor.h
Referenced by Construct_Sectors(), and PHG4SectorDetector::ConstructMe().
|
protected |
Definition at line 372 of file PHG4SectorConstructor.h.
View newest version in sPHENIX GitHub at line 372 of file PHG4SectorConstructor.h
Referenced by Construct_Sectors(), and OverlapCheck().