ATLAS Offline Software
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
DefaultAGDDTool Class Reference

#include <DefaultAGDDTool.h>

Inheritance diagram for DefaultAGDDTool:
Collaboration diagram for DefaultAGDDTool:

Public Member Functions

 DefaultAGDDTool (const std::string &type, const std::string &name, const IInterface *parent)
 
virtual StatusCode construct ATLAS_NOT_THREAD_SAFE () override
 
virtual StatusCode initialize ATLAS_NOT_THREAD_SAFE () override
 

Protected Member Functions

void InitializeAGDD ()
 

Protected Attributes

Gaudi::Property< std::vector< std::string > > m_xmlFiles {this, "XMLFiles", {} }
 
Gaudi::Property< std::vector< std::string > > m_sectionsToBuild {this, "Sections", {} }
 
Gaudi::Property< std::vector< std::string > > m_volumesToBuild {this, "Volumes", {} }
 
Gaudi::Property< int > m_parserVerbosity {this, "ParserVerbosity", 0}
 
Gaudi::Property< int > m_builderVerbosity {this, "BuilderVerbosity", 0}
 
Gaudi::Property< bool > m_printSections {this, "PrintSections", false}
 
Gaudi::Property< bool > m_disableSections {this, "DisableSections", true}
 
Gaudi::Property< bool > m_locked {this, "Locked", false}
 
Gaudi::Property< bool > m_writeDBfile {this, "WriteAGDDFile", false}
 
Gaudi::Property< bool > m_readAGDD {this,"ReadAGDD",true,"read description from DB"}
 
Gaudi::Property< bool > m_dumpAGDD {this,"DumpAGDD",false,"write out parsed XML"}
 
Gaudi::Property< std::string > m_outFileName {this, "OutAGDDXMLName", "mytest.xml"}
 
Gaudi::Property< std::string > m_defaultDetector {this, "DefaultDetector", "NoDetector"}
 
Gaudi::Property< std::string > m_navigateDetector {this, "NavigateDetector", ""}
 
Gaudi::Property< std::string > m_DBFileName {this,"OutputFileName","","specify name for DB text file"}
 
Gaudi::Property< std::string > m_agdd2GeoSvcName {this,"AGDDtoGeoSvcName","AGDDtoGeoSvc","specify name of AGDDtoGeoSvc"}
 
ServiceHandle< IAGDDtoGeoSvcm_svc { this, "AGDDtoGeoSvc", "AGDDtoGeoSvc", "" }
 

Detailed Description

Definition at line 11 of file DefaultAGDDTool.h.

Constructor & Destructor Documentation

◆ DefaultAGDDTool()

DefaultAGDDTool::DefaultAGDDTool ( const std::string &  type,
const std::string &  name,
const IInterface *  parent 
)

Definition at line 8 of file DefaultAGDDTool.cxx.

10 {
11 
12  ATH_MSG_INFO("This is DefaultAGDDTool's constructor!!!! "<<name);
13 }

Member Function Documentation

◆ ATLAS_NOT_THREAD_SAFE() [1/2]

virtual StatusCode construct DefaultAGDDTool::ATLAS_NOT_THREAD_SAFE ( )
overridevirtual

Reimplemented from AGDDToolBase.

◆ ATLAS_NOT_THREAD_SAFE() [2/2]

virtual StatusCode initialize DefaultAGDDTool::ATLAS_NOT_THREAD_SAFE ( )
overridevirtual

Reimplemented from AGDDToolBase.

◆ InitializeAGDD()

void AGDDToolBase::InitializeAGDD ( )
protectedinherited

Definition at line 22 of file AGDDToolBase.cxx.

23 {
24  ATH_MSG_INFO(" initializing AGDD builder");
25 
26  IAGDDtoGeoSvc::LockedController controller = m_svc->getController();
27  controller->Locked(m_locked);
28 
29  ATH_MSG_INFO(" XML file ");
30  for (unsigned int i=0;i<m_xmlFiles.size();i++)
31  {
32  ATH_MSG_INFO(" \t file "<<m_xmlFiles[i]);
33  controller->AddFile(m_xmlFiles[i]);
34  }
35  ATH_MSG_INFO (" ---------");
36 
37 
38  ATH_MSG_INFO(" Sections ");
39  for (unsigned int i=0;i<m_sectionsToBuild.size();i++)
40  {
41  ATH_MSG_INFO(" \t section "<<m_sectionsToBuild[i]);
42  controller->AddSection(m_sectionsToBuild[i]);
43  }
44  ATH_MSG_INFO (" ---------");
45 
46 
47  ATH_MSG_INFO(" Volumes ");
48  for (unsigned int i=0;i<m_volumesToBuild.size();i++)
49  {
50  ATH_MSG_INFO(" \t volume "<<m_volumesToBuild[i]);
51  controller->AddVolume(m_volumesToBuild[i]);
52  }
53  ATH_MSG_INFO (" ---------");
54 
55 }

Member Data Documentation

◆ m_agdd2GeoSvcName

Gaudi::Property<std::string> AGDDToolBase::m_agdd2GeoSvcName {this,"AGDDtoGeoSvcName","AGDDtoGeoSvc","specify name of AGDDtoGeoSvc"}
protectedinherited

Definition at line 44 of file AGDDToolBase.h.

◆ m_builderVerbosity

Gaudi::Property<int> AGDDToolBase::m_builderVerbosity {this, "BuilderVerbosity", 0}
protectedinherited

Definition at line 31 of file AGDDToolBase.h.

◆ m_DBFileName

Gaudi::Property<std::string> AGDDToolBase::m_DBFileName {this,"OutputFileName","","specify name for DB text file"}
protectedinherited

Definition at line 43 of file AGDDToolBase.h.

◆ m_defaultDetector

Gaudi::Property<std::string> AGDDToolBase::m_defaultDetector {this, "DefaultDetector", "NoDetector"}
protectedinherited

Definition at line 41 of file AGDDToolBase.h.

◆ m_disableSections

Gaudi::Property<bool> AGDDToolBase::m_disableSections {this, "DisableSections", true}
protectedinherited

Definition at line 34 of file AGDDToolBase.h.

◆ m_dumpAGDD

Gaudi::Property<bool> AGDDToolBase::m_dumpAGDD {this,"DumpAGDD",false,"write out parsed XML"}
protectedinherited

Definition at line 38 of file AGDDToolBase.h.

◆ m_locked

Gaudi::Property<bool> AGDDToolBase::m_locked {this, "Locked", false}
protectedinherited

Definition at line 35 of file AGDDToolBase.h.

◆ m_navigateDetector

Gaudi::Property<std::string> AGDDToolBase::m_navigateDetector {this, "NavigateDetector", ""}
protectedinherited

Definition at line 42 of file AGDDToolBase.h.

◆ m_outFileName

Gaudi::Property<std::string> AGDDToolBase::m_outFileName {this, "OutAGDDXMLName", "mytest.xml"}
protectedinherited

Definition at line 40 of file AGDDToolBase.h.

◆ m_parserVerbosity

Gaudi::Property<int> AGDDToolBase::m_parserVerbosity {this, "ParserVerbosity", 0}
protectedinherited

Definition at line 30 of file AGDDToolBase.h.

◆ m_printSections

Gaudi::Property<bool> AGDDToolBase::m_printSections {this, "PrintSections", false}
protectedinherited

Definition at line 33 of file AGDDToolBase.h.

◆ m_readAGDD

Gaudi::Property<bool> AGDDToolBase::m_readAGDD {this,"ReadAGDD",true,"read description from DB"}
protectedinherited

Definition at line 37 of file AGDDToolBase.h.

◆ m_sectionsToBuild

Gaudi::Property<std::vector<std::string> > AGDDToolBase::m_sectionsToBuild {this, "Sections", {} }
protectedinherited

Definition at line 27 of file AGDDToolBase.h.

◆ m_svc

ServiceHandle<IAGDDtoGeoSvc> AGDDToolBase::m_svc { this, "AGDDtoGeoSvc", "AGDDtoGeoSvc", "" }
protectedinherited

Definition at line 46 of file AGDDToolBase.h.

◆ m_volumesToBuild

Gaudi::Property<std::vector<std::string> > AGDDToolBase::m_volumesToBuild {this, "Volumes", {} }
protectedinherited

Definition at line 28 of file AGDDToolBase.h.

◆ m_writeDBfile

Gaudi::Property<bool> AGDDToolBase::m_writeDBfile {this, "WriteAGDDFile", false}
protectedinherited

Definition at line 36 of file AGDDToolBase.h.

◆ m_xmlFiles

Gaudi::Property<std::vector<std::string> > AGDDToolBase::m_xmlFiles {this, "XMLFiles", {} }
protectedinherited

Definition at line 26 of file AGDDToolBase.h.


The documentation for this class was generated from the following files:
AGDDToolBase::m_sectionsToBuild
Gaudi::Property< std::vector< std::string > > m_sectionsToBuild
Definition: AGDDToolBase.h:27
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
CxxUtils::LockedPointer
A pointer together with a movable lock.
Definition: LockedPointer.h:35
AGDDToolBase::m_locked
Gaudi::Property< bool > m_locked
Definition: AGDDToolBase.h:35
lumiFormat.i
int i
Definition: lumiFormat.py:85
AGDDToolBase::m_volumesToBuild
Gaudi::Property< std::vector< std::string > > m_volumesToBuild
Definition: AGDDToolBase.h:28
test_pyathena.parent
parent
Definition: test_pyathena.py:15
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
AGDDToolBase::m_svc
ServiceHandle< IAGDDtoGeoSvc > m_svc
Definition: AGDDToolBase.h:47
AGDDToolBase::m_xmlFiles
Gaudi::Property< std::vector< std::string > > m_xmlFiles
Definition: AGDDToolBase.h:26
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AGDDToolBase::AGDDToolBase
AGDDToolBase(const std::string &type, const std::string &name, const IInterface *parent)
Definition: AGDDToolBase.cxx:8