ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHG4Sector::PHG4SectorConstructor Class Reference

Generalized detector which use sectors of flat panels to cover full azimuthal acceptance. More...

#include <coresoftware/blob/master/simulation/g4simulation/g4detectors/PHG4SectorConstructor.h>

+ Inheritance diagram for PHG4Sector::PHG4SectorConstructor:
+ Collaboration diagram for PHG4Sector::PHG4SectorConstructor:

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

G4VSolidConstruct_Sectors_Plane (const std::string &name, const double start_z, const double thickness, G4VSolid *SecConeBoundary_Det)
 
G4LogicalVolumeRegisterLogicalVolume (G4LogicalVolume *)
 
G4PVPlacementRegisterPhysicalVolume (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

PHG4SectorDisplayActionm_DisplayAction
 
int m_Verbosity
 

Detailed Description

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

Member Typedef Documentation

Definition at line 397 of file PHG4SectorConstructor.h.

View newest version in sPHENIX GitHub at line 397 of file PHG4SectorConstructor.h

Definition at line 404 of file PHG4SectorConstructor.h.

View newest version in sPHENIX GitHub at line 404 of file PHG4SectorConstructor.h

Definition at line 403 of file PHG4SectorConstructor.h.

View newest version in sPHENIX GitHub at line 403 of file PHG4SectorConstructor.h

Constructor & Destructor Documentation

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

virtual PHG4Sector::PHG4SectorConstructor::~PHG4SectorConstructor ( )
inlinevirtual

Definition at line 357 of file PHG4SectorConstructor.h.

View newest version in sPHENIX GitHub at line 357 of file PHG4SectorConstructor.h

Member Function Documentation

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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4VSolid * PHG4SectorConstructor::Construct_Sectors_Plane ( const std::string &  name,
const double  start_z,
const double  thickness,
G4VSolid SecConeBoundary_Det 
)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4Sector::PHG4SectorConstructor::OverlapCheck ( bool  check)
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.

G4LogicalVolume * PHG4SectorConstructor::RegisterLogicalVolume ( G4LogicalVolume v)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4PVPlacement * PHG4SectorConstructor::RegisterPhysicalVolume ( G4PVPlacement v,
const bool  active = false 
)
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHG4Sector::PHG4SectorConstructor::Verbosity ( int  v)
inline

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.

int PHG4Sector::PHG4SectorConstructor::Verbosity ( ) const
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().

+ Here is the caller graph for this function:

Member Data Documentation

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().

PHG4SectorDisplayAction* PHG4Sector::PHG4SectorConstructor::m_DisplayAction
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().

int PHG4Sector::PHG4SectorConstructor::m_Verbosity
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().

map_phy_vol_t PHG4Sector::PHG4SectorConstructor::map_active_phy_vol
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().

map_log_vol_t PHG4Sector::PHG4SectorConstructor::map_log_vol
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().

map_phy_vol_t PHG4Sector::PHG4SectorConstructor::map_phy_vol
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().

bool PHG4Sector::PHG4SectorConstructor::overlapcheck_sector
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().


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