ATLAS Offline Software
AtlasGeometryCommon
CavernInfraGeoModel
src
CavernInfraDetectorManager.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
CavernInfraDetectorManager.h
"
6
7
CavernInfraDetectorManager::CavernInfraDetectorManager
()
8
{
9
setName(
"CavernInfra"
);
10
}
11
12
13
CavernInfraDetectorManager::~CavernInfraDetectorManager
() =
default
;
14
15
16
unsigned
int
CavernInfraDetectorManager::getNumTreeTops
()
const
17
{
18
return
m_treeTops
.size();
19
}
20
21
PVConstLink
CavernInfraDetectorManager::getTreeTop
(
unsigned
int
i
)
const
22
{
23
if
(
i
<
m_treeTops
.size())
24
return
m_treeTops
[
i
];
25
else
26
return
nullptr
;
27
}
28
29
void
CavernInfraDetectorManager::addTreeTop
(
const
PVLink& link)
30
{
31
m_treeTops
.push_back(link);
32
}
33
CavernInfraDetectorManager::m_treeTops
std::vector< PVLink > m_treeTops
Definition:
CavernInfraDetectorManager.h:30
CavernInfraDetectorManager::~CavernInfraDetectorManager
~CavernInfraDetectorManager()
CavernInfraDetectorManager::addTreeTop
void addTreeTop(const PVLink &)
Definition:
CavernInfraDetectorManager.cxx:29
lumiFormat.i
int i
Definition:
lumiFormat.py:85
CavernInfraDetectorManager::getTreeTop
virtual PVConstLink getTreeTop(unsigned int i) const override
Definition:
CavernInfraDetectorManager.cxx:21
CavernInfraDetectorManager::getNumTreeTops
virtual unsigned int getNumTreeTops() const override
Definition:
CavernInfraDetectorManager.cxx:16
CavernInfraDetectorManager.h
CavernInfraDetectorManager::CavernInfraDetectorManager
CavernInfraDetectorManager()
Definition:
CavernInfraDetectorManager.cxx:7
Generated on Thu Nov 7 2024 21:11:49 for ATLAS Offline Software by
1.8.18