ATLAS Offline Software
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;
18 #include "AGDDKernel/AliasStore.h"
25 
26 #include <string>
27 #include <vector>
28 
29 
31 public:
34  void SetBuilder(AGDDBuilder *b);
35  void SetParser(IAGDDParser *b);
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 
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 
69  bool DisableSections() const {return m_disableSections;}
70 private:
71 
72  AGDDController(const AGDDController& c) = delete;
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;
84 
86 
97 };
98 
99 #endif
AGDDController::AGDDController
AGDDController()
Definition: AGDDController.cxx:37
AGDDDetectorStore.h
AliasStore
Definition: AliasStore.h:11
AGDDController::Locked
bool Locked() const
Definition: AGDDController.h:66
rootconvert.fName
string fName
Definition: rootconvert.py:5
AGDDController::Locked
void Locked(bool b)
Definition: AGDDController.h:65
AGDDController::m_ds
AGDDDetectorStore m_ds
Definition: AGDDController.h:90
AGDDVolumeStore
Definition: AGDDVolumeStore.h:15
AGDDController::ATLAS_NOT_THREAD_SAFE
void UseGeoModelDetector ATLAS_NOT_THREAD_SAFE(const std::string &)
AGDDController::AGDDController
AGDDController(const AGDDController &c)=delete
AGDDController::DisableSections
void DisableSections(bool b)
Definition: AGDDController.h:68
AGDDController::GetMaterialStore
AGDDMaterialStore & GetMaterialStore()
Definition: AGDDController.cxx:226
AGDDController::DisableSections
bool DisableSections() const
Definition: AGDDController.h:69
AGDDController::GetVolumeStore
AGDDVolumeStore & GetVolumeStore()
Definition: AGDDController.cxx:196
XMLHandlerStore
Definition: XMLHandlerStore.h:20
AGDDVolumeStore.h
AGDDController::m_ps
AGDDPositionerStore m_ps
Definition: AGDDController.h:91
AGDDSectionStore.h
IAGDDParser
Definition: IAGDDParser.h:15
AGDDController::BuildAll
void BuildAll()
Definition: AGDDController.cxx:98
AGDDMaterialStore.h
AGDDController::m_volumesToBuild
std::vector< std::string > m_volumesToBuild
Definition: AGDDController.h:79
AGDDController::m_theParser
IAGDDParser * m_theParser
Definition: AGDDController.h:74
AGDDParameterStore.h
AGDDController::m_sectionsToBuild
std::vector< std::string > m_sectionsToBuild
Definition: AGDDController.h:78
AGDDController::m_vs
AGDDVolumeStore m_vs
Definition: AGDDController.h:87
AGDDController::BuildVolumes
void BuildVolumes()
Definition: AGDDController.cxx:92
AGDDController::ParseString
void ParseString(const std::string &)
Definition: AGDDController.cxx:109
AGDDController
Definition: AGDDController.h:30
AGDDController::m_ms
AGDDMaterialStore m_ms
Definition: AGDDController.h:92
AGDDSectionStore
Definition: AGDDSectionStore.h:15
GeoPrimitives.h
AGDDBuilder
Definition: AGDDBuilder.h:31
AliasStore.h
AGDDController::GetHandlerStore
XMLHandlerStore & GetHandlerStore()
Definition: AGDDController.cxx:190
AGDDController::m_xs
XMLHandlerStore m_xs
Definition: AGDDController.h:94
AGDDController::BuildSections
void BuildSections()
Definition: AGDDController.cxx:83
AGDDController::Clean
void Clean()
Definition: AGDDController.cxx:176
XMLHandlerStore.h
AGDDController::m_prs
AGDDParameterStore m_prs
Definition: AGDDController.h:93
AGDDColorStore
Definition: AGDDColorStore.h:15
AGDDController::Evaluator
AGDD::ExpressionEvaluator & Evaluator()
Definition: AGDDController.cxx:244
AGDDController::m_ss
AGDDSectionStore m_ss
Definition: AGDDController.h:88
AGDDController::ParseFiles
void ParseFiles()
Definition: AGDDController.cxx:75
AGDDController::m_filesToParse
std::vector< std::string > m_filesToParse
Definition: AGDDController.h:77
AGDDController::m_eval
AGDD::ExpressionEvaluator m_eval
Definition: AGDDController.h:96
AGDDMaterialStore
Definition: AGDDMaterialStore.h:23
AGDDController::AddVolume
void AddVolume(const std::string &volume)
Definition: AGDDController.cxx:69
AGDDController::m_as
AliasStore m_as
Definition: AGDDController.h:95
AGDDController::AddFile
void AddFile(const std::string &fName)
Definition: AGDDController.cxx:61
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
AGDDController::WriteAGDDtoDBFile
bool WriteAGDDtoDBFile(const std::string &)
Definition: AGDDController.cxx:115
AGDDPositionerStore
Definition: AGDDPositionerStore.h:14
AGDDDetectorStore
Definition: AGDDDetectorStore.h:18
AGDDController::GetDetectorStore
AGDDDetectorStore & GetDetectorStore()
Definition: AGDDController.cxx:214
AGDDController::m_locked
bool m_locked
Definition: AGDDController.h:82
ExpressionEvaluator.h
AGDDController::~AGDDController
~AGDDController()
Definition: AGDDController.cxx:31
AGDDController::PrintSections
void PrintSections() const
Definition: AGDDController.cxx:104
AGDDController::m_cs
AGDDColorStore m_cs
Definition: AGDDController.h:89
AGDDController::m_structuresToBuild
std::vector< std::string > m_structuresToBuild
Definition: AGDDController.h:80
AGDDController::m_theBuilder
AGDDBuilder * m_theBuilder
Definition: AGDDController.h:75
AGDDController::m_printLevel
int m_printLevel
Definition: AGDDController.h:85
AGDDController::SetParser
void SetParser(IAGDDParser *b)
Definition: AGDDController.cxx:49
AGDDController::GetBuilder
AGDDBuilder * GetBuilder()
Definition: AGDDController.cxx:53
AGDDController::SetBuilder
void SetBuilder(AGDDBuilder *b)
Definition: AGDDController.cxx:45
AGDDParameterStore
Definition: AGDDParameterStore.h:14
AGDDController::m_disableSections
bool m_disableSections
Definition: AGDDController.h:83
AGDDController::GetParser
IAGDDParser * GetParser()
Definition: AGDDController.cxx:57
AGDD::ExpressionEvaluator
Definition: ExpressionEvaluator.h:21
section
void section(const std::string &sec)
Definition: TestTriggerMenuAccess.cxx:22
AGDDController::GetColorStore
AGDDColorStore & GetColorStore()
Definition: AGDDController.cxx:202
checker_macros.h
Define macros for attributes used to control the static checker.
AGDDPositionerStore.h
AGDDController::GetParameterStore
AGDDParameterStore & GetParameterStore()
Definition: AGDDController.cxx:232
AGDDController::operator=
AGDDController & operator=(const AGDDController &c)=delete
python.compressB64.c
def c
Definition: compressB64.py:93
AGDDController::GetAliasStore
AliasStore & GetAliasStore()
Definition: AGDDController.cxx:238
AGDDController::GetSectionStore
AGDDSectionStore & GetSectionStore()
Definition: AGDDController.cxx:208
AGDDColorStore.h
AGDDController::AddSection
void AddSection(const std::string &section)
Definition: AGDDController.cxx:65
AGDDController::GetPositionerStore
AGDDPositionerStore & GetPositionerStore()
Definition: AGDDController.cxx:220