ATLAS Offline Software
Loading...
Searching...
No Matches
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
8 : AthMessaging ("ZDC_DetManager")
9{
10 setName("ZDC");
11
12 ATH_MSG_DEBUG( " CONSTRUCTOR OF DETMANAGER :: getNumTreeTops() = "
14}
15
17{
18 ATH_MSG_DEBUG( " DESTRUCTOR OF DETMANAGER start:: getNumTreeTops() = "
20
21
22 ATH_MSG_DEBUG( " DESTRUCTOR OF DETMANAGER end:: getNumTreeTops() = "
24}
25
27{
28 return m_volume.size();
29}
30
31PVConstLink ZDC_DetManager::getTreeTop(unsigned int i) const
32{
33 return m_volume[i];
34}
35
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
#define ATH_MSG_DEBUG(x)
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
std::vector< PVLink > m_volume
virtual unsigned int getNumTreeTops() const
void addTreeTop(PVLink)
virtual PVConstLink getTreeTop(unsigned int i) const