ATLAS Offline Software
Loading...
Searching...
No Matches
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#ifndef HEPMC3
18# ifdef __clang__
19# pragma clang diagnostic push
20# pragma clang diagnostic ignored "-Wkeyword-macro"
21# endif
22# if __GNUC__ >= 16
23# pragma GCC diagnostic push
24# pragma GCC diagnostic ignored "-Wkeyword-macro"
25# endif
26# define private public
27# define protected public
28#endif
29#include "AtlasHepMC/GenEvent.h"
32#ifndef HEPMC3
33# undef private
34# undef protected
35# ifdef __clang__
36# pragma clang diagnostic pop
37# endif
38# if __GNUC__ >= 16
39# pragma GCC diagnostic pop
40# endif
41#endif
43
44// AthenaPoolCnvSvc includes
46
47// GeneratorObjectsTPCnv includes
49
50// Forward declaration
51class MsgStream;
53 McEventCollection,
54 McEventCollection_p1
55 >
56{
59
61 // Public methods:
63 public:
64
68
72
76
80
84 virtual void persToTrans( const McEventCollection_p1* persObj,
85 McEventCollection* transObj,
86 MsgStream& msg ) ;
87
91 virtual void transToPers( const McEventCollection* transObj,
92 McEventCollection_p1* persObj,
93 MsgStream& msg ) ;
94};
95#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