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 std::string& key) override;
45
46
47 private:
48 IMessageSvc* m_msgSvc;
50
51};//end of class definitions
52
53#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.
virtual Trk::MaterialStepCollection * createTransientWithKey(const std::string &key) override
method to be implemented by the developer.
MaterialStepCollectionCnv_p1 m_TPConverter
MaterialStepCollectionCnv(ISvcLocator *svcloc)
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)
DataVector< Trk::MaterialStep > MaterialStepCollection