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

Persisent representation of the transient Rec::MuonSpShowerContainer class. More...

#include <MuonSpShowerContainer_p1.h>

Collaboration diagram for MuonSpShowerContainer_p1:

Public Member Functions

 MuonSpShowerContainer_p1 ()
 Default Constructor needed for persistency. More...
 
 MuonSpShowerContainer_p1 (const MuonSpShowerContainer_p1 &)
 
MuonSpShowerContainer_p1operator= (const MuonSpShowerContainer_p1 &)
 
virtual ~MuonSpShowerContainer_p1 ()
 Destructor. More...
 

Public Attributes

std::vector< MuonSpShower_p1 * > m_showers
 
bool m_ownshowers
 

Detailed Description

Persisent representation of the transient Rec::MuonSpShowerContainer class.

Author
Edwar.nosp@m.d.Mo.nosp@m.yse@c.nosp@m.ern..nosp@m.ch

Definition at line 14 of file MuonSpShowerContainer_p1.h.

Constructor & Destructor Documentation

◆ MuonSpShowerContainer_p1() [1/2]

MuonSpShowerContainer_p1::MuonSpShowerContainer_p1 ( )

Default Constructor needed for persistency.

Definition at line 8 of file MuonSpShowerContainer_p1.cxx.

9  : m_ownshowers (false)
10 {
11 }

◆ MuonSpShowerContainer_p1() [2/2]

MuonSpShowerContainer_p1::MuonSpShowerContainer_p1 ( const MuonSpShowerContainer_p1 other)

Definition at line 13 of file MuonSpShowerContainer_p1.cxx.

14  : m_showers (other.m_showers),
15  m_ownshowers (false)
16 {
17 }

◆ ~MuonSpShowerContainer_p1()

MuonSpShowerContainer_p1::~MuonSpShowerContainer_p1 ( )
virtual

Destructor.

Definition at line 29 of file MuonSpShowerContainer_p1.cxx.

30 {
31  if (m_ownshowers) {
32  for (size_t i = 0; i < m_showers.size(); i++)
33  delete m_showers[i];
34  }
35 }

Member Function Documentation

◆ operator=()

MuonSpShowerContainer_p1 & MuonSpShowerContainer_p1::operator= ( const MuonSpShowerContainer_p1 other)

Definition at line 20 of file MuonSpShowerContainer_p1.cxx.

21 {
22  if (this != &other) {
23  m_showers = other.m_showers;
24  m_ownshowers = false;
25  }
26  return *this;
27 }

Member Data Documentation

◆ m_ownshowers

bool MuonSpShowerContainer_p1::m_ownshowers

Definition at line 28 of file MuonSpShowerContainer_p1.h.

◆ m_showers

std::vector<MuonSpShower_p1*> MuonSpShowerContainer_p1::m_showers

Definition at line 27 of file MuonSpShowerContainer_p1.h.


The documentation for this class was generated from the following files:
MuonSpShowerContainer_p1::m_ownshowers
bool m_ownshowers
Definition: MuonSpShowerContainer_p1.h:28
lumiFormat.i
int i
Definition: lumiFormat.py:92
MuonSpShowerContainer_p1::m_showers
std::vector< MuonSpShower_p1 * > m_showers
Definition: MuonSpShowerContainer_p1.h:27
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16