ATLAS Offline Software
LArCalorimeter
LArCnv
LArSimEventAthenaPool
src
LArHitContainerCnv.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LARHITCONTAINERCNV
6
#define LARHITCONTAINERCNV
7
8
#include "
LArSimEvent/LArHitContainer.h
"
9
#include "
LArSimEventTPCnv/LArHitContainer_p1.h
"
10
#include "
LArSimEventTPCnv/LArHitContainer_p2.h
"
11
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
12
// Gaudi
13
#include "GaudiKernel/MsgStream.h"
14
// typedef to the latest persistent version
15
typedef
LArHitContainer_p2
LArHitContainer_PERS
;
16
17
class
LArHitContainerCnv
:
public
T_AthenaPoolCustomCnv
<LArHitContainer, LArHitContainer_PERS > {
18
friend
class
CnvFactory
<
LArHitContainerCnv
>;
19
protected
:
20
public
:
21
LArHitContainerCnv
(ISvcLocator* svcloc) :
T_AthenaPoolCustomCnv
<
LArHitContainer
,
LArHitContainer_PERS
>( svcloc) {}
22
protected
:
23
LArHitContainer_PERS
*
createPersistent
(
LArHitContainer
* transCont);
24
LArHitContainer
*
createTransient
();
25
};
26
27
//#include "LArHitContainerCnv.icc"
28
29
#endif
LArHitContainer
Hit collection.
Definition:
LArHitContainer.h:26
LArHitContainer_PERS
LArHitContainer_p2 LArHitContainer_PERS
Definition:
LArHitContainerCnv.h:15
LArHitContainerCnv::createTransient
LArHitContainer * createTransient()
Definition:
LArHitContainerCnv.cxx:18
LArHitContainer_p2.h
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition:
T_AthenaPoolCustomCnv.h:132
LArHitContainer_p1.h
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
LArHitContainerCnv::LArHitContainerCnv
LArHitContainerCnv(ISvcLocator *svcloc)
Definition:
LArHitContainerCnv.h:21
LArHitContainer.h
LArHitContainer_p2
Persistent represenation of a LArHitContainer,.
Definition:
LArHitContainer_p2.h:16
LArHitContainerCnv::createPersistent
LArHitContainer_PERS * createPersistent(LArHitContainer *transCont)
Definition:
LArHitContainerCnv.cxx:10
LArHitContainerCnv
Definition:
LArHitContainerCnv.h:17
Generated on Wed Jan 8 2025 21:12:49 for ATLAS Offline Software by
1.8.18