ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCnv
LArCondAthenaPool
src
LArPedestalMCCnv.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
10
11
#ifndef LArPedestalMCCnv_H
12
#define LArPedestalMCCnv_H
13
14
#include "
AthenaPoolCnvSvc/T_AthenaPoolCustomCnv.h
"
15
#include "
LArRawConditions/LArPedestalMC.h
"
16
#include "
LArCondTPCnv/LArPedestalMC_p1.h
"
17
18
// the latest persistent representation type of LArPedestalMC
19
typedef
LArPedestalMC
LArPedestalMCTransType
;
20
typedef
LArPedestalMC_p1
LArPedestalMCPersType
;
21
22
typedef
T_AthenaPoolCustomCnv<LArPedestalMCTransType, LArPedestalMCPersType >
LArPedestalMCCnvBase
;
23
24
class
LArPedestalMCCnv
:
public
LArPedestalMCCnvBase
{
25
friend
class
CnvFactory
<
LArPedestalMCCnv
>;
26
protected
:
27
public
:
28
LArPedestalMCCnv
(ISvcLocator* svcloc) :
LArPedestalMCCnvBase
(svcloc) {}
29
protected
:
30
virtual
LArPedestalMCPersType
*
createPersistent
(
LArPedestalMCTransType
* transObj);
31
virtual
LArPedestalMCTransType
*
createTransient
(
const
Token
* token);
32
};
33
34
#endif
35
LArPedestalMCPersType
LArPedestalMC_p1 LArPedestalMCPersType
Definition
LArPedestalMCCnv.h:20
LArPedestalMCCnvBase
T_AthenaPoolCustomCnv< LArPedestalMCTransType, LArPedestalMCPersType > LArPedestalMCCnvBase
Definition
LArPedestalMCCnv.h:22
LArPedestalMCTransType
LArPedestalMC LArPedestalMCTransType
Definition
LArPedestalMCCnv.h:19
LArPedestalMC.h
LArPedestalMC_p1.h
This file defines the class used for persistent container of LArPedestalMC.
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
LArPedestalMCCnv::LArPedestalMCCnv
LArPedestalMCCnv(ISvcLocator *svcloc)
Definition
LArPedestalMCCnv.h:28
LArPedestalMCCnv::createTransient
virtual LArPedestalMCTransType * createTransient(const Token *token)
Definition
LArPedestalMCCnv.cxx:28
LArPedestalMCCnv::createPersistent
virtual LArPedestalMCPersType * createPersistent(LArPedestalMCTransType *transObj)
Definition
LArPedestalMCCnv.cxx:18
LArPedestalMC_p1
persistent class container of LArConditionsMC for LArPedestal data.
Definition
LArPedestalMC_p1.h:30
LArPedestalMC
Implementation of the interface ILArfSampl for MC: only one constant is needed for MC.
Definition
LArPedestalMC.h:21
T_AthenaPoolCustomCnv
Compatibility for old converter classes that don't get passed the key.
Definition
T_AthenaPoolCustomCnv.h:129
Token
This class provides a token that identifies in a unique way objects on the persistent storage.
Definition
Token.h:22
Generated on
for ATLAS Offline Software by
1.17.0