ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Generators
GeneratorObjectsTPCnv
GeneratorObjectsTPCnv
McEventCollectionCnv_p1.h
Go to the documentation of this file.
1
2
3
/*
4
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// McEventCollectionCnv_p1.h
8
// Header file for class McEventCollectionCnv_p1
9
// Author: S.Binet<binet@cern.ch>
11
#ifndef GENERATOROBJECTSTPCNV_MCEVENTCOLLECTIONCNV_P1_H
12
#define GENERATOROBJECTSTPCNV_MCEVENTCOLLECTIONCNV_P1_H
13
14
#include <sstream>
15
16
// STL includes
17
#include "
AtlasHepMC/GenEvent.h
"
18
#include "
AtlasHepMC/GenVertex.h
"
19
#include "
AtlasHepMC/GenParticle.h
"
20
#include "
GeneratorObjects/McEventCollection.h
"
21
22
// AthenaPoolCnvSvc includes
23
#include "
AthenaPoolCnvSvc/T_AthenaPoolTPConverter.h
"
24
25
// GeneratorObjectsTPCnv includes
26
#include "
GeneratorObjectsTPCnv/McEventCollection_p1.h
"
27
28
// Forward declaration
29
class
MsgStream;
30
class
McEventCollectionCnv_p1
:
public
T_AthenaPoolTPCnvBase
<
31
McEventCollection,
32
McEventCollection_p1
33
>
34
{
35
typedef
T_AthenaPoolTPCnvBase
<
McEventCollection
,
36
McEventCollection_p1
>
Base_t
;
37
39
// Public methods:
41
public
:
42
45
McEventCollectionCnv_p1
();
46
49
McEventCollectionCnv_p1
(
const
McEventCollectionCnv_p1
& rhs );
50
53
McEventCollectionCnv_p1
&
operator=
(
const
McEventCollectionCnv_p1
& rhs );
54
57
virtual
~McEventCollectionCnv_p1
();
58
62
virtual
void
persToTrans
(
const
McEventCollection_p1
* persObj,
63
McEventCollection
* transObj,
64
MsgStream&
msg
) ;
65
69
virtual
void
transToPers
(
const
McEventCollection
* transObj,
70
McEventCollection_p1
* persObj,
71
MsgStream&
msg
) ;
72
};
73
#endif
//> GENERATOROBJECTSTPCNV_MCEVENTCOLLECTIONCNV_P1_H
GenEvent.h
GenParticle.h
GenVertex.h
McEventCollection.h
McEventCollection_p1.h
T_AthenaPoolTPConverter.h
T_AthenaPoolTPCnvBase
TPConverterBase< TRANS, PERS > T_AthenaPoolTPCnvBase
Definition
T_AthenaPoolTPConverter.h:41
McEventCollectionCnv_p1::McEventCollectionCnv_p1
McEventCollectionCnv_p1()
Default constructor:
Definition
McEventCollectionCnv_p1.cxx:25
McEventCollectionCnv_p1::~McEventCollectionCnv_p1
virtual ~McEventCollectionCnv_p1()
Destructor.
McEventCollectionCnv_p1::McEventCollectionCnv_p1
McEventCollectionCnv_p1(const McEventCollectionCnv_p1 &rhs)
Copy constructor.
McEventCollectionCnv_p1::Base_t
T_AthenaPoolTPCnvBase< McEventCollection, McEventCollection_p1 > Base_t
Definition
McEventCollectionCnv_p1.h:36
McEventCollectionCnv_p1::persToTrans
virtual void persToTrans(const McEventCollection_p1 *persObj, McEventCollection *transObj, MsgStream &msg)
Method creating the transient representation of McEventCollection from its persistent representation ...
Definition
McEventCollectionCnv_p1.cxx:50
McEventCollectionCnv_p1::transToPers
virtual void transToPers(const McEventCollection *transObj, McEventCollection_p1 *persObj, MsgStream &msg)
Method creating the persistent representation McEventCollection_p1 from its transient representation ...
Definition
McEventCollectionCnv_p1.cxx:85
McEventCollectionCnv_p1::operator=
McEventCollectionCnv_p1 & operator=(const McEventCollectionCnv_p1 &rhs)
Assignement operator.
Definition
McEventCollectionCnv_p1.cxx:34
McEventCollection_p1
Definition
McEventCollection_p1.h:24
McEventCollection
This defines the McEventCollection, which is really just an ObjectVector of McEvent objectsFile: Gene...
Definition
McEventCollection.h:31
msg
MsgStream & msg
Definition
testRead.cxx:32
Generated on
for ATLAS Offline Software by
1.17.0