ATLAS Offline Software
Loading...
Searching...
No Matches
McEventCollectionCnv.h
Go to the documentation of this file.
1
2
3/*
4 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5*/
6
7// McEventCollectionCnv.h
8// Header file for class McEventCollectionCnv
9// Author: S.Binet<binet@cern.ch>
11#ifndef GENERATOROBJECTSATHENAPOOL_MCEVENTCOLLECTIONCNV_H
12#define GENERATOROBJECTSATHENAPOOL_MCEVENTCOLLECTIONCNV_H
13
15
16// AthenaPoolCnvSvc includes
18
19// GeneratorObjectsTPCnv includes
21
22// Forward declaration
23
24// the latest persistent representation type of DataCollection:
26
28 McEventCollection,
29 McEventCollection_PERS
30 >
31
32{
33
34 // make the factory for this converter our friend
35 friend class CnvFactory<McEventCollectionCnv>;
36
39public:
40 McEventCollectionCnv(ISvcLocator* svcloc);
41protected:
42
47
51
52};
53
57
58inline McEventCollectionCnv::McEventCollectionCnv( ISvcLocator* svcLocator ) :
60{}
61
62#endif //> GENERATOROBJECTSATHENAPOOL_MCEVENTCOLLECTIONCNV_H
63
McEventCollection_p6 McEventCollection_PERS
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
Abstract factory to create the converter.
virtual McEventCollection_PERS * createPersistent(McEventCollection *transCont)
Build the persistent representation from the transient one.
McEventCollectionCnv(ISvcLocator *svcloc)
Create the converter from the service locator.
virtual McEventCollection * createTransient()
Build the transient representation from a persistent one.
This defines the McEventCollection, which is really just an ObjectVector of McEvent objectsFile: Gene...
Compatibility for old converter classes that don't get passed the key.