Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/simulation/g4simulation/g4mvtx/PHG4MvtxSupport.h>
Public Member Functions | |
PHG4MvtxSupport (PHG4MvtxDetector *detector, PHG4MvtxDisplayAction *dispAct, bool overlapCheck) | |
virtual | ~PHG4MvtxSupport () |
void | ConstructMvtxSupport (G4LogicalVolume *&lv) |
Private Member Functions | |
void | CreateMvtxSupportMaterials () |
void | CreateEndWheelsSideN (G4AssemblyVolume *&av) |
void | CreateEndWheelsSideS (G4AssemblyVolume *&av) |
void | CreateConeLayers (G4AssemblyVolume *&av) |
void | CreateCYSS (G4AssemblyVolume *&av) |
void | CreateServiceBarrel (G4AssemblyVolume *&av) |
void | GetEndWheelSideN (const int lay, G4AssemblyVolume *&endWheel) |
void | GetEndWheelSideS (const int lay, G4AssemblyVolume *&endWheel) |
void | GetConeVolume (int lay, G4AssemblyVolume *&av) |
void | CreateCable (PHG4MvtxCable *object, G4AssemblyVolume &assemblyVolume) |
void | CreateCableBundle (G4AssemblyVolume &assemblyVolume, const std::string &superName, bool enableSignal, bool enableCooling, bool enablePower, double x1, double x2, double y1, double y2, double z1, double z2) |
G4AssemblyVolume * | buildBarrelCable () |
G4AssemblyVolume * | buildLayerCables (const int &lay) |
Private Attributes | |
PHG4MvtxDetector * | m_Detector {nullptr} |
PHG4MvtxDisplayAction * | m_DisplayAction {nullptr} |
G4AssemblyVolume * | m_avSupport {nullptr} |
G4AssemblyVolume * | m_avBarrelCable {nullptr} |
std::array< G4AssemblyVolume *, PHG4MvtxDefs::kNLayers > | m_avLayerCable {nullptr, nullptr, nullptr} |
bool | m_overlapCheck {false} |
Definition at line 15 of file PHG4MvtxSupport.h.
View newest version in sPHENIX GitHub at line 15 of file PHG4MvtxSupport.h
PHG4MvtxSupport::PHG4MvtxSupport | ( | PHG4MvtxDetector * | detector, |
PHG4MvtxDisplayAction * | dispAct, | ||
bool | overlapCheck | ||
) |
Definition at line 72 of file PHG4MvtxSupport.cc.
View newest version in sPHENIX GitHub at line 72 of file PHG4MvtxSupport.cc
|
virtual |
Definition at line 80 of file PHG4MvtxSupport.cc.
View newest version in sPHENIX GitHub at line 80 of file PHG4MvtxSupport.cc
References m_avBarrelCable, m_avLayerCable, and m_avSupport.
|
private |
Definition at line 1125 of file PHG4MvtxSupport.cc.
View newest version in sPHENIX GitHub at line 1125 of file PHG4MvtxSupport.cc
References ServiceProperties::BarrelCableEnd, ServiceProperties::BarrelCableStart, Acts::UnitConstants::cm, CreateCableBundle(), ServiceProperties::sEndWheelSNHolesZdist, ServiceProperties::sEndWStepHoleZdist, and ServiceProperties::sEndWStepHoleZpos.
Referenced by ConstructMvtxSupport().
|
private |
Definition at line 1138 of file PHG4MvtxSupport.cc.
View newest version in sPHENIX GitHub at line 1138 of file PHG4MvtxSupport.cc
References ServiceProperties::BarrelCableStart, CreateCableBundle(), Acts::UnitConstants::mm, ServiceProperties::sEndWheelSNHolesZdist, ServiceProperties::sEndWStepHoleZdist, ServiceProperties::sEndWStepHoleZpos, and to_string().
Referenced by ConstructMvtxSupport().
void PHG4MvtxSupport::ConstructMvtxSupport | ( | G4LogicalVolume *& | lv | ) |
Definition at line 1161 of file PHG4MvtxSupport.cc.
View newest version in sPHENIX GitHub at line 1161 of file PHG4MvtxSupport.cc
References ServiceProperties::BarrelRadius, buildBarrelCable(), buildLayerCables(), ServiceProperties::cableRotate, Acts::UnitConstants::cm, CreateConeLayers(), CreateCYSS(), CreateEndWheelsSideN(), CreateEndWheelsSideS(), CreateMvtxSupportMaterials(), CreateServiceBarrel(), deg, i, PHG4MvtxDefs::kNLayers, PHG4MvtxDefs::kNStave, m_avBarrelCable, m_avLayerCable, m_avSupport, m_overlapCheck, PHG4MvtxDefs::mvtxdat, ActsTests::PropagationDatasets::phi, and Ra.
Referenced by PHG4MvtxDetector::ConstructMvtxPassiveVol().
|
private |
Definition at line 904 of file PHG4MvtxSupport.cc.
View newest version in sPHENIX GitHub at line 904 of file PHG4MvtxSupport.cc
References PHG4MvtxDisplayAction::AddVolume(), PHG4MvtxDetector::FillSupportLVArray(), PHG4MvtxCable::get_color(), PHG4MvtxCable::get_name(), PHG4Detector::GetDetectorMaterial(), i, G4PLUGDOOR::length, m_Detector, m_DisplayAction, and Acts::Test::transform.
Referenced by CreateCableBundle().
|
private |
Definition at line 959 of file PHG4MvtxSupport.cc.
View newest version in sPHENIX GitHub at line 959 of file PHG4MvtxSupport.cc
References Acts::UnitConstants::cm, CreateCable(), material_mapping_optimisation::format, and str.
Referenced by buildBarrelCable(), and buildLayerCables().
|
private |
Definition at line 485 of file PHG4MvtxSupport.cc.
View newest version in sPHENIX GitHub at line 485 of file PHG4MvtxSupport.cc
References GetConeVolume(), and PHG4MvtxDefs::kNLayers.
Referenced by ConstructMvtxSupport().
|
private |
Definition at line 560 of file PHG4MvtxSupport.cc.
View newest version in sPHENIX GitHub at line 560 of file PHG4MvtxSupport.cc
References PHG4MvtxDisplayAction::AddVolume(), PHG4MvtxDetector::FillSupportLVArray(), PHG4Detector::GetDetectorMaterial(), m_Detector, m_DisplayAction, Acts::UnitConstants::mm, Ra, Acts::UnitConstants::rad, ServiceProperties::sCYSSFlgSsfConesf, ServiceProperties::sCYSSFlgSsfCylsf, ServiceProperties::sCYSSFlgSsfFlgNsf, ServiceProperties::sCYSSFlgSsfRibsf, ServiceProperties::sEndWheelNLen, ServiceProperties::sEndWheelSNHolesZdist, ServiceProperties::sEndWStepHoleZdist, and ServiceProperties::sEndWStepHoleZpos.
Referenced by ConstructMvtxSupport().
|
private |
Definition at line 134 of file PHG4MvtxSupport.cc.
View newest version in sPHENIX GitHub at line 134 of file PHG4MvtxSupport.cc
References GetEndWheelSideN(), and PHG4MvtxDefs::kNLayers.
Referenced by ConstructMvtxSupport().
|
private |
Definition at line 318 of file PHG4MvtxSupport.cc.
View newest version in sPHENIX GitHub at line 318 of file PHG4MvtxSupport.cc
References GetEndWheelSideS(), and PHG4MvtxDefs::kNLayers.
Referenced by ConstructMvtxSupport().
|
private |
Definition at line 100 of file PHG4MvtxSupport.cc.
View newest version in sPHENIX GitHub at line 100 of file PHG4MvtxSupport.cc
References Acts::UnitConstants::cm3, Acts::UnitConstants::g, PHG4Detector::GetDetectorElement(), PHG4Detector::GetDetectorMaterial(), and material.
Referenced by ConstructMvtxSupport().
|
private |
Definition at line 814 of file PHG4MvtxSupport.cc.
View newest version in sPHENIX GitHub at line 814 of file PHG4MvtxSupport.cc
References PHG4MvtxDisplayAction::AddVolume(), PHG4MvtxDetector::FillSupportLVArray(), PHG4Detector::GetDetectorMaterial(), m_Detector, m_DisplayAction, Acts::UnitConstants::mm, Ra, ServiceProperties::sCYSSFlgSsfFlgNsf, ServiceProperties::sEndWheelNLen, ServiceProperties::sEndWheelSNHolesZdist, ServiceProperties::sEndWStepHoleZdist, and ServiceProperties::sEndWStepHoleZpos.
Referenced by ConstructMvtxSupport().
|
private |
Definition at line 494 of file PHG4MvtxSupport.cc.
View newest version in sPHENIX GitHub at line 494 of file PHG4MvtxSupport.cc
References PHG4MvtxDisplayAction::AddVolume(), PHG4MvtxDetector::FillSupportLVArray(), PHG4Detector::GetDetectorMaterial(), m_Detector, m_DisplayAction, Acts::UnitConstants::mm, Ra, Acts::UnitConstants::rad, ServiceProperties::sEndWheelSNHolesZdist, ServiceProperties::sEndWStepHoleZdist, ServiceProperties::sEndWStepHoleZpos, and to_string().
Referenced by CreateConeLayers().
|
private |
Definition at line 143 of file PHG4MvtxSupport.cc.
View newest version in sPHENIX GitHub at line 143 of file PHG4MvtxSupport.cc
References PHG4MvtxDisplayAction::AddVolume(), deg, INTTVtxZ::dphi, PHG4MvtxDetector::FillSupportLVArray(), PHG4Detector::GetDetectorMaterial(), j, PHG4MvtxDefs::kNStave, PHG4MvtxDefs::kPhi0, m_Detector, m_DisplayAction, Acts::UnitConstants::mm, PHG4MvtxDefs::mvtxdat, ActsTests::PropagationDatasets::phi, MATSCAN::phimin, Ra, Acts::UnitConstants::rad, ServiceProperties::sEndWheelNLen, ServiceProperties::sEndWheelSNHolesZdist, ServiceProperties::sEndWStepHoleZdist, ServiceProperties::sEndWStepHoleZpos, to_string(), and xpos.
Referenced by CreateEndWheelsSideN().
|
private |
Definition at line 327 of file PHG4MvtxSupport.cc.
View newest version in sPHENIX GitHub at line 327 of file PHG4MvtxSupport.cc
References PHG4MvtxDisplayAction::AddVolume(), deg, INTTVtxZ::dphi, PHG4MvtxDetector::FillSupportLVArray(), PHG4Detector::GetDetectorMaterial(), j, PHG4MvtxDefs::kNStave, PHG4MvtxDefs::kPhi0, m_Detector, m_DisplayAction, Acts::UnitConstants::mm, PHG4MvtxDefs::mvtxdat, ActsTests::PropagationDatasets::phi, MATSCAN::phimin, Ra, Acts::UnitConstants::rad, ServiceProperties::sEndWheelSNHolesZdist, ServiceProperties::sEndWStepHoleZdist, ServiceProperties::sEndWStepHoleZpos, to_string(), and xpos.
Referenced by CreateEndWheelsSideS().
|
private |
Definition at line 49 of file PHG4MvtxSupport.h.
View newest version in sPHENIX GitHub at line 49 of file PHG4MvtxSupport.h
Referenced by ConstructMvtxSupport(), and ~PHG4MvtxSupport().
|
private |
Definition at line 50 of file PHG4MvtxSupport.h.
View newest version in sPHENIX GitHub at line 50 of file PHG4MvtxSupport.h
Referenced by ConstructMvtxSupport(), and ~PHG4MvtxSupport().
|
private |
Definition at line 48 of file PHG4MvtxSupport.h.
View newest version in sPHENIX GitHub at line 48 of file PHG4MvtxSupport.h
Referenced by ConstructMvtxSupport(), and ~PHG4MvtxSupport().
|
private |
Definition at line 25 of file PHG4MvtxSupport.h.
View newest version in sPHENIX GitHub at line 25 of file PHG4MvtxSupport.h
Referenced by CreateCable(), CreateCYSS(), CreateServiceBarrel(), GetConeVolume(), GetEndWheelSideN(), and GetEndWheelSideS().
|
private |
Definition at line 26 of file PHG4MvtxSupport.h.
View newest version in sPHENIX GitHub at line 26 of file PHG4MvtxSupport.h
Referenced by CreateCable(), CreateCYSS(), CreateServiceBarrel(), GetConeVolume(), GetEndWheelSideN(), and GetEndWheelSideS().
|
private |
Definition at line 52 of file PHG4MvtxSupport.h.
View newest version in sPHENIX GitHub at line 52 of file PHG4MvtxSupport.h
Referenced by ConstructMvtxSupport().