ATLAS Offline Software
ExampleHitContainer.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_EXAMPLEHITCONTAINER_H
6 #define ATHENAPOOLEXAMPLEDATA_EXAMPLEHITCONTAINER_H
7 
16 
20 class ExampleHitContainer : public DataVector<ExampleHit> {
21 
22 public: // Constructor and Destructor
26  virtual ~ExampleHitContainer() {};
27 };
28 #include "AthenaKernel/CLASS_DEF.h"
30 #endif
ExampleHit.h
This file contains the class definition for the ExampleHit class.
SG::OwnershipPolicy
OwnershipPolicy
describes the possible element ownership policies (see e.g. DataVector)
Definition: OwnershipPolicy.h:16
ExampleHitContainer::ExampleHitContainer
ExampleHitContainer(SG::OwnershipPolicy ownPolicy=SG::OWN_ELEMENTS)
Default Constructor.
Definition: ExampleHitContainer.h:24
SG::OWN_ELEMENTS
@ OWN_ELEMENTS
this data object owns its elements
Definition: OwnershipPolicy.h:17
ExampleHit
This class provides a dummy hit data object for AthenaPool.
Definition: ExampleHit.h:24
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
DataVector< ExampleHit >::ownPolicy
SG::OwnershipPolicy ownPolicy() const
Return the ownership policy setting for this container.
ExampleHitContainer::~ExampleHitContainer
virtual ~ExampleHitContainer()
Destructor.
Definition: ExampleHitContainer.h:26
ExampleHitContainer
This class provides a data vector for ExampleHit objects in AthenaPool.
Definition: ExampleHitContainer.h:20
CLASS_DEF.h
macros to associate a CLID to a type