ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
DetectorDescription
AGDD
AGDDControl
AGDDControl
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
8
#include "
AGDDControl/IAGDDToolBase.h
"
9
#include "
AGDDControl/IAGDD2GeoSvc.h
"
10
#include "
AthenaBaseComps/AthAlgTool.h
"
11
#include "GaudiKernel/ServiceHandle.h"
12
#include "
CxxUtils/checker_macros.h
"
13
14
class
AGDDController
;
15
16
class
AGDDToolBase
:
public
extends<AthAlgTool, IAGDDToolBase>
17
{
18
public
:
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;}
23
protected
:
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
46
ServiceHandle<IAGDDtoGeoSvc>
m_svc
47
{
this
,
"AGDDtoGeoSvc"
,
"AGDDtoGeoSvc"
,
""
};
48
};
49
50
#endif
AthAlgTool.h
IAGDD2GeoSvc.h
IAGDDToolBase.h
checker_macros.h
Define macros for attributes used to control the static checker.
AGDDController
Definition
AGDDController.h:30
AGDDToolBase::m_builderVerbosity
Gaudi::Property< int > m_builderVerbosity
Definition
AGDDToolBase.h:31
AGDDToolBase::ATLAS_NOT_THREAD_SAFE
virtual StatusCode construct ATLAS_NOT_THREAD_SAFE() override
Definition
AGDDToolBase.h:22
AGDDToolBase::m_agdd2GeoSvcName
Gaudi::Property< std::string > m_agdd2GeoSvcName
Definition
AGDDToolBase.h:44
AGDDToolBase::m_parserVerbosity
Gaudi::Property< int > m_parserVerbosity
Definition
AGDDToolBase.h:30
AGDDToolBase::m_svc
ServiceHandle< IAGDDtoGeoSvc > m_svc
Definition
AGDDToolBase.h:47
AGDDToolBase::m_outFileName
Gaudi::Property< std::string > m_outFileName
Definition
AGDDToolBase.h:40
AGDDToolBase::ATLAS_NOT_THREAD_SAFE
virtual StatusCode initialize ATLAS_NOT_THREAD_SAFE() override
AGDDToolBase::m_xmlFiles
Gaudi::Property< std::vector< std::string > > m_xmlFiles
Definition
AGDDToolBase.h:26
AGDDToolBase::m_writeDBfile
Gaudi::Property< bool > m_writeDBfile
Definition
AGDDToolBase.h:36
AGDDToolBase::AGDDToolBase
AGDDToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Definition
AGDDToolBase.cxx:8
AGDDToolBase::m_readAGDD
Gaudi::Property< bool > m_readAGDD
Definition
AGDDToolBase.h:37
AGDDToolBase::InitializeAGDD
void InitializeAGDD()
Definition
AGDDToolBase.cxx:22
AGDDToolBase::m_printSections
Gaudi::Property< bool > m_printSections
Definition
AGDDToolBase.h:33
AGDDToolBase::m_DBFileName
Gaudi::Property< std::string > m_DBFileName
Definition
AGDDToolBase.h:43
AGDDToolBase::~AGDDToolBase
~AGDDToolBase()=default
AGDDToolBase::m_dumpAGDD
Gaudi::Property< bool > m_dumpAGDD
Definition
AGDDToolBase.h:38
AGDDToolBase::m_volumesToBuild
Gaudi::Property< std::vector< std::string > > m_volumesToBuild
Definition
AGDDToolBase.h:28
AGDDToolBase::m_disableSections
Gaudi::Property< bool > m_disableSections
Definition
AGDDToolBase.h:34
AGDDToolBase::m_defaultDetector
Gaudi::Property< std::string > m_defaultDetector
Definition
AGDDToolBase.h:41
AGDDToolBase::m_navigateDetector
Gaudi::Property< std::string > m_navigateDetector
Definition
AGDDToolBase.h:42
AGDDToolBase::m_sectionsToBuild
Gaudi::Property< std::vector< std::string > > m_sectionsToBuild
Definition
AGDDToolBase.h:27
AGDDToolBase::m_locked
Gaudi::Property< bool > m_locked
Definition
AGDDToolBase.h:35
ServiceHandle
Definition
ClusterMakerTool.h:36
initialize
void initialize()
Definition
run_EoverP.cxx:894
type
Generated on
for ATLAS Offline Software by
1.17.0