ATLAS Offline Software
Loading...
Searching...
No Matches
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
8class AGDDBuilder;
9class IAGDDParser;
10class GeoFullPhysVol;
25
26#include <string>
27#include <vector>
28
29
31public:
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;}
70private:
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
84
86
97};
98
99#endif
void section(const std::string &sec)
Define macros for attributes used to control the static checker.
void UseGeoModelDetector ATLAS_NOT_THREAD_SAFE(const std::string &)
AGDDParameterStore & GetParameterStore()
void DisableSections(bool b)
AGDDBuilder * m_theBuilder
AGDDParameterStore m_prs
void Locked(bool b)
XMLHandlerStore m_xs
IAGDDParser * m_theParser
bool Locked() const
XMLHandlerStore & GetHandlerStore()
AGDDController & operator=(const AGDDController &c)=delete
AGDDVolumeStore & GetVolumeStore()
void AddFile(const std::string &fName)
IAGDDParser * GetParser()
AGDDColorStore & GetColorStore()
AGDDMaterialStore m_ms
std::vector< std::string > m_filesToParse
AGDDDetectorStore m_ds
std::vector< std::string > m_volumesToBuild
AGDDPositionerStore m_ps
bool WriteAGDDtoDBFile(const std::string &)
AGDDDetectorStore & GetDetectorStore()
void PrintSections() const
bool DisableSections() const
AGDD::ExpressionEvaluator & Evaluator()
void AddSection(const std::string &section)
AGDDSectionStore m_ss
AGDDController(const AGDDController &c)=delete
std::vector< std::string > m_sectionsToBuild
AGDDPositionerStore & GetPositionerStore()
AGDD::ExpressionEvaluator m_eval
void ParseString(const std::string &)
AGDDColorStore m_cs
void SetBuilder(AGDDBuilder *b)
std::vector< std::string > m_structuresToBuild
AGDDSectionStore & GetSectionStore()
AliasStore & GetAliasStore()
void SetParser(IAGDDParser *b)
void AddVolume(const std::string &volume)
AGDDVolumeStore m_vs
AliasStore m_as
AGDDMaterialStore & GetMaterialStore()
AGDDBuilder * GetBuilder()