ATLAS Offline Software
LArTTL1ContainerCnv.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef LAREVENTATHENAPOOL_LARTTL1CONTAINERCNV_H
6 #define LAREVENTATHENAPOOL_LARTTL1CONTAINERCNV_H
7 
8 // AthenaPoolCnvSvc includes
10 
11 // LArTPCnv includes
13 
14 // LArRawEvent includes
16 
18 
20  LArTTL1Container,
21  LArTTL1Container_PERS
22  >
23 
24 {
25 
26  // make the factory for this converter our friend
27  friend class CnvFactory<LArTTL1ContainerCnv>;
28 
29  protected:
30 
33 public:
34  LArTTL1ContainerCnv(ISvcLocator* svcloc);
35 protected:
36 
39  virtual LArTTL1Container_PERS*
40  createPersistent( LArTTL1Container* transCont );
41 
45 
46 };
47 
48 inline LArTTL1ContainerCnv::LArTTL1ContainerCnv( ISvcLocator* svcLocator ) :
49  T_AthenaPoolCustomCnv<LArTTL1Container, LArTTL1Container_PERS>(svcLocator, "LArTTL1ContainerCnv")
50 {}
51 
52 #endif //> LAREVENTATHENAPOOL_LARTTL1CONTAINERCNV_H
LArTTL1Container_p1
Definition: LArTTL1Container_p1.h:12
LArTTL1ContainerCnv
Definition: LArTTL1ContainerCnv.h:24
LArTTL1Container_PERS
LArTTL1Container_p1 LArTTL1Container_PERS
Definition: LArTTL1ContainerCnv.h:17
LArTTL1Container.h
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition: T_AthenaPoolCustomCnv.h:132
LArTTL1ContainerCnv::createTransient
virtual LArTTL1Container * createTransient()
Build the transient representation from a persistent one.
Definition: LArTTL1ContainerCnv.cxx:20
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
LArTTL1Container
Container class for LArTTL1.
Definition: LArTTL1Container.h:24
LArTTL1Container_p1.h
LArTTL1ContainerCnv::LArTTL1ContainerCnv
LArTTL1ContainerCnv(ISvcLocator *svcloc)
Create the converter from the service locator.
Definition: LArTTL1ContainerCnv.h:48
LArTTL1ContainerCnv::createPersistent
virtual LArTTL1Container_PERS * createPersistent(LArTTL1Container *transCont)
Build the persistent representation from the transient one.
Definition: LArTTL1ContainerCnv.cxx:12