ATLAS Offline Software
Loading...
Searching...
No Matches
AGDDToolBase.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef AGDDCONTROL_AGDDToolBase_H
6#define AGDDCONTROL_AGDDToolBase_H
7
11#include "GaudiKernel/ServiceHandle.h"
13
14class AGDDController;
15
16class AGDDToolBase: public extends<AthAlgTool, IAGDDToolBase>
17{
18public:
19 AGDDToolBase(const std::string& type, const std::string& name, const IInterface* parent);
20 ~AGDDToolBase()=default;
21 virtual StatusCode initialize ATLAS_NOT_THREAD_SAFE () override;
22 virtual StatusCode construct ATLAS_NOT_THREAD_SAFE () override {return StatusCode::SUCCESS;}
23protected:
24 void InitializeAGDD();
25
26 Gaudi::Property<std::vector<std::string> > m_xmlFiles{this, "XMLFiles", {} };
27 Gaudi::Property<std::vector<std::string> > m_sectionsToBuild{this, "Sections", {} };
28 Gaudi::Property<std::vector<std::string> > m_volumesToBuild{this, "Volumes", {} };
29
30 Gaudi::Property<int> m_parserVerbosity{this, "ParserVerbosity", 0};
31 Gaudi::Property<int> m_builderVerbosity{this, "BuilderVerbosity", 0};
32
33 Gaudi::Property<bool> m_printSections{this, "PrintSections", false};
34 Gaudi::Property<bool> m_disableSections{this, "DisableSections", true};
35 Gaudi::Property<bool> m_locked{this, "Locked", false};
36 Gaudi::Property<bool> m_writeDBfile{this, "WriteAGDDFile", false};
37 Gaudi::Property<bool> m_readAGDD{this,"ReadAGDD",true,"read description from DB"};
38 Gaudi::Property<bool> m_dumpAGDD{this,"DumpAGDD",false,"write out parsed XML"};
39
40 Gaudi::Property<std::string> m_outFileName{this, "OutAGDDXMLName", "mytest.xml"};
41 Gaudi::Property<std::string> m_defaultDetector{this, "DefaultDetector", "NoDetector"};
42 Gaudi::Property<std::string> m_navigateDetector{this, "NavigateDetector", ""};
43 Gaudi::Property<std::string> m_DBFileName{this,"OutputFileName","","specify name for DB text file"};
44 Gaudi::Property<std::string> m_agdd2GeoSvcName{this,"AGDDtoGeoSvcName","AGDDtoGeoSvc","specify name of AGDDtoGeoSvc"};
45
47 { this, "AGDDtoGeoSvc", "AGDDtoGeoSvc", "" };
48};
49
50#endif
Define macros for attributes used to control the static checker.
Gaudi::Property< int > m_builderVerbosity
virtual StatusCode construct ATLAS_NOT_THREAD_SAFE() override
Gaudi::Property< std::string > m_agdd2GeoSvcName
Gaudi::Property< int > m_parserVerbosity
ServiceHandle< IAGDDtoGeoSvc > m_svc
Gaudi::Property< std::string > m_outFileName
virtual StatusCode initialize ATLAS_NOT_THREAD_SAFE() override
Gaudi::Property< std::vector< std::string > > m_xmlFiles
Gaudi::Property< bool > m_writeDBfile
AGDDToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Gaudi::Property< bool > m_readAGDD
void InitializeAGDD()
Gaudi::Property< bool > m_printSections
Gaudi::Property< std::string > m_DBFileName
~AGDDToolBase()=default
Gaudi::Property< bool > m_dumpAGDD
Gaudi::Property< std::vector< std::string > > m_volumesToBuild
Gaudi::Property< bool > m_disableSections
Gaudi::Property< std::string > m_defaultDetector
Gaudi::Property< std::string > m_navigateDetector
Gaudi::Property< std::vector< std::string > > m_sectionsToBuild
Gaudi::Property< bool > m_locked
void initialize()