ATLAS Offline Software
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 
6 
8 {
9  setName("CavernInfra");
10 }
11 
12 
14 
15 
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 
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