ATLAS Offline Software
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 
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 
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 
ZDC_DetManager.h
ZDC_DetManager::addTreeTop
void addTreeTop(PVLink)
Definition: ZDC_DetManager.cxx:36
ZDC_DetManager::ZDC_DetManager
ZDC_DetManager()
Definition: ZDC_DetManager.cxx:7
lumiFormat.i
int i
Definition: lumiFormat.py:92
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
AthMessaging
Class to provide easy MsgStream access and capabilities.
Definition: AthMessaging.h:55
ZDC_DetManager::m_volume
std::vector< PVLink > m_volume
Definition: ZDC_DetManager.h:25
ZDC_DetManager::getTreeTop
virtual PVConstLink getTreeTop(unsigned int i) const
Definition: ZDC_DetManager.cxx:31
ZDC_DetManager::~ZDC_DetManager
~ZDC_DetManager()
Definition: ZDC_DetManager.cxx:16
ZDC_DetManager::getNumTreeTops
virtual unsigned int getNumTreeTops() const
Definition: ZDC_DetManager.cxx:26