ATLAS Offline Software
Loading...
Searching...
No Matches
MaterialStepCollectionCnv.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
6// MaterialStepCollectionCnv.h, (c) ATLAS Detector software
8
9#ifndef MATERIALSTEPCOLLECTION_CNV_H
10#define MATERIALSTEPCOLLECTION_CNV_H
11
12// ATLAS persistency way:
13#include "GaudiKernel/MsgStream.h"
14
15
17
18// the transient side
20// the perisistent side
22
23// useful typedefs to not change the code only once in case of schema evolution
26
27
29
31
32 protected:
33
34public:
35 MaterialStepCollectionCnv( ISvcLocator *svcloc );
36
37
38protected:
41 const std::string& key) override;
42
44 createTransientWithKey ( const Token* token,
45 const std::string& key) override;
46
47
48 private:
49 IMessageSvc* m_msgSvc;
51
52};//end of class definitions
53
54#endif // MATERIALSTEPCOLLECTION_CNV_H
T_AthenaPoolCustomCnvWithKey< Trk::MaterialStepCollection, MaterialStepCollection_PERS > MaterialStepCollectionCnvBase
Trk::MaterialStepCollection_p1 MaterialStepCollection_PERS
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
Abstract factory to create the converter.
MaterialStepCollectionCnv_p1 m_TPConverter
MaterialStepCollectionCnv(ISvcLocator *svcloc)
virtual Trk::MaterialStepCollection * createTransientWithKey(const Token *token, const std::string &key) override
method to be implemented by the developer.
IMessageSvc * m_msgSvc
MsgStream svc.
virtual MaterialStepCollection_PERS * createPersistentWithKey(Trk::MaterialStepCollection *transCont, const std::string &key) override
method to be implemented by the developer.
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
DataVector< Trk::MaterialStep > MaterialStepCollection