ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
AnalysisCommon
ParticleEvent
ParticleEvent
PhysicsAnalysis/AnalysisCommon/ParticleEvent/ParticleEvent/CompositeParticleContainer.h
Go to the documentation of this file.
1
2
3
/*
4
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// CompositeContainer.h
8
// Header file for class CompositeContainer
9
// Author: S.Binet<binet@cern.ch>
11
#ifndef PARTICLEEVENT_COMPOSITEPARTICLECONTAINER_H
12
#define PARTICLEEVENT_COMPOSITEPARTICLECONTAINER_H 1
13
14
// STL includes
15
#include <iosfwd>
16
17
#include "
AthContainers/DataVector.h
"
18
19
#include "
AthenaKernel/CLASS_DEF.h
"
20
21
// NavFourMom includes
22
#include "
NavFourMom/INavigable4MomentumCollection.h
"
23
#include "
EventKernel/IParticle.h
"
24
#include "
NavFourMom/IParticleContainer.h
"
25
26
// ParticleEvent includes
27
#include "ParticleEvent/CompositeParticle.h"
28
29
// Forward declaration
30
31
// Needed for constructing the mirror container hierarchy
32
// This tells StoreGate that DV<CP> derives from DV<IP>
33
DATAVECTOR_BASE
(
CompositeParticle
,
IParticle
);
34
35
class
CompositeParticleContainer
:
public
DataVector
<CompositeParticle>
36
{
38
// Public methods:
40
public
:
41
44
CompositeParticleContainer
();
45
48
CompositeParticleContainer
(
const
CompositeParticleContainer
& rhs );
49
52
CompositeParticleContainer
&
53
operator=
(
const
CompositeParticleContainer
& rhs );
54
57
CompositeParticleContainer
(
const
SG::OwnershipPolicy
own );
58
61
virtual
~CompositeParticleContainer
();
62
63
};
64
68
69
CLASS_DEF
(
CompositeParticleContainer
, 1070450393, 1)
70
71
// Tell StoreGate that CompositeParticleContainer derives from DV<CP>
72
SG_BASE
(
CompositeParticleContainer
,
DataVector
<
CompositeParticle
>);
73
74
#endif
//> PARTICLEEVENT_COMPOSITEPARTICLECONTAINER_H
SG_BASE
#define SG_BASE(D, B)
Declare that class D derives from class B.
Definition
Control/AthenaKernel/AthenaKernel/BaseInfo.h:243
CLASS_DEF.h
macros to associate a CLID to a type
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
DATAVECTOR_BASE
#define DATAVECTOR_BASE(T, BASE)
Declare base class info to DataVector.
Definition
DataVector.h:649
IParticle.h
INavigable4MomentumCollection.h
IParticleContainer.h
CompositeParticleContainer
Definition
PhysicsAnalysis/AnalysisCommon/ParticleEvent/ParticleEvent/CompositeParticleContainer.h:36
CompositeParticleContainer::operator=
CompositeParticleContainer & operator=(const CompositeParticleContainer &rhs)
Assignment operator: compiler generated one is good enough.
Definition
CompositeParticleContainer.cxx:38
CompositeParticleContainer::CompositeParticleContainer
CompositeParticleContainer()
Default constructor:
Definition
CompositeParticleContainer.cxx:25
CompositeParticleContainer::~CompositeParticleContainer
virtual ~CompositeParticleContainer()
Destructor:
Definition
CompositeParticleContainer.cxx:54
CompositeParticle
class which is made from the composition of other particles.
Definition
PhysicsAnalysis/AnalysisCommon/ParticleEvent/ParticleEvent/CompositeParticle.h:52
DataVector
Derived DataVector<T>.
Definition
DataVector.h:795
DataVector< CompositeParticle >::DataVector
DataVector(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS, SG::IndexTrackingPolicy trackIndices=SG::DEFAULT_TRACK_INDICES)
IParticle
Definition
Event/EventKernel/EventKernel/IParticle.h:43
SG::OwnershipPolicy
OwnershipPolicy
Definition
OwnershipPolicy.h:16
Generated on
for ATLAS Offline Software by
1.17.0