ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
ForwardDetectors
ZDC
ZDC_GeoM
src
ZDC_DetManager.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
ZDC_DetManager.h
"
6
7
ZDC_DetManager::ZDC_DetManager
()
8
:
AthMessaging
(
"ZDC_DetManager"
)
9
{
10
setName(
"ZDC"
);
11
12
ATH_MSG_DEBUG
(
" CONSTRUCTOR OF DETMANAGER :: getNumTreeTops() = "
13
<<
ZDC_DetManager::getNumTreeTops
() );
14
}
15
16
ZDC_DetManager::~ZDC_DetManager
()
17
{
18
ATH_MSG_DEBUG
(
" DESTRUCTOR OF DETMANAGER start:: getNumTreeTops() = "
19
<<
ZDC_DetManager::getNumTreeTops
() );
20
21
22
ATH_MSG_DEBUG
(
" DESTRUCTOR OF DETMANAGER end:: getNumTreeTops() = "
23
<<
ZDC_DetManager::getNumTreeTops
() );
24
}
25
26
unsigned
int
ZDC_DetManager::getNumTreeTops
()
const
27
{
28
return
m_volume
.size();
29
}
30
31
PVConstLink
ZDC_DetManager::getTreeTop
(
unsigned
int
i)
const
32
{
33
return
m_volume
[i];
34
}
35
36
void
ZDC_DetManager::addTreeTop
(PVLink vol)
37
{
38
ATH_MSG_DEBUG
(
" ADDTREETOP OF DETMANAGER start:: getNumTreeTops() = "
39
<<
getNumTreeTops
() );
40
41
m_volume
.push_back(vol);
42
43
ATH_MSG_DEBUG
(
" ADDTREETOP OF DETMANAGER end:: getNumTreeTops() = "
44
<<
getNumTreeTops
() );
45
}
46
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition
AthMsgStreamMacros.h:28
ZDC_DetManager.h
AthMessaging::AthMessaging
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
Definition
AthMessaging.cxx:13
ZDC_DetManager::m_volume
std::vector< PVLink > m_volume
Definition
ZDC_DetManager.h:25
ZDC_DetManager::ZDC_DetManager
ZDC_DetManager()
Definition
ZDC_DetManager.cxx:7
ZDC_DetManager::getNumTreeTops
virtual unsigned int getNumTreeTops() const
Definition
ZDC_DetManager.cxx:26
ZDC_DetManager::addTreeTop
void addTreeTop(PVLink)
Definition
ZDC_DetManager.cxx:36
ZDC_DetManager::~ZDC_DetManager
~ZDC_DetManager()
Definition
ZDC_DetManager.cxx:16
ZDC_DetManager::getTreeTop
virtual PVConstLink getTreeTop(unsigned int i) const
Definition
ZDC_DetManager.cxx:31
Generated on
for ATLAS Offline Software by
1.17.0