ATLAS Offline Software
TBTrackInfoCnv_p1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 #include "TBEvent/TBTrackInfo.h"
7 #include "Identifier/Identifier.h"
9 
10 
11 
12 void
14  TBTrackInfo* trans, MsgStream &/*log*/) const
15 {
16 
17  trans->tb_Trigger = pers->tb_Trigger;
18  trans->tb_trk_nTracks = pers->tb_trk_nTracks;
19  trans->tb_trk_nTracksTRT = pers->tb_trk_nTracksTRT;
20 
21  trans->tb_sADC_S1 = pers->tb_sADC_S1;
22  trans->tb_sADC_muHalo = pers->tb_sADC_muHalo;
23  trans->tb_sADC_muTag = pers->tb_sADC_muTag;
24  trans->tb_sADC_C2 = pers->tb_sADC_C2;
25  trans->tb_sADC_TRTSci = pers->tb_sADC_TRTSci;
26 
27  trans->tb_trk_nPixelHits = pers->tb_trk_nPixelHits;
28  trans->tb_trk_nSctHits = pers->tb_trk_nSctHits;
30 
31  trans->tb_trk_Trt_HLTRT = pers->tb_trk_Trt_HLTRT;
32 
33  trans->tileRec_XchN1 = pers->tileRec_XchN1;
34  trans->tileRec_XchN2 = pers->tileRec_XchN2;
35  trans->tileRec_Xcha0 = pers->tileRec_Xcha0;
36  trans->tileRec_Xcha1 = pers->tileRec_Xcha1;
37 
38  trans->tileRec_btdc1 = pers->tileRec_btdc1;
39  trans->tileRec_GainC0 = pers->tileRec_GainC0;
40  trans->tileRec_GainC1 = pers->tileRec_GainC1;
41  trans->tileRec_GainC2 = pers->tileRec_GainC2;
42 
43  trans->tileRec_MuBack = pers->tileRec_MuBack;
44  trans->tileRec_TfitC0 = pers->tileRec_TfitC0;
45  trans->tileRec_TfitC1 = pers->tileRec_TfitC1;
46  trans->tileRec_TfitC2 = pers->tileRec_TfitC2;
47  trans->tileRec_EfitC0 = pers->tileRec_EfitC0;
48  trans->tileRec_EfitC1 = pers->tileRec_EfitC1;
49  trans->tileRec_EfitC2 = pers->tileRec_EfitC2;
50  trans->tileRec_Chi2C0 = pers->tileRec_Chi2C0;
51  trans->tileRec_Chi2C1 = pers->tileRec_Chi2C1;
52  trans->tileRec_Chi2C2 = pers->tileRec_Chi2C2;
53 
54  trans->tileRec_SampleC0 = pers->tileRec_SampleC0;
55  trans->tileRec_SampleC1 = pers->tileRec_SampleC1;
56  trans->tileRec_SampleC2 = pers->tileRec_SampleC2;
57 
58 }
59 
60 
61 void
63  TBTrackInfo_p1* pers, MsgStream &/*log*/) const
64 {
65 
66  pers->tb_Trigger = trans->tb_Trigger;
67  pers->tb_trk_nTracks = trans->tb_trk_nTracks;
68  pers->tb_trk_nTracksTRT = trans->tb_trk_nTracksTRT;
69 
70  pers->tb_sADC_S1 = trans->tb_sADC_S1;
71  pers->tb_sADC_muHalo = trans->tb_sADC_muHalo;
72  pers->tb_sADC_muTag = trans->tb_sADC_muTag;
73  pers->tb_sADC_C2 = trans->tb_sADC_C2;
74  pers->tb_sADC_TRTSci = trans->tb_sADC_TRTSci;
75 
76  pers->tb_trk_nPixelHits = trans->tb_trk_nPixelHits;
77  pers->tb_trk_nSctHits = trans->tb_trk_nSctHits;
79 
80  pers->tb_trk_Trt_HLTRT = trans->tb_trk_Trt_HLTRT;
81 
82  pers->tileRec_XchN1 = trans->tileRec_XchN1;
83  pers->tileRec_XchN2 = trans->tileRec_XchN2;
84  pers->tileRec_Xcha0 = trans->tileRec_Xcha0;
85  pers->tileRec_Xcha1 = trans->tileRec_Xcha1;
86 
87  pers->tileRec_btdc1 = trans->tileRec_btdc1;
88  pers->tileRec_GainC0 = trans->tileRec_GainC0;
89  pers->tileRec_GainC1 = trans->tileRec_GainC1;
90  pers->tileRec_GainC2 = trans->tileRec_GainC2;
91 
92  pers->tileRec_MuBack = trans->tileRec_MuBack;
93  pers->tileRec_TfitC0 = trans->tileRec_TfitC0;
94  pers->tileRec_TfitC1 = trans->tileRec_TfitC1;
95  pers->tileRec_TfitC2 = trans->tileRec_TfitC2;
96  pers->tileRec_EfitC0 = trans->tileRec_EfitC0;
97  pers->tileRec_EfitC1 = trans->tileRec_EfitC1;
98  pers->tileRec_EfitC2 = trans->tileRec_EfitC2;
99  pers->tileRec_Chi2C0 = trans->tileRec_Chi2C0;
100  pers->tileRec_Chi2C1 = trans->tileRec_Chi2C1;
101  pers->tileRec_Chi2C2 = trans->tileRec_Chi2C2;
102 
103  pers->tileRec_SampleC0 = trans->tileRec_SampleC0;
104  pers->tileRec_SampleC1 = trans->tileRec_SampleC1;
105  pers->tileRec_SampleC2 = trans->tileRec_SampleC2;
106 }
107 
TBTrackInfo::tb_trk_nTracksTRT
int tb_trk_nTracksTRT
Definition: TBTrackInfo.h:31
TBTrackInfo_p1::tileRec_SampleC2
std::vector< std::vector< int > > tileRec_SampleC2
Definition: TBTrackInfo_p1.h:61
TBTrackInfo::tileRec_EfitC0
std::vector< float > tileRec_EfitC0
Definition: TBTrackInfo.h:60
TBTrackInfo::tileRec_TfitC1
std::vector< float > tileRec_TfitC1
Definition: TBTrackInfo.h:58
TBTrackInfo_p1::tb_Trigger
int tb_Trigger
Definition: TBTrackInfo_p1.h:20
TBTrackInfo::tileRec_Xcha0
float tileRec_Xcha0
Definition: TBTrackInfo.h:48
TBTrackInfo_p1::tileRec_SampleC1
std::vector< std::vector< int > > tileRec_SampleC1
Definition: TBTrackInfo_p1.h:60
TBTrackInfo::tb_trk_nTrtHitsTRT
std::vector< int > tb_trk_nTrtHitsTRT
Definition: TBTrackInfo.h:41
TBTrackInfo_p1::tileRec_EfitC0
std::vector< float > tileRec_EfitC0
Definition: TBTrackInfo_p1.h:52
TBTrackInfo_p1::tileRec_GainC1
std::vector< int > tileRec_GainC1
Definition: TBTrackInfo_p1.h:45
TBTrackInfo_p1::tb_sADC_TRTSci
float tb_sADC_TRTSci
Definition: TBTrackInfo_p1.h:28
TBTrackInfo::tileRec_GainC2
std::vector< int > tileRec_GainC2
Definition: TBTrackInfo.h:54
TBTrackInfo::tileRec_GainC0
std::vector< int > tileRec_GainC0
Definition: TBTrackInfo.h:52
TBTrackInfo::tb_trk_Trt_HLTRT
std::vector< std::vector< int > > tb_trk_Trt_HLTRT
Definition: TBTrackInfo.h:43
TBTrackInfo_p1::tileRec_TfitC1
std::vector< float > tileRec_TfitC1
Definition: TBTrackInfo_p1.h:50
TBTrackInfo_p1.h
TBTrackInfo::tb_Trigger
int tb_Trigger
Definition: TBTrackInfo.h:29
TBTrackInfo_p1::tb_sADC_muTag
float tb_sADC_muTag
Definition: TBTrackInfo_p1.h:26
TBTrackInfo_p1
Definition: TBTrackInfo_p1.h:15
TBTrackInfo::tb_trk_nTracks
int tb_trk_nTracks
Definition: TBTrackInfo.h:30
TBTrackInfo_p1::tileRec_EfitC2
std::vector< float > tileRec_EfitC2
Definition: TBTrackInfo_p1.h:54
TBTrackInfo_p1::tb_sADC_C2
float tb_sADC_C2
Definition: TBTrackInfo_p1.h:27
TBTrackInfo_p1::tb_trk_nTracksTRT
int tb_trk_nTracksTRT
Definition: TBTrackInfo_p1.h:22
TBTrackInfo::tb_sADC_TRTSci
float tb_sADC_TRTSci
Definition: TBTrackInfo.h:37
TBTrackInfo::tileRec_TfitC2
std::vector< float > tileRec_TfitC2
Definition: TBTrackInfo.h:59
TBTrackInfo_p1::tileRec_Xcha0
float tileRec_Xcha0
Definition: TBTrackInfo_p1.h:40
TBTrackInfo::tb_sADC_S1
float tb_sADC_S1
Definition: TBTrackInfo.h:33
TBTrackInfo::tileRec_XchN2
float tileRec_XchN2
Definition: TBTrackInfo.h:47
TBTrackInfo_p1::tileRec_XchN1
float tileRec_XchN1
Definition: TBTrackInfo_p1.h:38
TBTrackInfo::tb_sADC_C2
float tb_sADC_C2
Definition: TBTrackInfo.h:36
TBTrackInfo_p1::tileRec_Chi2C0
std::vector< float > tileRec_Chi2C0
Definition: TBTrackInfo_p1.h:55
TBTrackInfo_p1::tileRec_TfitC2
std::vector< float > tileRec_TfitC2
Definition: TBTrackInfo_p1.h:51
TBTrackInfo_p1::tileRec_GainC0
std::vector< int > tileRec_GainC0
Definition: TBTrackInfo_p1.h:44
TBTrackInfo
Definition: TBTrackInfo.h:19
TBTrackInfo::tileRec_Chi2C2
std::vector< float > tileRec_Chi2C2
Definition: TBTrackInfo.h:65
TBTrackInfo_p1::tb_sADC_muHalo
float tb_sADC_muHalo
Definition: TBTrackInfo_p1.h:25
TBTrackInfo::tileRec_Chi2C0
std::vector< float > tileRec_Chi2C0
Definition: TBTrackInfo.h:63
TBTrackInfo_p1::tileRec_btdc1
std::vector< int > tileRec_btdc1
Definition: TBTrackInfo_p1.h:43
TBTrackInfo_p1::tileRec_SampleC0
std::vector< std::vector< int > > tileRec_SampleC0
Definition: TBTrackInfo_p1.h:59
TBTrackInfo::tileRec_SampleC0
std::vector< std::vector< int > > tileRec_SampleC0
Definition: TBTrackInfo.h:67
TBTrackInfo_p1::tileRec_XchN2
float tileRec_XchN2
Definition: TBTrackInfo_p1.h:39
TBTrackInfoCnv_p1::transToPers
virtual void transToPers(const TBTrackInfo *trans, TBTrackInfo_p1 *pers, MsgStream &log) const override
Definition: TBTrackInfoCnv_p1.cxx:62
TBTrackInfo_p1::tb_trk_nPixelHits
std::vector< int > tb_trk_nPixelHits
Definition: TBTrackInfo_p1.h:30
TBTrackInfo::tileRec_SampleC2
std::vector< std::vector< int > > tileRec_SampleC2
Definition: TBTrackInfo.h:69
TBTrackInfo_p1::tileRec_TfitC0
std::vector< float > tileRec_TfitC0
Definition: TBTrackInfo_p1.h:49
TBTrackInfo::tb_trk_nSctHits
std::vector< int > tb_trk_nSctHits
Definition: TBTrackInfo.h:40
TBTrackInfo::tileRec_Xcha1
float tileRec_Xcha1
Definition: TBTrackInfo.h:49
TBTrackInfo::tb_sADC_muHalo
float tb_sADC_muHalo
Definition: TBTrackInfo.h:34
TBTrackInfo::tileRec_XchN1
float tileRec_XchN1
Definition: TBTrackInfo.h:46
TBTrackInfo::tileRec_Chi2C1
std::vector< float > tileRec_Chi2C1
Definition: TBTrackInfo.h:64
TBTrackInfo_p1::tb_trk_Trt_HLTRT
std::vector< std::vector< int > > tb_trk_Trt_HLTRT
Definition: TBTrackInfo_p1.h:34
TBTrackInfo::tb_sADC_muTag
float tb_sADC_muTag
Definition: TBTrackInfo.h:35
TBTrackInfo_p1::tileRec_MuBack
std::vector< float > tileRec_MuBack
Definition: TBTrackInfo_p1.h:48
TBTrackInfoCnv_p1::persToTrans
virtual void persToTrans(const TBTrackInfo_p1 *pers, TBTrackInfo *trans, MsgStream &log) const override
Definition: TBTrackInfoCnv_p1.cxx:13
TBTrackInfo_p1::tileRec_Chi2C2
std::vector< float > tileRec_Chi2C2
Definition: TBTrackInfo_p1.h:57
TBTrackInfo_p1::tb_trk_nTrtHitsTRT
std::vector< int > tb_trk_nTrtHitsTRT
Definition: TBTrackInfo_p1.h:32
TBTrackInfo_p1::tileRec_Chi2C1
std::vector< float > tileRec_Chi2C1
Definition: TBTrackInfo_p1.h:56
TBTrackInfo::tileRec_SampleC1
std::vector< std::vector< int > > tileRec_SampleC1
Definition: TBTrackInfo.h:68
TBTrackInfo.h
TBTrackInfo_p1::tileRec_GainC2
std::vector< int > tileRec_GainC2
Definition: TBTrackInfo_p1.h:46
TBTrackInfo_p1::tb_trk_nSctHits
std::vector< int > tb_trk_nSctHits
Definition: TBTrackInfo_p1.h:31
TBTrackInfo::tileRec_EfitC2
std::vector< float > tileRec_EfitC2
Definition: TBTrackInfo.h:62
TBTrackInfo::tileRec_btdc1
std::vector< int > tileRec_btdc1
Definition: TBTrackInfo.h:51
TBTrackInfo_p1::tb_sADC_S1
float tb_sADC_S1
Definition: TBTrackInfo_p1.h:24
TBTrackInfo_p1::tileRec_Xcha1
float tileRec_Xcha1
Definition: TBTrackInfo_p1.h:41
TBTrackInfo::tb_trk_nPixelHits
std::vector< int > tb_trk_nPixelHits
Definition: TBTrackInfo.h:39
TBTrackInfo_p1::tileRec_EfitC1
std::vector< float > tileRec_EfitC1
Definition: TBTrackInfo_p1.h:53
TBTrackInfo::tileRec_MuBack
std::vector< float > tileRec_MuBack
Definition: TBTrackInfo.h:56
TBTrackInfo::tileRec_EfitC1
std::vector< float > tileRec_EfitC1
Definition: TBTrackInfo.h:61
TBTrackInfoCnv_p1.h
TBTrackInfo_p1::tb_trk_nTracks
int tb_trk_nTracks
Definition: TBTrackInfo_p1.h:21
TBTrackInfo::tileRec_TfitC0
std::vector< float > tileRec_TfitC0
Definition: TBTrackInfo.h:57
TBTrackInfo::tileRec_GainC1
std::vector< int > tileRec_GainC1
Definition: TBTrackInfo.h:53