ATLAS Offline Software
ForwardDetectors
AFP
AFP_EventCnv
AFP_EventTPCnv
src
AFP_SIDLocRecoEventCnv_p1.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
AFP_LocRecoEv/AFP_SIDLocRecoEvent.h
"
6
7
#include "
AFP_EventTPCnv/AFP_SIDLocRecoEvent_p1.h
"
8
#include "
AFP_EventTPCnv/AFP_SIDLocRecoEventCnv_p1.h
"
9
10
void
AFP_SIDLocRecoEventCnv_p1::persToTrans
(
const
AFP_SIDLocRecoEvent_p1
* persObj,
AFP_SIDLocRecoEvent
* transObj, MsgStream &
log
)
11
const
{
12
log
<<
MSG::DEBUG
<<
"AFP_SIDLocRecoEventCnv_p1::persToTrans called "
<<
endmsg
;
13
14
*transObj =
AFP_SIDLocRecoEvent
(persObj->
m_iAlgoNum
,
15
persObj->
m_nStationID
,
16
persObj->
m_x
,
17
persObj->
m_y
,
18
persObj->
m_z
,
19
persObj->
m_x_slope
,
20
persObj->
m_y_slope
,
21
persObj->
m_z_slope
,
22
persObj->
m_nHits
,
23
persObj->
m_nHoles
,
24
persObj->
m_fChi2
);
25
26
27
28
29
}
30
31
32
void
AFP_SIDLocRecoEventCnv_p1::transToPers
(
const
AFP_SIDLocRecoEvent
* transObj,
AFP_SIDLocRecoEvent_p1
* persObj, MsgStream &
log
)
33
const
{
34
log
<<
MSG::DEBUG
<<
"AFP_SIDLocRecoEventCnv_p1::transToPers called "
<<
endmsg
;
35
36
persObj->
m_iAlgoNum
= transObj->
getAlgoNum
();
37
persObj->
m_nStationID
= transObj->
getStationID
();
38
39
persObj->
m_x
= transObj->
getXposition
();
40
persObj->
m_y
= transObj->
getYposition
();
41
persObj->
m_z
= transObj->
getZposition
();
42
persObj->
m_x_slope
= transObj->
getXslope
();
43
persObj->
m_y_slope
= transObj->
getYslope
();
44
persObj->
m_z_slope
= transObj->
getZslope
();
45
46
persObj->
m_nHits
= transObj->
getNHits
();
47
persObj->
m_nHoles
= transObj->
getNHoles
();
48
persObj->
m_fChi2
= transObj->
getChi2
();
49
50
51
}
AFP_SIDLocRecoEvent_p1::m_nHits
float m_nHits
Definition:
AFP_SIDLocRecoEvent_p1.h:30
AFP_SIDLocRecoEvent.h
AFP_SIDLocRecoEvent_p1::m_fChi2
float m_fChi2
Definition:
AFP_SIDLocRecoEvent_p1.h:32
AFP_SIDLocRecoEvent
Definition:
AFP_SIDLocRecoEvent.h:10
AFP_SIDLocRecoEvent::getStationID
int getStationID() const
Definition:
AFP_SIDLocRecoEvent.h:21
AFP_SIDLocRecoEventCnv_p1.h
AFP_SIDLocRecoEvent::getYposition
float getYposition() const
Definition:
AFP_SIDLocRecoEvent.h:24
AFP_SIDLocRecoEvent
AFP_SIDLocRecoEvent
Definition:
AFP_EventTPCnv.cxx:29
AFP_SIDLocRecoEvent::getChi2
float getChi2() const
Definition:
AFP_SIDLocRecoEvent.h:32
AFP_SIDLocRecoEvent::getZposition
float getZposition() const
Definition:
AFP_SIDLocRecoEvent.h:25
AFP_SIDLocRecoEvent_p1::m_z_slope
float m_z_slope
Definition:
AFP_SIDLocRecoEvent_p1.h:28
AFP_SIDLocRecoEvent_p1::m_nStationID
int m_nStationID
Definition:
AFP_SIDLocRecoEvent_p1.h:21
AFP_SIDLocRecoEvent::getNHoles
int getNHoles() const
Definition:
AFP_SIDLocRecoEvent.h:31
AFP_SIDLocRecoEventCnv_p1::persToTrans
virtual void persToTrans(const AFP_SIDLocRecoEvent_p1 *persObj, AFP_SIDLocRecoEvent *transObj, MsgStream &log) const override
Definition:
AFP_SIDLocRecoEventCnv_p1.cxx:10
AFP_SIDLocRecoEvent::getZslope
float getZslope() const
Definition:
AFP_SIDLocRecoEvent.h:28
AFP_SIDLocRecoEvent_p1::m_nHoles
float m_nHoles
Definition:
AFP_SIDLocRecoEvent_p1.h:31
endmsg
#define endmsg
Definition:
AnalysisConfig_Ntuple.cxx:63
AFP_SIDLocRecoEvent_p1
Definition:
AFP_SIDLocRecoEvent_p1.h:11
AFP_SIDLocRecoEvent_p1::m_iAlgoNum
int m_iAlgoNum
Definition:
AFP_SIDLocRecoEvent_p1.h:20
AFP_SIDLocRecoEventCnv_p1::transToPers
virtual void transToPers(const AFP_SIDLocRecoEvent *transObj, AFP_SIDLocRecoEvent_p1 *persObj, MsgStream &log) const override
Definition:
AFP_SIDLocRecoEventCnv_p1.cxx:32
AFP_SIDLocRecoEvent::getXslope
float getXslope() const
Definition:
AFP_SIDLocRecoEvent.h:26
AFP_SIDLocRecoEvent::getYslope
float getYslope() const
Definition:
AFP_SIDLocRecoEvent.h:27
AFP_SIDLocRecoEvent::getNHits
int getNHits() const
Definition:
AFP_SIDLocRecoEvent.h:30
AFP_SIDLocRecoEvent::getXposition
float getXposition() const
Definition:
AFP_SIDLocRecoEvent.h:23
AFP_SIDLocRecoEvent_p1::m_x_slope
float m_x_slope
Definition:
AFP_SIDLocRecoEvent_p1.h:26
AFP_SIDLocRecoEvent_p1.h
DEBUG
#define DEBUG
Definition:
page_access.h:11
python.CaloCondTools.log
log
Definition:
CaloCondTools.py:20
AFP_SIDLocRecoEvent_p1::m_z
float m_z
Definition:
AFP_SIDLocRecoEvent_p1.h:25
AFP_SIDLocRecoEvent_p1::m_x
float m_x
Definition:
AFP_SIDLocRecoEvent_p1.h:23
AFP_SIDLocRecoEvent_p1::m_y
float m_y
Definition:
AFP_SIDLocRecoEvent_p1.h:24
AFP_SIDLocRecoEvent_p1::m_y_slope
float m_y_slope
Definition:
AFP_SIDLocRecoEvent_p1.h:27
AFP_SIDLocRecoEvent::getAlgoNum
int getAlgoNum() const
Definition:
AFP_SIDLocRecoEvent.h:20
Generated on Mon Dec 23 2024 21:06:42 for ATLAS Offline Software by
1.8.18