ATLAS Offline Software
Loading...
Searching...
No Matches
ToroidDetectorManager.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONGEOMODELR4_TOROIDDETECTORMANGER_H
6#define MUONGEOMODELR4_TOROIDDETECTORMANGER_H
7#include "GeoModelKernel/GeoVDetectorManager.h"
9namespace MuonGMR4{
12 class ToroidDetectorManager : public GeoVDetectorManager {
13 public:
15 ToroidDetectorManager(const std::string& name);
17 virtual ~ToroidDetectorManager() = default;
19 unsigned int getNumTreeTops () const override final;
21 PVConstLink getTreeTop (unsigned int i) const override final;
23 void addTreeTop(PVConstLink pvLink);
24 private:
25 std::vector<PVConstLink> m_treeTops{};
26 };
27}
28
30#endif
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Simple detector manager that just holds the tree tops to the components representing the passive muon...
virtual ~ToroidDetectorManager()=default
Default desctructor.
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...
STL namespace.
#define private