ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
DetectorDescription
AGDD
AGDDKernel
AGDDKernel
AGDDSection.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef AGDDSection_H
6
#define AGDDSection_H
7
8
class
AGDDVolume
;
9
class
AGDDSectionStore
;
10
11
#include <string>
12
#include <map>
13
14
typedef
std::map<std::string, AGDDVolume*>
volumeList
;
15
typedef
volumeList::const_iterator
volumeIterator
;
16
17
class
AGDDSection
{
18
public
:
19
AGDDSection
(
const
std::string&,
const
std::string&,
const
std::string&,
20
const
std::string&,
const
std::string&,
21
AGDDSectionStore
&
ss
,
22
bool
buildFlag=
true
);
23
void
AddVolume
(
AGDDVolume
*);
24
AGDDVolume
*
GetVolume
(
const
std::string&);
25
void
Register
(
AGDDSectionStore
&
ss
);
26
void
Name
(
const
std::string& n) {
m_name
=n;}
27
void
Version
(
const
std::string& n) {
m_version
=n;}
28
void
Author
(
const
std::string& n) {
m_author
=n;}
29
void
Date
(
const
std::string& n) {
m_date
=n;}
30
void
TopVolume
(
const
std::string& n) {
m_topVolume
=n;}
31
const
std::string&
Name
()
const
{
return
m_name
;}
32
const
std::string&
Version
()
const
{
return
m_version
;}
33
const
std::string&
Author
()
const
{
return
m_author
;}
34
const
std::string&
Date
()
const
{
return
m_date
;}
35
const
std::string&
TopVolume
()
const
{
return
m_topVolume
;}
36
bool
IsToBeBuilt
()
const
{
return
m_toBeBuilt
;}
37
volumeIterator
VolumeBegin
() {
return
m_theVolumes
.begin();}
38
volumeIterator
VolumeEnd
() {
return
m_theVolumes
.end();}
39
void
Print
();
40
private
:
41
std::string
m_name
;
42
std::string
m_version
;
43
std::string
m_author
;
44
std::string
m_date
;
45
std::string
m_topVolume
;
46
bool
m_toBeBuilt
;
47
48
volumeList
m_theVolumes
;
49
};
50
51
#endif
volumeList
std::map< std::string, AGDDVolume * > volumeList
Definition
AGDDSection.h:14
volumeIterator
volumeList::const_iterator volumeIterator
Definition
AGDDSection.h:15
ss
static Double_t ss
Definition
LArPhysWaveHECTool.cxx:37
AGDDSectionStore
Definition
AGDDSectionStore.h:15
AGDDSection::m_author
std::string m_author
Definition
AGDDSection.h:43
AGDDSection::TopVolume
void TopVolume(const std::string &n)
Definition
AGDDSection.h:30
AGDDSection::m_version
std::string m_version
Definition
AGDDSection.h:42
AGDDSection::Date
void Date(const std::string &n)
Definition
AGDDSection.h:29
AGDDSection::m_name
std::string m_name
Definition
AGDDSection.h:41
AGDDSection::Version
void Version(const std::string &n)
Definition
AGDDSection.h:27
AGDDSection::GetVolume
AGDDVolume * GetVolume(const std::string &)
Definition
AGDDSection.cxx:32
AGDDSection::AddVolume
void AddVolume(AGDDVolume *)
Definition
AGDDSection.cxx:23
AGDDSection::Register
void Register(AGDDSectionStore &ss)
Definition
AGDDSection.cxx:43
AGDDSection::m_theVolumes
volumeList m_theVolumes
Definition
AGDDSection.h:48
AGDDSection::Name
void Name(const std::string &n)
Definition
AGDDSection.h:26
AGDDSection::IsToBeBuilt
bool IsToBeBuilt() const
Definition
AGDDSection.h:36
AGDDSection::TopVolume
const std::string & TopVolume() const
Definition
AGDDSection.h:35
AGDDSection::m_date
std::string m_date
Definition
AGDDSection.h:44
AGDDSection::Name
const std::string & Name() const
Definition
AGDDSection.h:31
AGDDSection::VolumeBegin
volumeIterator VolumeBegin()
Definition
AGDDSection.h:37
AGDDSection::AGDDSection
AGDDSection(const std::string &, const std::string &, const std::string &, const std::string &, const std::string &, AGDDSectionStore &ss, bool buildFlag=true)
Definition
AGDDSection.cxx:11
AGDDSection::VolumeEnd
volumeIterator VolumeEnd()
Definition
AGDDSection.h:38
AGDDSection::m_topVolume
std::string m_topVolume
Definition
AGDDSection.h:45
AGDDSection::Print
void Print()
Definition
AGDDSection.cxx:47
AGDDSection::m_toBeBuilt
bool m_toBeBuilt
Definition
AGDDSection.h:46
AGDDSection::Version
const std::string & Version() const
Definition
AGDDSection.h:32
AGDDSection::Author
const std::string & Author() const
Definition
AGDDSection.h:33
AGDDSection::Date
const std::string & Date() const
Definition
AGDDSection.h:34
AGDDSection::Author
void Author(const std::string &n)
Definition
AGDDSection.h:28
AGDDVolume
Definition
AGDDVolume.h:16
Generated on
for ATLAS Offline Software by
1.17.0