ATLAS Offline Software
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 
34 public:
35  MaterialStepCollectionCnv( ISvcLocator *svcloc );
36 
37 
38 protected:
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
MaterialStepCollectionCnv::MaterialStepCollectionCnv
MaterialStepCollectionCnv(ISvcLocator *svcloc)
Definition: MaterialStepCollectionCnv.cxx:17
MaterialStepCollection.h
MaterialStepCollection_PERS
Trk::MaterialStepCollection_p1 MaterialStepCollection_PERS
Definition: MaterialStepCollectionCnv.h:24
MaterialStepCollectionCnv::m_TPConverter
MaterialStepCollectionCnv_p1 m_TPConverter
Definition: MaterialStepCollectionCnv.h:49
T_AthenaPoolCustomCnvWithKey
This templated class extends T_AthenaPoolCustCnv to provide management of the persistent objects crea...
Definition: T_AthenaPoolCustomCnv.h:35
MaterialStepCollectionCnv::m_msgSvc
IMessageSvc * m_msgSvc
MsgStream svc.
Definition: MaterialStepCollectionCnv.h:48
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
MaterialStepCollectionCnv::createPersistentWithKey
virtual MaterialStepCollection_PERS * createPersistentWithKey(Trk::MaterialStepCollection *transCont, const std::string &key) override
Definition: MaterialStepCollectionCnv.cxx:23
MaterialStepCollectionCnvBase
T_AthenaPoolCustomCnvWithKey< Trk::MaterialStepCollection, MaterialStepCollection_PERS > MaterialStepCollectionCnvBase
Definition: MaterialStepCollectionCnv.h:25
Trk::MaterialStepCollection_p1
Definition: MaterialStepCollection_p1.h:18
CnvFactory
Abstract factory to create the converter.
Definition: ToyConverter.h:16
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
MaterialStepCollectionCnv::createTransientWithKey
virtual Trk::MaterialStepCollection * createTransientWithKey(const std::string &key) override
method to be implemented by the developer.
Definition: MaterialStepCollectionCnv.cxx:32
MaterialStepCollectionCnv
Definition: MaterialStepCollectionCnv.h:28
MaterialStepCollectionCnv_p1.h
MaterialStepCollectionCnv_p1
Definition: MaterialStepCollectionCnv_p1.h:23
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37