xAOD::TCDVHolderT< T > Class Template Reference

#include <TCDVHolderT.h>

Inheritance diagram for xAOD::TCDVHolderT< T >:
xAOD::THolder

List of all members.

Public Types

typedef ConstDataVector< TObject_t
 Type of the managed object.

Public Member Functions

 TCDVHolderT (ConstDataVector< T > *object, const std::type_info &type,::Bool_t owner=kTRUE)
 Constructor with the object, and its type.
virtual void set (void *obj)
 Replace the managed object.
virtual const void * getAsConst (const std::type_info &tid,::Bool_t silent=kFALSE) const
 Return the object as a specific, constant pointer.

Detailed Description

template<class T>
class xAOD::TCDVHolderT< T >

Class managing ConstDataVector objects in transient memory

In order to be able to record ConstDataVector objects into the transient store, and be able to retrieve them as "const DataVector", we need to use a specialised holder type. Very much like how we use a specialised SG::DataBucket for this type in Athena's StoreGate.

Author:
Attila Krasznahorkay <Attila.Krasznahorkay@cern.ch>
Revision
656386
Date
2015-03-24 14:42:48 +0100 (Tue, 24 Mar 2015)

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1