ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCnv
LArCondAthenaPool
src
LArOFCCompleteCnv.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
10
11
#ifndef LArOFCCompleteCnv_H
12
#define LArOFCCompleteCnv_H
13
14
#include "
AthenaPoolCnvSvc/T_AthenaPoolCoolMultChanCnv.h
"
15
#include "
LArRawConditions/LArOFCComplete.h
"
16
#include "
LArRawConditions/LArOFCP.h
"
17
#include "
LArCondTPCnv/LArOFCSubsetCnv_p1.h
"
18
19
// the latest persistent representation type of LArOFCComplete
20
typedef
LArConditionsSubset<LArOFCP1>
LArOFCTransType
;
21
typedef
LArOFCSubset_p1
LArOFCPersType
;
22
23
typedef
T_AthenaPoolCoolMultChanCnv<LArOFCComplete, LArOFCTransType, LArOFCPersType >
LArOFCCompleteCnvBase
;
24
25
class
LArOFCCompleteCnv
:
public
LArOFCCompleteCnvBase
{
26
friend
class
CnvFactory
<
LArOFCCompleteCnv
>;
27
protected
:
28
public
:
29
LArOFCCompleteCnv
(ISvcLocator* svcloc) :
LArOFCCompleteCnvBase
(svcloc) {}
30
protected
:
31
virtual
LArOFCPersType
*
createPersistent
(
LArOFCTransType
* transObj);
32
virtual
LArOFCTransType
*
createTransient
(
const
Token
* token);
33
LArOFCTransType
*
createTransient
(
LArConditionsSubset<LArOFCP>
* );
34
};
35
36
class
LArOFCCopy
37
{
38
public
:
39
// Copy LArOFCP subset to LArOFCP1
40
void
copyOldtoNew
(
const
LArConditionsSubset<LArOFCP>
* oldOFC,
41
LArConditionsSubset<LArOFCP1>
* newOFC);
42
};
43
44
#endif
45
LArOFCPersType
LArOFCSubset_p1 LArOFCPersType
Definition
LArOFCCompleteCnv.h:21
LArOFCCompleteCnvBase
T_AthenaPoolCoolMultChanCnv< LArOFCComplete, LArOFCTransType, LArOFCPersType > LArOFCCompleteCnvBase
Definition
LArOFCCompleteCnv.h:23
LArOFCTransType
LArConditionsSubset< LArOFCP1 > LArOFCTransType
Definition
LArOFCCompleteCnv.h:20
LArOFCComplete.h
LArOFCP.h
LArOFCSubsetCnv_p1.h
T_AthenaPoolCoolMultChanCnv.h
This templated class provides the POOL converter to translate a DataVector<T> to and from a CondAttrL...
CnvFactory
Abstract factory to create the converter.
Definition
ToyConverter.h:16
LArConditionsSubset
template class for use for I/O of conditions data
Definition
LArConditionsSubset.h:122
LArOFCCompleteCnv::createTransient
virtual LArOFCTransType * createTransient(const Token *token)
method to be implemented by the developer.
Definition
LArOFCCompleteCnv.cxx:27
LArOFCCompleteCnv::LArOFCCompleteCnv
LArOFCCompleteCnv(ISvcLocator *svcloc)
Definition
LArOFCCompleteCnv.h:29
LArOFCCompleteCnv::createPersistent
virtual LArOFCPersType * createPersistent(LArOFCTransType *transObj)
method to be implemented by the developer.
Definition
LArOFCCompleteCnv.cxx:17
LArOFCCopy
Definition
LArOFCCompleteCnv.h:37
LArOFCCopy::copyOldtoNew
void copyOldtoNew(const LArConditionsSubset< LArOFCP > *oldOFC, LArConditionsSubset< LArOFCP1 > *newOFC)
Definition
LArOFCCompleteCnv.cxx:73
LArOFCSubset_p1
persistent class container of LArConditionsSubset for LArOFC data.
Definition
LArOFCSubset_p1.h:30
T_AthenaPoolCoolMultChanCnv< LArOFCComplete, LArOFCTransType, LArOFCPersType >::T_AthenaPoolCoolMultChanCnv
T_AthenaPoolCoolMultChanCnv(ISvcLocator *svcloc)
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