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

#include <BeamPipeDetectorFactory_Lite.h>

Inheritance diagram for BeamPipeDetectorFactory_Lite:
Collaboration diagram for BeamPipeDetectorFactory_Lite:

Public Member Functions

 BeamPipeDetectorFactory_Lite ()
 
virtual void create (GeoPhysVol *world) override
 
virtual const BeamPipeDetectorManagergetDetectorManager () const override
 
const BeamPipeDetectorFactory_Liteoperator= (const BeamPipeDetectorFactory_Lite &right)=delete
 
 BeamPipeDetectorFactory_Lite (const BeamPipeDetectorFactory_Lite &right)=delete
 

Private Attributes

BeamPipeDetectorManagerm_manager {nullptr}
 

Detailed Description

Definition at line 11 of file BeamPipeDetectorFactory_Lite.h.

Constructor & Destructor Documentation

◆ BeamPipeDetectorFactory_Lite() [1/2]

BeamPipeDetectorFactory_Lite::BeamPipeDetectorFactory_Lite ( )

Definition at line 13 of file BeamPipeDetectorFactory_Lite.cxx.

14  :m_manager(nullptr)
15 {}

◆ BeamPipeDetectorFactory_Lite() [2/2]

BeamPipeDetectorFactory_Lite::BeamPipeDetectorFactory_Lite ( const BeamPipeDetectorFactory_Lite right)
delete

Member Function Documentation

◆ create()

void BeamPipeDetectorFactory_Lite::create ( GeoPhysVol *  world)
overridevirtual

Definition at line 18 of file BeamPipeDetectorFactory_Lite.cxx.

19 {
21  GeoVolumeCursor cursor(world);
22  while (!cursor.atEnd()) {
23  if (cursor.getName()=="BeamPipe") m_manager->addTreeTop(cursor.getVolume());
24  cursor.next();
25  }
26 }

◆ getDetectorManager()

const BeamPipeDetectorManager * BeamPipeDetectorFactory_Lite::getDetectorManager ( ) const
overridevirtual

Definition at line 28 of file BeamPipeDetectorFactory_Lite.cxx.

29 {
30  return m_manager;
31 }

◆ operator=()

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

Member Data Documentation

◆ m_manager

BeamPipeDetectorManager* BeamPipeDetectorFactory_Lite::m_manager {nullptr}
private

Definition at line 30 of file BeamPipeDetectorFactory_Lite.h.


The documentation for this class was generated from the following files:
BeamPipeDetectorManager::addTreeTop
void addTreeTop(const PVConstLink &)
Definition: BeamPipeDetectorManager.cxx:25
BeamPipeDetectorFactory_Lite::m_manager
BeamPipeDetectorManager * m_manager
Definition: BeamPipeDetectorFactory_Lite.h:30
query_example.cursor
cursor
Definition: query_example.py:21
BeamPipeDetectorManager
Definition: BeamPipeDetectorManager.h:14