ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
DetectorDescription
AGDD
AGDDControl
AGDDControl
AGDDController.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef AGDDController_H
6
#define AGDDController_H
7
8
class
AGDDBuilder
;
9
class
IAGDDParser
;
10
class
GeoFullPhysVol;
11
#include "
GeoPrimitives/GeoPrimitives.h
"
13
#include "
AGDDKernel/AGDDSectionStore.h
"
14
#include "
AGDDKernel/AGDDVolumeStore.h
"
15
#include "
AGDDKernel/AGDDSectionStore.h
"
16
#include "
AGDDKernel/AGDDDetectorStore.h
"
17
#include "
AGDDKernel/AGDDPositionerStore.h
"
18
#include "
AGDDKernel/AliasStore.h
"
19
#include "
AGDDModel/AGDDColorStore.h
"
20
#include "
AGDDModel/AGDDMaterialStore.h
"
21
#include "
AGDDModel/AGDDParameterStore.h
"
22
#include "
AGDDControl/XMLHandlerStore.h
"
23
#include "
AGDDControl/ExpressionEvaluator.h
"
24
#include "
CxxUtils/checker_macros.h
"
25
26
#include <string>
27
#include <vector>
28
29
30
class
AGDDController
{
31
public
:
32
AGDDController
();
33
~AGDDController
();
34
void
SetBuilder
(
AGDDBuilder
*b);
35
void
SetParser
(
IAGDDParser
*b);
36
AGDDBuilder
*
GetBuilder
();
37
IAGDDParser
*
GetParser
();
38
void
AddFile
(
const
std::string& fName);
39
void
AddSection
(
const
std::string&
section
);
40
void
AddVolume
(
const
std::string& volume);
41
void
ParseFiles
();
42
void
ParseString
(
const
std::string&);
43
bool
WriteAGDDtoDBFile
(
const
std::string&);
44
void
PrintSections
()
const
;
45
void
BuildVolumes
();
46
void
BuildSections
();
47
void
BuildAll
();
48
void
Clean
();
49
50
XMLHandlerStore
&
GetHandlerStore
();
51
AGDDVolumeStore
&
GetVolumeStore
();
52
AGDDSectionStore
&
GetSectionStore
();
53
AGDDColorStore
&
GetColorStore
();
54
AGDDDetectorStore
&
GetDetectorStore
();
55
AGDDPositionerStore
&
GetPositionerStore
();
56
AGDDMaterialStore
&
GetMaterialStore
();
57
AGDDParameterStore
&
GetParameterStore
();
58
AliasStore
&
GetAliasStore
();
59
AGDD::ExpressionEvaluator
&
Evaluator
();
60
61
//static void PrintVolumeHierarchy(const std::string&, int);
62
63
void
UseGeoModelDetector
ATLAS_NOT_THREAD_SAFE
(
const
std::string&);
64
65
void
Locked
(
bool
b) {
m_locked
=b;}
66
bool
Locked
()
const
{
return
m_locked
;}
67
68
void
DisableSections
(
bool
b) {
m_disableSections
=b;}
69
bool
DisableSections
()
const
{
return
m_disableSections
;}
70
private
:
71
72
AGDDController
(
const
AGDDController
& c) =
delete
;
73
AGDDController
&
operator=
(
const
AGDDController
& c) =
delete
;
74
IAGDDParser
*
m_theParser
;
75
AGDDBuilder
*
m_theBuilder
;
76
77
std::vector<std::string>
m_filesToParse
;
78
std::vector<std::string>
m_sectionsToBuild
;
79
std::vector<std::string>
m_volumesToBuild
;
80
std::vector<std::string>
m_structuresToBuild
;
81
82
bool
m_locked
;
83
bool
m_disableSections
;
84
85
int
m_printLevel
;
86
87
AGDDVolumeStore
m_vs
;
88
AGDDSectionStore
m_ss
;
89
AGDDColorStore
m_cs
;
90
AGDDDetectorStore
m_ds
;
91
AGDDPositionerStore
m_ps
;
92
AGDDMaterialStore
m_ms
;
93
AGDDParameterStore
m_prs
;
94
XMLHandlerStore
m_xs
;
95
AliasStore
m_as
;
96
AGDD::ExpressionEvaluator
m_eval
;
97
};
98
99
#endif
AGDDColorStore.h
AGDDDetectorStore.h
AGDDMaterialStore.h
AGDDParameterStore.h
AGDDPositionerStore.h
AGDDSectionStore.h
AGDDVolumeStore.h
AliasStore.h
ExpressionEvaluator.h
GeoPrimitives.h
section
void section(const std::string &sec)
Definition
TestTriggerMenuAccess.cxx:22
XMLHandlerStore.h
checker_macros.h
Define macros for attributes used to control the static checker.
AGDDBuilder
Definition
AGDDBuilder.h:31
AGDDColorStore
Definition
AGDDColorStore.h:15
AGDDController::ATLAS_NOT_THREAD_SAFE
void UseGeoModelDetector ATLAS_NOT_THREAD_SAFE(const std::string &)
AGDDController::GetParameterStore
AGDDParameterStore & GetParameterStore()
Definition
AGDDController.cxx:232
AGDDController::DisableSections
void DisableSections(bool b)
Definition
AGDDController.h:68
AGDDController::m_printLevel
int m_printLevel
Definition
AGDDController.h:85
AGDDController::m_theBuilder
AGDDBuilder * m_theBuilder
Definition
AGDDController.h:75
AGDDController::m_prs
AGDDParameterStore m_prs
Definition
AGDDController.h:93
AGDDController::Locked
void Locked(bool b)
Definition
AGDDController.h:65
AGDDController::m_locked
bool m_locked
Definition
AGDDController.h:82
AGDDController::m_xs
XMLHandlerStore m_xs
Definition
AGDDController.h:94
AGDDController::~AGDDController
~AGDDController()
Definition
AGDDController.cxx:31
AGDDController::Clean
void Clean()
Definition
AGDDController.cxx:176
AGDDController::m_theParser
IAGDDParser * m_theParser
Definition
AGDDController.h:74
AGDDController::Locked
bool Locked() const
Definition
AGDDController.h:66
AGDDController::AGDDController
AGDDController()
Definition
AGDDController.cxx:37
AGDDController::GetHandlerStore
XMLHandlerStore & GetHandlerStore()
Definition
AGDDController.cxx:190
AGDDController::operator=
AGDDController & operator=(const AGDDController &c)=delete
AGDDController::GetVolumeStore
AGDDVolumeStore & GetVolumeStore()
Definition
AGDDController.cxx:196
AGDDController::BuildSections
void BuildSections()
Definition
AGDDController.cxx:83
AGDDController::AddFile
void AddFile(const std::string &fName)
Definition
AGDDController.cxx:61
AGDDController::GetParser
IAGDDParser * GetParser()
Definition
AGDDController.cxx:57
AGDDController::GetColorStore
AGDDColorStore & GetColorStore()
Definition
AGDDController.cxx:202
AGDDController::m_ms
AGDDMaterialStore m_ms
Definition
AGDDController.h:92
AGDDController::m_filesToParse
std::vector< std::string > m_filesToParse
Definition
AGDDController.h:77
AGDDController::m_ds
AGDDDetectorStore m_ds
Definition
AGDDController.h:90
AGDDController::m_volumesToBuild
std::vector< std::string > m_volumesToBuild
Definition
AGDDController.h:79
AGDDController::m_ps
AGDDPositionerStore m_ps
Definition
AGDDController.h:91
AGDDController::WriteAGDDtoDBFile
bool WriteAGDDtoDBFile(const std::string &)
Definition
AGDDController.cxx:115
AGDDController::GetDetectorStore
AGDDDetectorStore & GetDetectorStore()
Definition
AGDDController.cxx:214
AGDDController::PrintSections
void PrintSections() const
Definition
AGDDController.cxx:104
AGDDController::DisableSections
bool DisableSections() const
Definition
AGDDController.h:69
AGDDController::Evaluator
AGDD::ExpressionEvaluator & Evaluator()
Definition
AGDDController.cxx:244
AGDDController::AddSection
void AddSection(const std::string §ion)
Definition
AGDDController.cxx:65
AGDDController::m_ss
AGDDSectionStore m_ss
Definition
AGDDController.h:88
AGDDController::AGDDController
AGDDController(const AGDDController &c)=delete
AGDDController::ParseFiles
void ParseFiles()
Definition
AGDDController.cxx:75
AGDDController::m_sectionsToBuild
std::vector< std::string > m_sectionsToBuild
Definition
AGDDController.h:78
AGDDController::GetPositionerStore
AGDDPositionerStore & GetPositionerStore()
Definition
AGDDController.cxx:220
AGDDController::m_eval
AGDD::ExpressionEvaluator m_eval
Definition
AGDDController.h:96
AGDDController::ParseString
void ParseString(const std::string &)
Definition
AGDDController.cxx:109
AGDDController::m_cs
AGDDColorStore m_cs
Definition
AGDDController.h:89
AGDDController::BuildVolumes
void BuildVolumes()
Definition
AGDDController.cxx:92
AGDDController::SetBuilder
void SetBuilder(AGDDBuilder *b)
Definition
AGDDController.cxx:45
AGDDController::m_structuresToBuild
std::vector< std::string > m_structuresToBuild
Definition
AGDDController.h:80
AGDDController::GetSectionStore
AGDDSectionStore & GetSectionStore()
Definition
AGDDController.cxx:208
AGDDController::BuildAll
void BuildAll()
Definition
AGDDController.cxx:98
AGDDController::GetAliasStore
AliasStore & GetAliasStore()
Definition
AGDDController.cxx:238
AGDDController::SetParser
void SetParser(IAGDDParser *b)
Definition
AGDDController.cxx:49
AGDDController::AddVolume
void AddVolume(const std::string &volume)
Definition
AGDDController.cxx:69
AGDDController::m_vs
AGDDVolumeStore m_vs
Definition
AGDDController.h:87
AGDDController::m_as
AliasStore m_as
Definition
AGDDController.h:95
AGDDController::GetMaterialStore
AGDDMaterialStore & GetMaterialStore()
Definition
AGDDController.cxx:226
AGDDController::m_disableSections
bool m_disableSections
Definition
AGDDController.h:83
AGDDController::GetBuilder
AGDDBuilder * GetBuilder()
Definition
AGDDController.cxx:53
AGDDDetectorStore
Definition
AGDDDetectorStore.h:18
AGDDMaterialStore
Definition
AGDDMaterialStore.h:23
AGDDParameterStore
Definition
AGDDParameterStore.h:14
AGDDPositionerStore
Definition
AGDDPositionerStore.h:14
AGDDSectionStore
Definition
AGDDSectionStore.h:15
AGDDVolumeStore
Definition
AGDDVolumeStore.h:15
AGDD::ExpressionEvaluator
Definition
ExpressionEvaluator.h:22
AliasStore
Definition
AliasStore.h:11
IAGDDParser
Definition
IAGDDParser.h:15
XMLHandlerStore
Definition
XMLHandlerStore.h:20
Generated on
for ATLAS Offline Software by
1.17.0