ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
TileCalorimeter
TileSvc
TileTPCnv
src
TileTTL1Cnv_p1.cxx
Go to the documentation of this file.
1
2
3
/*
4
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// TileTTL1Cnv_p1.cxx
8
// Implementation file for class TileTTL1Cnv_p1
9
// Author: Alexander Solodkov <Sanya.Solodkov@cern.ch>
10
// Date: June 2009
12
13
#include "
TileEvent/TileTTL1.h
"
14
#include "
TileTPCnv/TileTTL1Cnv_p1.h
"
15
16
17
void
18
TileTTL1Cnv_p1::persToTrans
(
const
TileTTL1_p1
* persObj,
TileTTL1
* transObj, MsgStream &
/*log*/
)
const
19
{
20
*transObj =
TileTTL1
(
Identifier
(
Identifier32
(persObj->
m_channelID
)),
21
persObj->
m_TTL1digits
);
22
}
23
24
25
void
26
TileTTL1Cnv_p1::transToPers
(
const
TileTTL1
* transObj,
TileTTL1_p1
* persObj, MsgStream &
/*log*/
)
const
27
{
28
persObj->
m_channelID
= transObj->
identify
().
get_identifier32
().
get_compact
();
29
persObj->
m_TTL1digits
= transObj->
fsamples
();
30
}
TileTTL1Cnv_p1.h
TileTTL1.h
Identifier32
Definition
Identifier32.h:28
Identifier32::get_compact
value_type get_compact() const
Get the compact id.
Definition
Identifier32.h:47
Identifier::get_identifier32
Identifier32 get_identifier32() const
Get the 32-bit version Identifier, will be invalid if >32 bits needed.
TileTTL1Cnv_p1::transToPers
virtual void transToPers(const TileTTL1 *transObj, TileTTL1_p1 *persObj, MsgStream &log) const override
Method creating the persistent representation TileTTL1_p1 from its transient representation TileTTL1.
Definition
TileTTL1Cnv_p1.cxx:26
TileTTL1Cnv_p1::persToTrans
virtual void persToTrans(const TileTTL1_p1 *persObj, TileTTL1 *transObj, MsgStream &log) const override
Method creating the transient representation TileTTL1 from its persistent representation TileTTL1_p1.
Definition
TileTTL1Cnv_p1.cxx:18
TileTTL1_p1
Definition
TileTTL1_p1.h:20
TileTTL1_p1::m_TTL1digits
std::vector< float > m_TTL1digits
Definition
TileTTL1_p1.h:34
TileTTL1_p1::m_channelID
unsigned int m_channelID
Definition
TileTTL1_p1.h:33
TileTTL1
Definition
TileTTL1.h:26
TileTTL1::fsamples
const std::vector< float > & fsamples() const
Definition
TileTTL1.cxx:77
TileTTL1::identify
Identifier identify(void) const
Definition
TileTTL1.h:46
Identifier
Definition
IdentifierFieldParser.cxx:14
Generated on
for ATLAS Offline Software by
1.17.0