ATLAS Offline Software
PhysicsAnalysis
AnalysisCommon
ParticleEvent
src
CompositeParticleContainer.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// CompositeParticleContainer.cxx
7
// Implementation file for class CompositeParticleContainer
8
// Author: S.Binet<binet@cern.ch>
10
11
12
// STL includes
13
#include <iostream>
14
15
// ParticleEvent includes
16
#include "ParticleEvent/CompositeParticleContainer.h"
17
21
24
25
CompositeParticleContainer::CompositeParticleContainer
() :
26
DataVector
<
CompositeParticle
>( )
27
{}
28
29
30
CompositeParticleContainer::CompositeParticleContainer
(
const
CompositeParticleContainer
& rhs ) :
31
//DataVector<I4Momentum> ( rhs ),
32
DataVector
<
INavigable4Momentum
>( rhs ),
33
//DataVector<IParticle>( rhs ),
34
DataVector
<
CompositeParticle
>( rhs )
35
{}
36
37
CompositeParticleContainer
&
38
CompositeParticleContainer::operator=
(
const
CompositeParticleContainer
& rhs )
39
{
40
if
(
this
!= &rhs ) {
41
DataVector<CompositeParticle>::operator=
(rhs);
42
}
43
44
return
*
this
;
45
}
46
47
48
CompositeParticleContainer::CompositeParticleContainer
(
const
SG::OwnershipPolicy
own ) :
49
DataVector
<
CompositeParticle
>(own)
50
{}
51
52
// Destructor
54
CompositeParticleContainer::~CompositeParticleContainer
()
55
{}
CompositeParticle
Definition:
PhysicsAnalysis/AnalysisCommon/ParticleEvent/ParticleEvent/CompositeParticle.h:52
CompositeParticleContainer
Definition:
PhysicsAnalysis/AnalysisCommon/ParticleEvent/ParticleEvent/CompositeParticleContainer.h:36
DataVector::operator=
DataVector & operator=(const DataVector &rhs)
Assignment operator.
SG::OwnershipPolicy
OwnershipPolicy
describes the possible element ownership policies (see e.g. DataVector)
Definition:
OwnershipPolicy.h:16
CompositeParticleContainer::operator=
CompositeParticleContainer & operator=(const CompositeParticleContainer &rhs)
Assignment operator: compiler generated one is good enough.
Definition:
CompositeParticleContainer.cxx:38
CompositeParticleContainer::~CompositeParticleContainer
virtual ~CompositeParticleContainer()
Destructor:
Definition:
CompositeParticleContainer.cxx:54
DataVector
Derived DataVector<T>.
Definition:
DataVector.h:581
INavigable4Momentum
Definition:
INavigable4Momentum.h:21
CompositeParticleContainer::CompositeParticleContainer
CompositeParticleContainer()
Default constructor:
Definition:
CompositeParticleContainer.cxx:25
Generated on Thu Nov 7 2024 21:12:13 for ATLAS Offline Software by
1.8.18