ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArCnv
LArCondAthenaPool
src
LArShapeCompleteCnv.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 LArShapeCompleteCnv_H
12
#define LArShapeCompleteCnv_H
13
14
#include "
AthenaPoolCnvSvc/T_AthenaPoolCoolMultChanCnv.h
"
15
#include "
LArRawConditions/LArShapeComplete.h
"
16
#include "
LArRawConditions/LArShapeP.h
"
17
#include "
LArCondTPCnv/LArShapeSubsetCnv_p1.h
"
18
#include "
LArCondTPCnv/LArShapeSubsetCnv_p2.h
"
19
20
// the latest persistent representation type of LArShapeComplete
21
typedef
LArConditionsSubset<LArShapeP2>
LArShapeTransType2
;
22
typedef
LArShapeSubset_p1
LArShapePersType1
;
23
typedef
LArShapeSubset_p2
LArShapePersType2
;
24
25
typedef
T_AthenaPoolCoolMultChanCnv<LArShapeComplete, LArShapeTransType2, LArShapePersType2 >
LArShapeCompleteCnvBase
;
26
27
class
LArShapeCompleteCnv
:
public
LArShapeCompleteCnvBase
{
28
friend
class
CnvFactory
<
LArShapeCompleteCnv
>;
29
30
protected
:
31
public
:
32
LArShapeCompleteCnv
(ISvcLocator* svcloc) :
LArShapeCompleteCnvBase
(svcloc) {}
33
protected
:
34
virtual
LArShapePersType2
*
createPersistent
(
LArShapeTransType2
* transObj);
35
virtual
LArShapeTransType2
*
createTransient
(
const
Token
* token);
36
LArShapeTransType1
*
createTransient
(
LArConditionsSubset<LArShapeP>
* orig);
37
};
38
39
class
LArShapeCopy
40
{
41
public
:
42
// Copy LArShapeP subset to LArShapeP1
43
void
copyOldtoNew
(
const
LArConditionsSubset<LArShapeP>
* oldShape,
44
LArConditionsSubset<LArShapeP1>
* newShape);
45
};
46
47
#endif
48
LArShapeTransType2
LArConditionsSubset< LArShapeP2 > LArShapeTransType2
Definition
LArShapeCompleteCnv.h:21
LArShapePersType2
LArShapeSubset_p2 LArShapePersType2
Definition
LArShapeCompleteCnv.h:23
LArShapePersType1
LArShapeSubset_p1 LArShapePersType1
Definition
LArShapeCompleteCnv.h:22
LArShapeCompleteCnvBase
T_AthenaPoolCoolMultChanCnv< LArShapeComplete, LArShapeTransType2, LArShapePersType2 > LArShapeCompleteCnvBase
Definition
LArShapeCompleteCnv.h:25
LArShapeComplete.h
LArShapeP.h
LArShapeSubsetCnv_p1.h
LArShapeTransType1
LArConditionsSubset< LArShapeP1 > LArShapeTransType1
Definition
LArShapeSubsetCnv_p1.h:15
LArShapeSubsetCnv_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
LArShapeCompleteCnv::LArShapeCompleteCnv
LArShapeCompleteCnv(ISvcLocator *svcloc)
Definition
LArShapeCompleteCnv.h:32
LArShapeCompleteCnv::createTransient
virtual LArShapeTransType2 * createTransient(const Token *token)
method to be implemented by the developer.
Definition
LArShapeCompleteCnv.cxx:46
LArShapeCompleteCnv::createPersistent
virtual LArShapePersType2 * createPersistent(LArShapeTransType2 *transObj)
method to be implemented by the developer.
Definition
LArShapeCompleteCnv.cxx:36
LArShapeCopy
Definition
LArShapeCompleteCnv.h:40
LArShapeCopy::copyOldtoNew
void copyOldtoNew(const LArConditionsSubset< LArShapeP > *oldShape, LArConditionsSubset< LArShapeP1 > *newShape)
Definition
LArShapeCompleteCnv.cxx:85
LArShapeSubset_p1
persistent class container of LArConditionsSubset for LArShape data.
Definition
LArShapeSubset_p1.h:30
LArShapeSubset_p2
persistent class container of LArConditionsSubset for LArShape data.
Definition
LArShapeSubset_p2.h:30
T_AthenaPoolCoolMultChanCnv< LArShapeComplete, LArShapeTransType2, LArShapePersType2 >::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