ATLAS Offline Software
Loading...
Searching...
No Matches
InDetServMatFactory_Lite.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
7#include "GeoModelKernel/GeoVolumeCursor.h"
8#include "GeoModelKernel/GeoPhysVol.h"
9#include "GeoModelKernel/GeoDefinitions.h"
10
11void InDetServMatFactory_Lite::create(GeoPhysVol *world)
12{
14 GeoVolumeCursor cursor(world);
15 while (!cursor.atEnd()) {
16 const GeoVPhysVol *physVol=cursor.getVolume().operator->();
17 if (cursor.getName()=="InDetServMat") m_manager->addTreeTop(physVol);
18 cursor.next();
19 }
20}
21
26
virtual const InDetDD::InDetServMatManager * getDetectorManager() const override
InDetDD::InDetServMatManager * m_manager
virtual void create(GeoPhysVol *world) override