ATLAS Offline Software
Loading...
Searching...
No Matches
ToroidDetectorManager.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
5
6#include <cassert>
7namespace MuonGMR4 {
9 setName(name);
10 }
12 return m_treeTops.size();
13 }
14 PVConstLink ToroidDetectorManager::getTreeTop (unsigned int i) const {
15 assert(i < m_treeTops.size());
16 return m_treeTops.at(i);
17 }
18 void ToroidDetectorManager::addTreeTop(PVConstLink pvLink) {
19 m_treeTops.push_back(pvLink);
20 }
21}
std::vector< PVConstLink > m_treeTops
ToroidDetectorManager(const std::string &name)
Constructor taking the detector manger name.
unsigned int getNumTreeTops() const override final
Number of tree tops.
void addTreeTop(PVConstLink pvLink)
Add a GeoVolume to the toroid.
PVConstLink getTreeTop(unsigned int i) const override final
Access to the i-th tree top.
The ReadoutGeomCnvAlg converts the Run4 Readout geometry build from the GeoModelXML into the legacy M...