ATLAS Offline Software
Loading...
Searching...
No Matches
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
6#include <cstddef>
7
12
18
21{
22 if (this != &other) {
23 m_showers = other.m_showers;
24 m_ownshowers = false;
25 }
26 return *this;
27}
28
30{
31 if (m_ownshowers) {
32 for (size_t i = 0; i < m_showers.size(); i++)
33 delete m_showers[i];
34 }
35}
Persisent representation of the transient Rec::MuonSpShowerContainer class.
MuonSpShowerContainer_p1 & operator=(const MuonSpShowerContainer_p1 &)
std::vector< MuonSpShower_p1 * > m_showers
virtual ~MuonSpShowerContainer_p1()
Destructor.
MuonSpShowerContainer_p1()
Default Constructor needed for persistency.