ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
CavernInfraDetectorManager Class Reference

#include <CavernInfraDetectorManager.h>

Inheritance diagram for CavernInfraDetectorManager:
Collaboration diagram for CavernInfraDetectorManager:

Public Member Functions

 CavernInfraDetectorManager ()
 
const CavernInfraDetectorManageroperator= (const CavernInfraDetectorManager &right)=delete
 
 CavernInfraDetectorManager (const CavernInfraDetectorManager &right)=delete
 
 ~CavernInfraDetectorManager ()
 
virtual unsigned int getNumTreeTops () const override
 
virtual PVConstLink getTreeTop (unsigned int i) const override
 
void addTreeTop (const PVLink &)
 

Private Attributes

std::vector< PVLink > m_treeTops
 

Detailed Description

Definition at line 12 of file CavernInfraDetectorManager.h.

Constructor & Destructor Documentation

◆ CavernInfraDetectorManager() [1/2]

CavernInfraDetectorManager::CavernInfraDetectorManager ( )

Definition at line 7 of file CavernInfraDetectorManager.cxx.

8 {
9  setName("CavernInfra");
10 }

◆ CavernInfraDetectorManager() [2/2]

CavernInfraDetectorManager::CavernInfraDetectorManager ( const CavernInfraDetectorManager right)
delete

◆ ~CavernInfraDetectorManager()

CavernInfraDetectorManager::~CavernInfraDetectorManager ( )
default

Member Function Documentation

◆ addTreeTop()

void CavernInfraDetectorManager::addTreeTop ( const PVLink &  link)

Definition at line 29 of file CavernInfraDetectorManager.cxx.

30 {
31  m_treeTops.push_back(link);
32 }

◆ getNumTreeTops()

unsigned int CavernInfraDetectorManager::getNumTreeTops ( ) const
overridevirtual

Definition at line 16 of file CavernInfraDetectorManager.cxx.

17 {
18  return m_treeTops.size();
19 }

◆ getTreeTop()

PVConstLink CavernInfraDetectorManager::getTreeTop ( unsigned int  i) const
overridevirtual

Definition at line 21 of file CavernInfraDetectorManager.cxx.

22 {
23  if(i<m_treeTops.size())
24  return m_treeTops[i];
25  else
26  return nullptr;
27 }

◆ operator=()

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

Member Data Documentation

◆ m_treeTops

std::vector<PVLink> CavernInfraDetectorManager::m_treeTops
private

Definition at line 30 of file CavernInfraDetectorManager.h.


The documentation for this class was generated from the following files:
CavernInfraDetectorManager::m_treeTops
std::vector< PVLink > m_treeTops
Definition: CavernInfraDetectorManager.h:30
lumiFormat.i
int i
Definition: lumiFormat.py:85