#include <OpNoviceGDMLDetectorConstruction.hh>
◆ OpNoviceGDMLDetectorConstruction() [1/2]
OpNoviceGDMLDetectorConstruction::OpNoviceGDMLDetectorConstruction |
( |
G4String |
fname | ) |
|
Definition at line 39 of file OpNoviceGDMLDetectorConstruction.cc.
42{
44
46
47 G4cout << "Building detector from GDML file: " << fname << G4endl << G4endl;
48}
OpNoviceDetectorMessenger * fDetectorMessenger
◆ ~OpNoviceGDMLDetectorConstruction()
OpNoviceGDMLDetectorConstruction::~OpNoviceGDMLDetectorConstruction |
( |
| ) |
|
|
override |
◆ OpNoviceGDMLDetectorConstruction() [2/2]
◆ Construct()
◆ ConstructSDandField()
void OpNoviceGDMLDetectorConstruction::ConstructSDandField |
( |
| ) |
|
|
override |
◆ ReadGDML()
void OpNoviceGDMLDetectorConstruction::ReadGDML |
( |
| ) |
|
Definition at line 71 of file OpNoviceGDMLDetectorConstruction.cc.
72{
76
78 pworldLogical->SetVisAttributes(nullptr);
79 G4cout << world->GetTranslation() << G4endl << G4endl;
81 {
82 G4cout << "Found world: " << world->GetName() << G4endl;
83 G4cout << "world LV: " << world->GetLogicalVolume()->GetName() << G4endl;
84 }
87 {
88 G4cout << "Found " << pLVStore->size() << " logical volumes." << G4endl
89 << G4endl;
90 }
93 {
94 G4cout << "Found " << pPVStore->size() << " physical volumes." << G4endl
95 << G4endl;
96 }
97}
◆ UpdateGeometry()
void OpNoviceGDMLDetectorConstruction::UpdateGeometry |
( |
| ) |
|
◆ SetDumpGdml()
void OpNoviceGDMLDetectorConstruction::SetDumpGdml |
( |
G4bool |
val | ) |
|
◆ IsDumpGdml()
G4bool OpNoviceGDMLDetectorConstruction::IsDumpGdml |
( |
| ) |
const |
◆ SetVerbose()
void OpNoviceGDMLDetectorConstruction::SetVerbose |
( |
G4bool |
fverbose | ) |
|
◆ IsVerbose()
G4bool OpNoviceGDMLDetectorConstruction::IsVerbose |
( |
| ) |
const |
◆ SetDumpGdmlFile()
void OpNoviceGDMLDetectorConstruction::SetDumpGdmlFile |
( |
G4String |
fDumpGdmlFile | ) |
|
◆ GetDumpGdmlFileName()
G4String OpNoviceGDMLDetectorConstruction::GetDumpGdmlFileName |
( |
| ) |
const |
◆ operator=()
◆ fDetectorMessenger
◆ fParser
G4GDMLParser* OpNoviceGDMLDetectorConstruction::fParser = nullptr |
|
private |
◆ fGdmlFile
G4String OpNoviceGDMLDetectorConstruction::fGdmlFile |
|
private |
◆ fDumpGdmlFileName
G4String OpNoviceGDMLDetectorConstruction::fDumpGdmlFileName = "OpNovice_dump.gdml" |
|
private |
◆ fVerbose
G4bool OpNoviceGDMLDetectorConstruction::fVerbose = false |
|
private |
◆ fDumpGdml
G4bool OpNoviceGDMLDetectorConstruction::fDumpGdml = false |
|
private |
The documentation for this class was generated from the following files: