ATLAS Offline Software
Loading...
Searching...
No Matches
AthenaHitsVector.h File Reference
#include <concepts>
#include <memory>
#include <type_traits>
#include <vector>
#include "AthContainers/tools/DVLInfo.h"
#include "boost/iterator/transform_iterator.hpp"
#include "AthenaKernel/getMessageSvc.h"
#include "GaudiKernel/IMessageSvc.h"
#include "GaudiKernel/ISvcLocator.h"
#include "GaudiKernel/MsgStream.h"

Go to the source code of this file.

Classes

struct  HitsVectorBase
struct  AthHitVec::AuxStoreHitCollection< ContainerT, AuxContainerT >
 Helper for event-local xAOD hit collections with a separate auxiliary store. More...
class  AthenaHitsVector< T >
struct  AthenaHitsVector< T >::make_const

Namespaces

namespace  AthHitVec

Concepts

concept  AthHitVec::isHitVectorBase
 Define the concept that the struct needs to inherit from the HitsVectorBase.
concept  AthHitVec::isAuxStoreHitCollection
 Define the concept for hit-collection carriers owning an xAOD container and its auxiliary store.

Enumerations

enum  AthHitVec::OwnershipPolicy { AthHitVec::OWN_ELEMENTS = 0 , AthHitVec::VIEW_ELEMENTS = 1 }

Functions

template<class T>
void dvl_makecontainer (size_t nreserve, AthenaHitsVector< T > *&cont)
 Construct a new container.

Variables

template<class T>
const std::type_info *const AthenaHitsVector< T >::s_info

Function Documentation

◆ dvl_makecontainer()

template<class T>
void dvl_makecontainer ( size_t nreserve,
AthenaHitsVector< T > *& cont )

Construct a new container.

Parameters
nreserveNumber of elements for which to reserve space. (Ignored if not appropriate.)

This is broken out from the make method to allow specializing just this method.

Definition at line 255 of file AthenaHitsVector.h.

255 {
256 cont = new AthenaHitsVector<T>;
257 cont->reserve(nreserve);
258}
void reserve(size_type n)

Variable Documentation

◆ AthenaHitsVector< T >::s_info

template<class T>
const std::type_info* const AthenaHitsVector< T >::s_info
Initial value:
=
static const std::type_info * initHelper()

Definition at line 263 of file AthenaHitsVector.h.