ATLAS Offline Software
Simulation
G4SimCnv
G4SimAthenaPOOL
src
TrackRecordCollectionCnv.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef G4SIM_TRACKRECORDCOLLECTIONCNV
6
#define G4SIM_TRACKRECORDCOLLECTIONCNV
7
8
#include "
TrackRecord/TrackRecordCollection.h
"
9
#include "
G4SimTPCnv/TrackRecordCollection_p1.h
"
10
#include "
G4SimTPCnv/TrackRecordCollection_p2.h
"
11
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
12
// Gaudi
13
#include "GaudiKernel/MsgStream.h"
14
// typedef to the latest persistent version
15
typedef
TrackRecordCollection_p2
TrackRecordCollection_PERS
;
16
17
class
TrackRecordCollectionCnv
:
public
T_AthenaPoolCustomCnv
<TrackRecordCollection, TrackRecordCollection_PERS > {
18
friend
class
CnvFactory
<
TrackRecordCollectionCnv
>;
19
public
:
20
TrackRecordCollectionCnv
(ISvcLocator* svcloc) :
21
T_AthenaPoolCustomCnv
<
TrackRecordCollection
,
TrackRecordCollection_PERS
>( svcloc) {}
22
protected
:
23
TrackRecordCollection_PERS
*
createPersistent
(
TrackRecordCollection
* transCont);
24
TrackRecordCollection
*
createTransient
();
25
};
26
27
// #include "TrackRecordCollectionCnv.icc"
28
29
#endif
30
TrackRecordCollection_p2.h
TrackRecordCollection_p1.h
AtlasHitsVector
Definition:
AtlasHitsVector.h:33
TrackRecordCollectionCnv::TrackRecordCollectionCnv
TrackRecordCollectionCnv(ISvcLocator *svcloc)
Definition:
TrackRecordCollectionCnv.h:20
TrackRecordCollection_PERS
TrackRecordCollection_p2 TrackRecordCollection_PERS
Definition:
TrackRecordCollectionCnv.h:15
TrackRecordCollectionCnv::createTransient
TrackRecordCollection * createTransient()
Definition:
TrackRecordCollectionCnv.cxx:20
TrackRecordCollectionCnv
Definition:
TrackRecordCollectionCnv.h:17
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition:
T_AthenaPoolCustomCnv.h:132
TrackRecordCollectionCnv::createPersistent
TrackRecordCollection_PERS * createPersistent(TrackRecordCollection *transCont)
Definition:
TrackRecordCollectionCnv.cxx:12
TrackRecordCollection_p2
Definition:
TrackRecordCollection_p2.h:21
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
CnvFactory
Abstract factory to create the converter.
Definition:
ToyConverter.h:16
TrackRecordCollection.h
Generated on Sun Dec 22 2024 21:20:32 for ATLAS Offline Software by
1.8.18