ATLAS Offline Software
ExampleTrackContainer.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ATHENAPOOLEXAMPLEDATA_EXAMPLETRACKCONTAINER_H
6 #define ATHENAPOOLEXAMPLEDATA_EXAMPLETRACKCONTAINER_H
7 
16 
20 class ExampleTrackContainer : public DataVector<ExampleTrack> {
21 
22 public: // Constructor and Destructor
26  virtual ~ExampleTrackContainer() {};
27 };
28 #include "AthenaKernel/CLASS_DEF.h"
30 #endif
ExampleTrackContainer::~ExampleTrackContainer
virtual ~ExampleTrackContainer()
Destructor.
Definition: ExampleTrackContainer.h:26
ExampleTrack
This class provides a dummy track data object for AthenaPool.
Definition: ExampleTrack.h:24
SG::OwnershipPolicy
OwnershipPolicy
describes the possible element ownership policies (see e.g. DataVector)
Definition: OwnershipPolicy.h:16
SG::OWN_ELEMENTS
@ OWN_ELEMENTS
this data object owns its elements
Definition: OwnershipPolicy.h:17
ExampleTrackContainer
This class provides a data vector for ExampleTrack objects in AthenaPool.
Definition: ExampleTrackContainer.h:20
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
ExampleTrackContainer::ExampleTrackContainer
ExampleTrackContainer(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
Default Constructor.
Definition: ExampleTrackContainer.h:24
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
DataVector< ExampleTrack >::ownPolicy
SG::OwnershipPolicy ownPolicy() const
Return the ownership policy setting for this container.
ExampleTrack.h
This file contains the class definition for the ExampleTrack class.
CLASS_DEF.h
macros to associate a CLID to a type