ATLAS Offline Software
Loading...
Searching...
No Matches
TrackCollectionCnv.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3*/
4
5//-----------------------------------------------------------------------------
6//
7// file: TrackCollectionCnv.h
8// author: Lukasz Janyst <ljanyst@cern.ch>
9//
10//-----------------------------------------------------------------------------
11
12#ifndef TRKEVENTATHENAPOOL_TRACKCOLLECTIONCNV_H
13#define TRKEVENTATHENAPOOL_TRACKCOLLECTIONCNV_H
14
15#include "GaudiKernel/MsgStream.h"
16
19
22
24
32
33//-----------------------------------------------------------------------------
34// Base class definition - defined which is the to-be-used persistent version
35//-----------------------------------------------------------------------------
36
38
40
41//-----------------------------------------------------------------------------
42// Converter for TrackCollection object
43//-----------------------------------------------------------------------------
47{
48friend class CnvFactory<TrackCollectionCnv>;
49
50public:
51 TrackCollectionCnv( ISvcLocator *svcloc );
52
53protected:
54 virtual StatusCode initialize() override;
55
57 const std::string& key) override;
58 virtual TrackCollection *createTransientWithKey ( const Token* token,
59 const std::string& key) override;
60
62
63
64private:
66
67 IMessageSvc* m_msgSvc;
68 MsgStream m_log;
70
78};
79
80#endif // TRKEVENTATHENAPOOL_TRACKCOLLECTIONCNV_H
TopLevelTPCnvBase AthenaPoolTopLevelTPCnvBase
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
T_AthenaPoolCustomCnvWithKey< TrackCollection, TrackCollection_PERS > TrackCollectionCnvBase
Trk::TrackCollection_tlp7 TrackCollection_PERS
DataVector< Trk::Track > TrackCollection
This typedef represents a collection of Trk::Track objects.
Abstract factory to create the converter.
T_AthenaPoolCustomCnvWithKey(ISvcLocator *pSvcLocator, const char *name=nullptr)
This class provides a token that identifies in a unique way objects on the persistent storage.
Definition Token.h:21
TrackCollectionCnv_tlp3 m_TPConverter_tlp3
void initializeOldExtConverters()
setup old extended converters when reading old data
TrackCollectionCnv_tlp2 m_TPConverter_tlp2
virtual TrackCollection * createTransientWithKey(const Token *token, const std::string &key) override
method to be implemented by the developer.
TrackCollectionCnv_tlp7 m_TPConverter
TrackCollectionCnv(ISvcLocator *svcloc)
virtual AthenaPoolTopLevelTPCnvBase * getTopLevelTPCnv() override
returns the main top-level TP converter
TrackCollectionCnv_tlp4 m_TPConverter_tlp4
virtual TrackCollection_PERS * createPersistentWithKey(TrackCollection *transCont, const std::string &key) override
method to be implemented by the developer.
TrackCollectionCnv_tlp1 m_TPConverter_tlp1
virtual StatusCode initialize() override
Gaudi Service Interface method implementations:
TrackCollectionCnv_tlp6 m_TPConverter_tlp6
TrackCollectionCnv_tlp5 m_TPConverter_tlp5