ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
InDetServMatFactory_Lite Class Referencefinal

#include <InDetServMatFactory_Lite.h>

Inheritance diagram for InDetServMatFactory_Lite:
Collaboration diagram for InDetServMatFactory_Lite:

Public Member Functions

 InDetServMatFactory_Lite ()=default
 
const InDetServMatFactory_Liteoperator= (const InDetServMatFactory_Lite &right)=delete
 
 InDetServMatFactory_Lite (const InDetServMatFactory_Lite &right)=delete
 
virtual void create (GeoPhysVol *world) override
 
virtual const InDetDD::InDetServMatManagergetDetectorManager () const override
 

Private Attributes

InDetDD::InDetServMatManagerm_manager {nullptr}
 

Detailed Description

Definition at line 12 of file InDetServMatFactory_Lite.h.

Constructor & Destructor Documentation

◆ InDetServMatFactory_Lite() [1/2]

InDetServMatFactory_Lite::InDetServMatFactory_Lite ( )
default

◆ InDetServMatFactory_Lite() [2/2]

InDetServMatFactory_Lite::InDetServMatFactory_Lite ( const InDetServMatFactory_Lite right)
delete

Member Function Documentation

◆ create()

void InDetServMatFactory_Lite::create ( GeoPhysVol *  world)
overridevirtual

Definition at line 11 of file InDetServMatFactory_Lite.cxx.

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 }

◆ getDetectorManager()

const InDetDD::InDetServMatManager * InDetServMatFactory_Lite::getDetectorManager ( ) const
overridevirtual

Definition at line 22 of file InDetServMatFactory_Lite.cxx.

23 {
24  return m_manager;
25 }

◆ operator=()

const InDetServMatFactory_Lite& InDetServMatFactory_Lite::operator= ( const InDetServMatFactory_Lite right)
delete

Member Data Documentation

◆ m_manager

InDetDD::InDetServMatManager* InDetServMatFactory_Lite::m_manager {nullptr}
private

Definition at line 30 of file InDetServMatFactory_Lite.h.


The documentation for this class was generated from the following files:
query_example.cursor
cursor
Definition: query_example.py:21
InDetDD::InDetServMatManager::addTreeTop
void addTreeTop(const PVConstLink &)
Definition: InDetServMatManager.cxx:37
InDetServMatFactory_Lite::m_manager
InDetDD::InDetServMatManager * m_manager
Definition: InDetServMatFactory_Lite.h:30
InDetDD::InDetServMatManager
Definition: InDetServMatManager.h:22