ATLAS Offline Software
Loading...
Searching...
No Matches
McEventCollectionCnv_p1.h
Go to the documentation of this file.
1
2
3/*
4 Copyright (C) 2002-2020 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// STL includes
15#ifdef __clang__
16#pragma clang diagnostic push
17#pragma clang diagnostic ignored "-Wkeyword-macro"
18#endif
19#define private public
20#define protected public
21#include "AtlasHepMC/GenEvent.h"
24#ifdef __clang__
25#pragma clang diagnostic pop
26#endif
27#undef private
28#undef protected
30
31// AthenaPoolCnvSvc includes
33
34// GeneratorObjectsTPCnv includes
36
37// Forward declaration
38class MsgStream;
40 McEventCollection,
41 McEventCollection_p1
42 >
43{
46
48 // Public methods:
50 public:
51
55
59
63
67
71 virtual void persToTrans( const McEventCollection_p1* persObj,
72 McEventCollection* transObj,
73 MsgStream& msg ) ;
74
78 virtual void transToPers( const McEventCollection* transObj,
79 McEventCollection_p1* persObj,
80 MsgStream& msg ) ;
81};
82#endif //> GENERATOROBJECTSTPCNV_MCEVENTCOLLECTIONCNV_P1_H
TPConverterBase< TRANS, PERS > T_AthenaPoolTPCnvBase
McEventCollectionCnv_p1()
Default constructor:
virtual ~McEventCollectionCnv_p1()
Destructor.
McEventCollectionCnv_p1(const McEventCollectionCnv_p1 &rhs)
Copy constructor.
T_AthenaPoolTPCnvBase< McEventCollection, McEventCollection_p1 > Base_t
virtual void persToTrans(const McEventCollection_p1 *persObj, McEventCollection *transObj, MsgStream &msg)
Method creating the transient representation of McEventCollection from its persistent representation ...
virtual void transToPers(const McEventCollection *transObj, McEventCollection_p1 *persObj, MsgStream &msg)
Method creating the persistent representation McEventCollection_p1 from its transient representation ...
McEventCollectionCnv_p1 & operator=(const McEventCollectionCnv_p1 &rhs)
Assignement operator.
This defines the McEventCollection, which is really just an ObjectVector of McEvent objectsFile: Gene...
MsgStream & msg
Definition testRead.cxx:32