Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Properties
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
x
z
Files
File List
File Members
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
GitLab
LXR
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Calorimeter
CaloCnv
CaloTPCnv
src
CaloClusterMomentStoreCnv_p1.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
CaloTPCnv/CaloClusterMomentStoreCnv_p1.h
"
6
7
#include "
CaloEvent/CaloClusterMomentStore.h
"
8
#include "
CaloTPCnv/CaloClusterMomentStore_p1.h
"
9
10
11
CaloClusterMomentStoreCnv_p1::CaloClusterMomentStoreCnv_p1
()
12
{
13
}
14
15
16
// CaloClusterMomentStore* CaloClusterMomentStoreCnv_p1::createTrans(const CaloClusterMomentStore_p1* pers /*,MsgStream&*/) {
17
// CaloClusterMomentStore* trans=new CaloClusterMomentStore();
18
// persToTrans(pers,trans);
19
// return trans;
20
// }
21
22
void
CaloClusterMomentStoreCnv_p1::persToTrans
(
const
CaloClusterMomentStore_p1
* pers,
23
CaloClusterMomentStore
* trans
/*,MsgStream&*/
)
const
24
{
25
std::vector<CaloClusterMomentStore_p1::ClusterMoment>::const_iterator
it
=pers->
m_store
.begin();
26
std::vector<CaloClusterMomentStore_p1::ClusterMoment>::const_iterator it_e=pers->
m_store
.end();
27
for
(;
it
!=it_e;++
it
)
28
trans->
insert
((
CaloClusterMoment::MomentType
)
it
->key,
CaloClusterMoment
(
it
->value));
29
}
30
31
32
33
// CaloClusterMomentStore_p1* CaloClusterMomentStoreCnv_p1::createPers(const CaloClusterMomentStore* trans /*,MsgStream& */) {
34
// CaloClusterMomentStore_p1* pers=new CaloClusterMomentStore_p1();
35
// transToPers(trans,pers);
36
// return pers;
37
// }
38
39
40
void
CaloClusterMomentStoreCnv_p1::transToPers
(
const
CaloClusterMomentStore
* trans,
41
CaloClusterMomentStore_p1
* pers
/*,MsgStream&*/
)
const
42
{
43
CaloClusterMomentStore::moment_iterator
it
=trans->
begin
();
44
CaloClusterMomentStore::moment_iterator
it_e=trans->
end
();
45
46
CaloClusterMomentStore_p1::ClusterMoment
mom
;
47
for
(;
it
!=it_e;++
it
) {
48
mom
.key=
it
.getMomentType();
49
mom
.value=
it
.getMoment().getValue();
50
pers->
m_store
.push_back(
mom
);
51
}
52
}
CaloClusterMomentStore_p1::m_store
std::vector< ClusterMoment > m_store
Definition:
CaloClusterMomentStore_p1.h:19
CaloClusterMoment::MomentType
MomentType
enums to identify different moments
Definition:
CaloClusterMoment.h:38
CaloClusterMomentStore_p1::ClusterMoment
Definition:
CaloClusterMomentStore_p1.h:15
skel.it
it
Definition:
skel.GENtoEVGEN.py:407
CaloClusterMomentStoreCnv_p1::persToTrans
void persToTrans(const CaloClusterMomentStore_p1 *, CaloClusterMomentStore *) const
Definition:
CaloClusterMomentStoreCnv_p1.cxx:22
CaloClusterMomentStore::CaloClusterMomentIterator
Internally used iterator.
Definition:
CaloClusterMomentStore.h:54
CaloClusterMomentStore_p1.h
CaloClusterMomentStoreCnv_p1::CaloClusterMomentStoreCnv_p1
CaloClusterMomentStoreCnv_p1()
Definition:
CaloClusterMomentStoreCnv_p1.cxx:11
CaloClusterMomentStoreCnv_p1::transToPers
void transToPers(const CaloClusterMomentStore *, CaloClusterMomentStore_p1 *) const
Definition:
CaloClusterMomentStoreCnv_p1.cxx:40
CaloClusterMomentStore
Stores CaloClusterMoment in a keyed map.
Definition:
CaloClusterMomentStore.h:15
CaloClusterMomentStore::begin
virtual moment_iterator begin() const
{
Definition:
CaloClusterMomentStore.h:220
ParticleGun_EoverP_Config.mom
mom
Definition:
ParticleGun_EoverP_Config.py:63
CaloClusterMomentStore_p1
Definition:
CaloClusterMomentStore_p1.h:10
CaloClusterMomentStore.h
CaloClusterMomentStore::insert
virtual void insert(const moment_type &rMomType, const moment_value &rMomData)
Insert key/data pair.
Definition:
CaloClusterMomentStore.h:213
CaloClusterMomentStore::end
virtual moment_iterator end() const
iterator loop terminator
Definition:
CaloClusterMomentStore.h:226
CaloClusterMoment
defines enums and data types for different moments of CaloCluster
Definition:
CaloClusterMoment.h:29
CaloClusterMomentStoreCnv_p1.h
Generated on Sun Mar 23 2025 21:08:04 for ATLAS Offline Software by
1.8.18