ATLAS Offline Software
Reconstruction
RecTPCnv
src
MuonSpShowerContainer_p1.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
RecTPCnv/MuonSpShowerContainer_p1.h
"
6
#include <cstddef>
7
8
MuonSpShowerContainer_p1::MuonSpShowerContainer_p1
()
9
: m_ownshowers (false)
10
{
11
}
12
13
MuonSpShowerContainer_p1::MuonSpShowerContainer_p1
(
const
MuonSpShowerContainer_p1
&
other
)
14
: m_showers (
other
.m_showers),
15
m_ownshowers (false)
16
{
17
}
18
19
MuonSpShowerContainer_p1
&
20
MuonSpShowerContainer_p1::operator=
(
const
MuonSpShowerContainer_p1
&
other
)
21
{
22
if
(
this
!= &
other
) {
23
m_showers
=
other
.m_showers;
24
m_ownshowers
=
false
;
25
}
26
return
*
this
;
27
}
28
29
MuonSpShowerContainer_p1::~MuonSpShowerContainer_p1
()
30
{
31
if
(
m_ownshowers
) {
32
for
(
size_t
i
= 0;
i
<
m_showers
.size();
i
++)
33
delete
m_showers
[
i
];
34
}
35
}
MuonSpShowerContainer_p1
Persisent representation of the transient Rec::MuonSpShowerContainer class.
Definition:
MuonSpShowerContainer_p1.h:14
MuonSpShowerContainer_p1::m_ownshowers
bool m_ownshowers
Definition:
MuonSpShowerContainer_p1.h:28
MuonSpShowerContainer_p1::operator=
MuonSpShowerContainer_p1 & operator=(const MuonSpShowerContainer_p1 &)
Definition:
MuonSpShowerContainer_p1.cxx:20
lumiFormat.i
int i
Definition:
lumiFormat.py:85
MuonSpShowerContainer_p1.h
MuonSpShowerContainer_p1::m_showers
std::vector< MuonSpShower_p1 * > m_showers
Definition:
MuonSpShowerContainer_p1.h:27
InDetDD::other
@ other
Definition:
InDetDD_Defs.h:16
MuonSpShowerContainer_p1::MuonSpShowerContainer_p1
MuonSpShowerContainer_p1()
Default Constructor needed for persistency.
Definition:
MuonSpShowerContainer_p1.cxx:8
MuonSpShowerContainer_p1::~MuonSpShowerContainer_p1
virtual ~MuonSpShowerContainer_p1()
Destructor.
Definition:
MuonSpShowerContainer_p1.cxx:29
Generated on Thu Nov 7 2024 21:22:24 for ATLAS Offline Software by
1.8.18