ATLAS Offline Software
McEventCollectionCnv.h
Go to the documentation of this file.
1 
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 
39 public:
40  McEventCollectionCnv(ISvcLocator* svcloc);
41 protected:
42 
45  virtual McEventCollection_PERS*
46  createPersistent( McEventCollection* transCont );
47 
51 
52 };
53 
57 
58 inline McEventCollectionCnv::McEventCollectionCnv( ISvcLocator* svcLocator ) :
60 {}
61 
62 #endif //> GENERATOROBJECTSATHENAPOOL_MCEVENTCOLLECTIONCNV_H
63 
McEventCollection_p6
Definition: McEventCollection_p6.h:27
McEventCollectionCnv
Definition: McEventCollectionCnv.h:32
McEventCollectionCnv::createTransient
virtual McEventCollection * createTransient()
Build the transient representation from a persistent one.
Definition: McEventCollectionCnv.cxx:39
McEventCollection_p6.h
McEventCollection.h
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition: T_AthenaPoolCustomCnv.h:132
McEventCollectionCnv::McEventCollectionCnv
McEventCollectionCnv(ISvcLocator *svcloc)
Create the converter from the service locator.
Definition: McEventCollectionCnv.h:58
T_AthenaPoolCustomCnv.h
his file contains the class definition for the templated T_AthenaPoolCustomCnv class.
CnvFactory
Abstract factory to create the converter.
Definition: ToyConverter.h:16
McEventCollection
This defines the McEventCollection, which is really just an ObjectVector of McEvent objects.
Definition: McEventCollection.h:33
McEventCollection_PERS
McEventCollection_p6 McEventCollection_PERS
Definition: McEventCollectionCnv.h:25
McEventCollectionCnv::createPersistent
virtual McEventCollection_PERS * createPersistent(McEventCollection *transCont)
Build the persistent representation from the transient one.
Definition: McEventCollectionCnv.cxx:28