ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <geant4/tree/geant4-10.6-release/examples/advanced/ChargeExchangeMC/include/CexmcScenePrimitives.hh>
Classes | |
struct | CexmcRadialLine |
Private Types | |
typedef std::vector < CexmcRadialLine > | CexmcRadialLines |
typedef std::map< CexmcSPType, G4Colour > | CexmcSPColourMap |
Private Member Functions | |
void | DrawRadialLine (G4VGraphicsScene &scene, const CexmcRadialLine *rLine) |
void | MarkTargetCenter (G4VGraphicsScene &scene) |
void | HighlightInnerCrystals (G4VGraphicsScene &scene) |
void | UpdateScene (void) |
Private Attributes | |
CexmcSetup * | setup |
G4bool | markTargetCenter |
G4bool | highlightInnerCrystals |
CexmcRadialLines | radialLines |
CexmcSPColourMap | spColours |
CexmcScenePrimitivesMessenger * | messenger |
Additional Inherited Members | |
Protected Attributes inherited from G4VModel | |
G4String | fType |
G4String | fGlobalTag |
G4String | fGlobalDescription |
G4VisExtent | fExtent |
G4Transform3D | fTransform |
const G4ModelingParameters * | fpMP |
Definition at line 67 of file CexmcScenePrimitives.hh.
View newest version in sPHENIX GitHub at line 67 of file CexmcScenePrimitives.hh
|
private |
Definition at line 83 of file CexmcScenePrimitives.hh.
View newest version in sPHENIX GitHub at line 83 of file CexmcScenePrimitives.hh
|
private |
Definition at line 85 of file CexmcScenePrimitives.hh.
View newest version in sPHENIX GitHub at line 85 of file CexmcScenePrimitives.hh
|
explicit |
Definition at line 71 of file CexmcScenePrimitives.cc.
View newest version in sPHENIX GitHub at line 71 of file CexmcScenePrimitives.cc
References CexmcInnerCrystalsHl_SP, CexmcRadialLine_SP, CexmcScenePrimitivesDescription, CexmcTargetCenterMark_SP, messenger, G4VModel::SetGlobalDescription(), and spColours.
CexmcScenePrimitives::~CexmcScenePrimitives | ( | ) |
Definition at line 83 of file CexmcScenePrimitives.cc.
View newest version in sPHENIX GitHub at line 83 of file CexmcScenePrimitives.cc
References messenger.
Definition at line 161 of file CexmcScenePrimitives.hh.
View newest version in sPHENIX GitHub at line 161 of file CexmcScenePrimitives.hh
References radialLines, and UpdateScene().
Referenced by CexmcScenePrimitivesMessenger::SetNewValue().
|
virtual |
Implements G4VModel.
Definition at line 89 of file CexmcScenePrimitives.cc.
View newest version in sPHENIX GitHub at line 89 of file CexmcScenePrimitives.cc
References DrawRadialLine(), HighlightInnerCrystals(), highlightInnerCrystals, k, MarkTargetCenter(), markTargetCenter, and radialLines.
|
inline |
Definition at line 140 of file CexmcScenePrimitives.hh.
View newest version in sPHENIX GitHub at line 140 of file CexmcScenePrimitives.hh
References radialLines, and UpdateScene().
Referenced by DescribeYourselfTo(), and CexmcScenePrimitivesMessenger::SetNewValue().
|
private |
Definition at line 120 of file CexmcScenePrimitives.cc.
View newest version in sPHENIX GitHub at line 120 of file CexmcScenePrimitives.cc
References G4VGraphicsScene::AddPrimitive(), G4VGraphicsScene::BeginPrimitives(), CexmcRadialLine_SP, cm, deg, G4VGraphicsScene::EndPrimitives(), G4VMarker::filled, CexmcSetup::GetTargetTransform(), BTOF::length, CexmcScenePrimitives::CexmcRadialLine::length, CexmcScenePrimitives::CexmcRadialLine::phi, phi, G4VMarker::SetFillStyle(), G4VisAttributes::SetLineWidth(), G4VMarker::SetScreenSize(), setup, G4Visible::SetVisAttributes(), spColours, CexmcScenePrimitives::CexmcRadialLine::theta, theta(), and Acts::Test::transform.
Definition at line 154 of file CexmcScenePrimitives.hh.
View newest version in sPHENIX GitHub at line 154 of file CexmcScenePrimitives.hh
References highlightInnerCrystals, and UpdateScene().
Referenced by DescribeYourselfTo(), and CexmcScenePrimitivesMessenger::SetNewValue().
|
private |
Definition at line 154 of file CexmcScenePrimitives.cc.
View newest version in sPHENIX GitHub at line 154 of file CexmcScenePrimitives.cc
References G4VGraphicsScene::AddPrimitive(), G4VGraphicsScene::BeginPrimitives(), CexmcInnerCrystalsHl_SP, G4VGraphicsScene::EndPrimitives(), CexmcSetup::GetCalorimeterGeometry(), CexmcSetup::GetCalorimeterLeftTransform(), CexmcSetup::GetCalorimeterRightTransform(), G4VisAttributes::SetLineWidth(), setup, G4Visible::SetVisAttributes(), and spColours.
Definition at line 147 of file CexmcScenePrimitives.hh.
View newest version in sPHENIX GitHub at line 147 of file CexmcScenePrimitives.hh
References markTargetCenter, and UpdateScene().
Referenced by DescribeYourselfTo(), and CexmcScenePrimitivesMessenger::SetNewValue().
|
private |
Definition at line 103 of file CexmcScenePrimitives.cc.
View newest version in sPHENIX GitHub at line 103 of file CexmcScenePrimitives.cc
References G4VGraphicsScene::AddPrimitive(), G4VGraphicsScene::BeginPrimitives(), CexmcTargetCenterMark_SP, G4VGraphicsScene::EndPrimitives(), G4VMarker::filled, CexmcSetup::GetTargetTransform(), G4VMarker::SetFillStyle(), G4VMarker::SetScreenSize(), setup, G4Visible::SetVisAttributes(), spColours, and Acts::Test::transform.
|
inline |
Definition at line 133 of file CexmcScenePrimitives.hh.
View newest version in sPHENIX GitHub at line 133 of file CexmcScenePrimitives.hh
References spColours.
Referenced by CexmcScenePrimitivesMessenger::SetNewValue().
Definition at line 168 of file CexmcScenePrimitives.hh.
View newest version in sPHENIX GitHub at line 168 of file CexmcScenePrimitives.hh
References G4VVisManager::GetConcreteInstance(), and G4VVisManager::NotifyHandlers().
Referenced by ClearRadialLines(), DrawRadialLine(), HighlightInnerCrystals(), and MarkTargetCenter().
|
private |
Definition at line 122 of file CexmcScenePrimitives.hh.
View newest version in sPHENIX GitHub at line 122 of file CexmcScenePrimitives.hh
Referenced by DescribeYourselfTo(), and HighlightInnerCrystals().
|
private |
Definition at line 120 of file CexmcScenePrimitives.hh.
View newest version in sPHENIX GitHub at line 120 of file CexmcScenePrimitives.hh
Referenced by DescribeYourselfTo(), and MarkTargetCenter().
|
private |
Definition at line 129 of file CexmcScenePrimitives.hh.
View newest version in sPHENIX GitHub at line 129 of file CexmcScenePrimitives.hh
Referenced by CexmcScenePrimitives(), and ~CexmcScenePrimitives().
|
private |
Definition at line 124 of file CexmcScenePrimitives.hh.
View newest version in sPHENIX GitHub at line 124 of file CexmcScenePrimitives.hh
Referenced by ClearRadialLines(), DescribeYourselfTo(), and DrawRadialLine().
|
private |
Definition at line 118 of file CexmcScenePrimitives.hh.
View newest version in sPHENIX GitHub at line 118 of file CexmcScenePrimitives.hh
Referenced by DrawRadialLine(), HighlightInnerCrystals(), and MarkTargetCenter().
|
private |
Definition at line 126 of file CexmcScenePrimitives.hh.
View newest version in sPHENIX GitHub at line 126 of file CexmcScenePrimitives.hh
Referenced by CexmcScenePrimitives(), DrawRadialLine(), HighlightInnerCrystals(), MarkTargetCenter(), and SetColour().