ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCnv
LArCondAthenaPool
src
LArPedestalCompleteCnv.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 LArPedestalCompleteCnv_H
12
#define LArPedestalCompleteCnv_H
13
14
#include "
AthenaPoolCnvSvc/T_AthenaPoolCoolMultChanCnv.h
"
15
#include "
LArRawConditions/LArPedestalComplete.h
"
16
#include "
LArRawConditions/LArPedestalP.h
"
17
#include "
LArCondTPCnv/LArPedestalSubsetCnv_p1.h
"
18
#include "
LArCondTPCnv/LArPedestalSubsetCnv_p2.h
"
19
20
// the latest persistent representation type of LArPedestalComplete
21
typedef
LArConditionsSubset<LArPedestalP1>
LArPedTransType
;
22
typedef
LArPedestalSubset_p2
LArPedPersType
;
23
24
typedef
T_AthenaPoolCoolMultChanCnv<LArPedestalComplete, LArPedTransType, LArPedPersType >
LArPedestalCompleteCnvBase
;
25
26
class
LArPedestalCompleteCnv
:
public
LArPedestalCompleteCnvBase
{
27
friend
class
CnvFactory
<
LArPedestalCompleteCnv
>;
28
protected
:
29
public
:
30
LArPedestalCompleteCnv
(ISvcLocator* svcloc) :
LArPedestalCompleteCnvBase
(svcloc) {}
31
protected
:
32
virtual
LArPedPersType
*
createPersistent
(
LArPedTransType
* transObj);
33
virtual
LArPedTransType
*
createTransient
(
const
Token
* token);
34
LArPedTransType
*
createTransient
(
LArConditionsSubset<LArPedestalP>
* orig);
35
};
36
37
class
LArPedestalCopy
38
{
39
public
:
40
// Copy LArPedestalP subset to LArPedestalP1
41
void
copyOldtoNew
(
const
LArConditionsSubset<LArPedestalP>
* oldPedestal,
42
LArConditionsSubset<LArPedestalP1>
* newPedestal);
43
};
44
45
#endif
46
LArPedPersType
LArPedestalSubset_p2 LArPedPersType
Definition
LArPedestalCompleteCnv.h:22
LArPedTransType
LArConditionsSubset< LArPedestalP1 > LArPedTransType
Definition
LArPedestalCompleteCnv.h:21
LArPedestalCompleteCnvBase
T_AthenaPoolCoolMultChanCnv< LArPedestalComplete, LArPedTransType, LArPedPersType > LArPedestalCompleteCnvBase
Definition
LArPedestalCompleteCnv.h:24
LArPedestalComplete.h
LArPedestalP.h
LArPedestalSubsetCnv_p1.h
LArPedestalSubsetCnv_p2.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
LArPedestalCompleteCnv::createPersistent
virtual LArPedPersType * createPersistent(LArPedTransType *transObj)
method to be implemented by the developer.
Definition
LArPedestalCompleteCnv.cxx:19
LArPedestalCompleteCnv::LArPedestalCompleteCnv
LArPedestalCompleteCnv(ISvcLocator *svcloc)
Definition
LArPedestalCompleteCnv.h:30
LArPedestalCompleteCnv::createTransient
virtual LArPedTransType * createTransient(const Token *token)
method to be implemented by the developer.
Definition
LArPedestalCompleteCnv.cxx:27
LArPedestalCopy
Definition
LArPedestalCompleteCnv.h:38
LArPedestalCopy::copyOldtoNew
void copyOldtoNew(const LArConditionsSubset< LArPedestalP > *oldPedestal, LArConditionsSubset< LArPedestalP1 > *newPedestal)
Definition
LArPedestalCompleteCnv.cxx:83
LArPedestalSubset_p2
persistent class container of LArConditionsSubset for LArPedestal data.
Definition
LArPedestalSubset_p2.h:30
T_AthenaPoolCoolMultChanCnv< LArPedestalComplete, LArPedTransType, LArPedPersType >::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