ATLAS Offline Software
PhysicsAnalysis/AnalysisCommon/ParticleEvent/ParticleEvent/CompositeParticleContainer.h
Go to the documentation of this file.
1 
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 
18 
19 #include "AthenaKernel/CLASS_DEF.h"
20 
21 // NavFourMom includes
23 #include "EventKernel/IParticle.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>
34 
35 class CompositeParticleContainer : public DataVector<CompositeParticle>
36 {
38  // Public methods:
40  public:
41 
45 
49 
54 
58 
61  virtual ~CompositeParticleContainer();
62 
63 };
64 
68 
70 
71 // Tell StoreGate that CompositeParticleContainer derives from DV<CP>
73 
74 #endif //> PARTICLEEVENT_COMPOSITEPARTICLECONTAINER_H
CompositeParticle
Definition: PhysicsAnalysis/AnalysisCommon/ParticleEvent/ParticleEvent/CompositeParticle.h:52
IParticle.h
CompositeParticleContainer
Definition: PhysicsAnalysis/AnalysisCommon/ParticleEvent/ParticleEvent/CompositeParticleContainer.h:36
SG::OwnershipPolicy
OwnershipPolicy
describes the possible element ownership policies (see e.g. DataVector)
Definition: OwnershipPolicy.h:16
SG_BASE
SG_BASE(CompositeParticleContainer, DataVector< CompositeParticle >)
Inline methods:
DATAVECTOR_BASE
DATAVECTOR_BASE(CompositeParticle, IParticle)
CompositeParticleContainer::operator=
CompositeParticleContainer & operator=(const CompositeParticleContainer &rhs)
Assignment operator: compiler generated one is good enough.
Definition: CompositeParticleContainer.cxx:38
INavigable4MomentumCollection.h
CompositeParticleContainer::~CompositeParticleContainer
virtual ~CompositeParticleContainer()
Destructor:
Definition: CompositeParticleContainer.cxx:54
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
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:64
IParticleContainer.h
CompositeParticleContainer::CompositeParticleContainer
CompositeParticleContainer()
Default constructor:
Definition: CompositeParticleContainer.cxx:25
IParticle
Definition: Event/EventKernel/EventKernel/IParticle.h:43
CLASS_DEF.h
macros to associate a CLID to a type