ATLAS Offline Software
Loading...
Searching...
No Matches
TrackParticleContainerCnv_tlp3.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 TRACKPARTICLECONTAINER_CNV_TLP3_REC_H
6#define TRACKPARTICLECONTAINER_CNV_TLP3_REC_H
7
9
11
12//-----------------------------------------
13// TrackParticle
14//-----------------------------------------
17
18//-----------------------------------------------------------------------------
19// Trk Parameters
20//-----------------------------------------------------------------------------
22
23//-----------------------------------------------------------------------------
24// TrkEventPrimitives
25//-----------------------------------------------------------------------------
28
29//-----------------------------------------------------------------------------
30// TrkTrackSummary
31//-----------------------------------------------------------------------------
33
34//------------------------------------------------------------------------------
35// TrackInfo
36//------------------------------------------------------------------------------
38
39class TrackParticleContainerCnv_tlp3 : public AthenaPoolTopLevelTPConverter< TrackParticleContainerCnv_p2, Rec::TrackParticleContainer_tlp3 >
40{
41
42public:
43
44 TrackParticleContainerCnv_tlp3(bool nosurf = false);
46
47//default methods
48 virtual void setPStorage( Rec::TrackParticleContainer_tlp3 *storage );
49
50// return list of tokens to extending persistent objects
51// it is stored in m_tokenList member of the Track persistent rep
52 virtual TPCnvTokenList_p1* getTokenListVar() { return &(getTLPersObject()->m_tokenList); }
53
54protected:
55
56//TrackParticle
58
60
61// TrkTrackSummary
63
64// TrkEventPrimitives
67};
68
69
70template <>
71class T_TPCnv<Rec::TrackParticleContainer, Rec::TrackParticleContainer_tlp3 >
73public:
74 // ??? Maybe this should be moved up to AthenaPoolTopLevelTPConverter...
75 virtual void persToTrans (const Rec::TrackParticleContainer_tlp3* pers,
77 MsgStream& msg);
78 virtual void transToPers (const Rec::TrackParticleContainer* trans,
80 MsgStream& msg);
81};
82
83
91
92
93#endif
TopLevelTPConverter< MAIN_CNV, TL_PERS > AthenaPoolTopLevelTPConverter
vector of TPCnvToken_p1 Each top-level persistent object that has extentions needs a data member of t...
virtual void persToTrans(const Rec::TrackParticleContainer_tlp3 *pers, Rec::TrackParticleContainer *trans, MsgStream &msg)
virtual void transToPers(const Rec::TrackParticleContainer *trans, Rec::TrackParticleContainer_tlp3 *pers, MsgStream &msg)
New convertor which handles all track parameters in one go - i.e.
virtual void setPStorage(Rec::TrackParticleContainer_tlp3 *storage)
virtual TPCnvTokenList_p1 * getTokenListVar()
Return the list of tokens to the objects extending the object owned by this converter.
Gaudi Tools.
MsgStream & msg
Definition testRead.cxx:32