ATLAS Offline Software
Loading...
Searching...
No Matches
ForwardDetectors
ALFA
ALFA_EventCnv
ALFA_EventTPCnv
src
ALFA_GloRecEventCnv_p1.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
ALFA_GloRecEv/ALFA_GloRecEvent.h
"
6
#include "
ALFA_EventTPCnv/ALFA_GloRecEvent_p1.h
"
7
#include "
ALFA_EventTPCnv/ALFA_GloRecEventCnv_p1.h
"
8
9
10
11
void
ALFA_GloRecEventCnv_p1::persToTrans
(
const
ALFA_GloRecEvent_p1
* persObj,
ALFA_GloRecEvent
* transObj, MsgStream &log)
const
12
{
13
log << MSG::DEBUG <<
"ALFA_GloRecEventCnv_p1::persToTrans called - version with pointers to LocRecCorr "
<<
endmsg
;
14
*transObj =
ALFA_GloRecEvent
(persObj->
m_arm
,
15
persObj->
m_x
,
16
persObj->
m_y
,
17
persObj->
m_x_slope
,
18
persObj->
m_y_slope
,
19
nullptr
,
20
nullptr
);
21
// transObj->m_near_LocRecCorr = persObj->m_near_LocRecCorr;
22
//transObj->m_far_LocRecCorr = persObj->m_far_LocRecCorr;
23
24
}
25
26
27
void
ALFA_GloRecEventCnv_p1::transToPers
(
const
ALFA_GloRecEvent
* transObj,
28
ALFA_GloRecEvent_p1
* persObj,
29
MsgStream &log)
const
30
{
31
log << MSG::DEBUG <<
"ALFA_GloRecEventCnv_p1::transToPers called - version with pointers to LocRecCorr "
<<
endmsg
;
32
persObj->
m_arm
= transObj->
getArmNum
();
33
persObj->
m_x
= transObj->
getXposition
();
34
persObj->
m_y
= transObj->
getYposition
();
35
persObj->
m_x_slope
= transObj->
getXslope
();
36
persObj->
m_y_slope
= transObj->
getYslope
();
37
// persObj->m_near_LocRecCorr = transObj->m_near_LocRecCorr;
38
// persObj->m_far_LocRecCorr = transObj->m_far_LocRecCorr;
39
40
}
41
42
ALFA_GloRecEventCnv_p1.h
ALFA_GloRecEvent.h
ALFA_GloRecEvent_p1.h
endmsg
#define endmsg
Definition
AnalysisConfig_Ntuple.cxx:63
ALFA_GloRecEventCnv_p1::persToTrans
virtual void persToTrans(const ALFA_GloRecEvent_p1 *persObj, ALFA_GloRecEvent *transObj, MsgStream &log) const override
Definition
ALFA_GloRecEventCnv_p1.cxx:11
ALFA_GloRecEventCnv_p1::transToPers
virtual void transToPers(const ALFA_GloRecEvent *transObj, ALFA_GloRecEvent_p1 *persObj, MsgStream &log) const override
Definition
ALFA_GloRecEventCnv_p1.cxx:27
ALFA_GloRecEvent_p1
Definition
ALFA_GloRecEvent_p1.h:9
ALFA_GloRecEvent_p1::m_y_slope
float m_y_slope
Definition
ALFA_GloRecEvent_p1.h:27
ALFA_GloRecEvent_p1::m_arm
int m_arm
Definition
ALFA_GloRecEvent_p1.h:23
ALFA_GloRecEvent_p1::m_y
float m_y
Definition
ALFA_GloRecEvent_p1.h:25
ALFA_GloRecEvent_p1::m_x
float m_x
Definition
ALFA_GloRecEvent_p1.h:24
ALFA_GloRecEvent_p1::m_x_slope
float m_x_slope
Definition
ALFA_GloRecEvent_p1.h:26
ALFA_GloRecEvent
Definition
ALFA_GloRecEvent.h:12
ALFA_GloRecEvent::getArmNum
int getArmNum() const
Definition
ALFA_GloRecEvent.h:57
ALFA_GloRecEvent::getYslope
float getYslope() const
Definition
ALFA_GloRecEvent.h:61
ALFA_GloRecEvent::getXposition
float getXposition() const
Definition
ALFA_GloRecEvent.h:58
ALFA_GloRecEvent::getYposition
float getYposition() const
Definition
ALFA_GloRecEvent.h:59
ALFA_GloRecEvent::getXslope
float getXslope() const
Definition
ALFA_GloRecEvent.h:60
Generated on
for ATLAS Offline Software by
1.14.0