ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCnv
LArCondAthenaPool
src
LArRampCompleteCnv.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 LArRampCompleteCnv_H
12
#define LArRampCompleteCnv_H
13
14
#include "
AthenaPoolCnvSvc/T_AthenaPoolCoolMultChanCnv.h
"
15
#include "
LArRawConditions/LArRampComplete.h
"
16
#include "
LArRawConditions/LArRampP.h
"
17
#include "
LArCondTPCnv/LArRampSubsetCnv_p1.h
"
18
19
// the latest persistent representation type of LArRampComplete
20
typedef
LArConditionsSubset<LArRampP1>
LArRampTransType
;
21
typedef
LArRampSubset_p1
LArRampPersType
;
22
23
typedef
T_AthenaPoolCoolMultChanCnv<LArRampComplete, LArRampTransType, LArRampPersType >
LArRampCompleteCnvBase
;
24
25
class
LArRampCompleteCnv
:
public
LArRampCompleteCnvBase
{
26
friend
class
CnvFactory
<
LArRampCompleteCnv
>;
27
protected
:
28
public
:
29
LArRampCompleteCnv
(ISvcLocator* svcloc) :
LArRampCompleteCnvBase
(svcloc) {}
30
protected
:
31
virtual
LArRampPersType
*
createPersistent
(
LArRampTransType
* transObj);
32
virtual
LArRampTransType
*
createTransient
(
const
Token
* token);
33
LArRampTransType
*
createTransient
(
LArConditionsSubset<LArRampP>
* orig);
34
};
35
36
class
LArRampCopy
37
{
38
public
:
39
// Copy LArRampP subset to LArRampP1
40
void
copyOldtoNew
(
const
LArConditionsSubset<LArRampP>
* oldRamp,
41
LArConditionsSubset<LArRampP1>
* newRamp);
42
};
43
44
#endif
45
LArRampPersType
LArRampSubset_p1 LArRampPersType
Definition
LArRampCompleteCnv.h:21
LArRampTransType
LArConditionsSubset< LArRampP1 > LArRampTransType
Definition
LArRampCompleteCnv.h:20
LArRampCompleteCnvBase
T_AthenaPoolCoolMultChanCnv< LArRampComplete, LArRampTransType, LArRampPersType > LArRampCompleteCnvBase
Definition
LArRampCompleteCnv.h:23
LArRampComplete.h
LArRampP.h
LArRampSubsetCnv_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
LArRampCompleteCnv::createTransient
virtual LArRampTransType * createTransient(const Token *token)
method to be implemented by the developer.
Definition
LArRampCompleteCnv.cxx:27
LArRampCompleteCnv::LArRampCompleteCnv
LArRampCompleteCnv(ISvcLocator *svcloc)
Definition
LArRampCompleteCnv.h:29
LArRampCompleteCnv::createPersistent
virtual LArRampPersType * createPersistent(LArRampTransType *transObj)
method to be implemented by the developer.
Definition
LArRampCompleteCnv.cxx:17
LArRampCopy
Definition
LArRampCompleteCnv.h:37
LArRampCopy::copyOldtoNew
void copyOldtoNew(const LArConditionsSubset< LArRampP > *oldRamp, LArConditionsSubset< LArRampP1 > *newRamp)
Definition
LArRampCompleteCnv.cxx:73
LArRampSubset_p1
persistent class container of LArConditionsSubset for LArRamp data.
Definition
LArRampSubset_p1.h:30
T_AthenaPoolCoolMultChanCnv< LArRampComplete, LArRampTransType, LArRampPersType >::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