ATLAS Offline Software
tauAnalysisHelperObjectCnv_p1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
16 
20 
22 cellVectCnv;
25 trackVectCnv;
26 
28  const tauAnalysisHelperObject_p1 *persObj,
29  tauAnalysisHelperObject *transObj,
30  MsgStream &log )
31 {
32  transObj->setDecmode (persObj->m_decmode);
33  transObj->setJettype (persObj->m_jettype);
34  transObj->setD0prf (persObj->m_d0prf);
35  transObj->setD0iso (persObj->m_d0iso);
36  transObj->setD0isoet (persObj->m_d0isoet);
37  transObj->setD0ettr (persObj->m_d0ettr);
38  transObj->setD0etem (persObj->m_d0etem);
39  transObj->setD0etem2 (persObj->m_d0etem2);
40  transObj->setD0emclet (persObj->m_d0emclet);
41  transObj->setD0emcleta (persObj->m_d0emcleta);
42  transObj->setD0emclphi (persObj->m_d0emclphi);
43  transObj->setD0et05 (persObj->m_d0et05);
44  transObj->setD0eta05 (persObj->m_d0eta05);
45  transObj->setD0phi05 (persObj->m_d0phi05);
46  transObj->setD0hadet (persObj->m_d0hadet);
47  transObj->setD0hadeta (persObj->m_d0hadeta);
48  transObj->setD0hadphi (persObj->m_d0hadphi);
49  transObj->setD0type (persObj->m_d0type);
50  transObj->setD0deltaR1 (persObj->m_d0deltaR1);
51  transObj->setD0eTosumpT (persObj->m_d0eTosumpT);
52  transObj->setD0deltaRhad (persObj->m_d0deltaR1had);
53  transObj->setD0em3iso (persObj->m_d0em3iso);
54  transObj->setD0mtrem3 (persObj->m_d0mtrem3);
55  transObj->setD0deltaR2 (persObj->m_d0deltaR2);
56  transObj->setD0ntr1030 (persObj->m_d0ntr1030);
57  transObj->setD0EM12isof (persObj->m_d0EM12isof);
58  transObj->setD0e1e2otaupT (persObj->m_d0e1e2otaupT);
59  transObj->setD0ettro123 (persObj->m_d0ettro123);
60  transObj->setD0ett1oEtiso (persObj->m_d0ett1oEtiso);
61  transObj->setD0ett1oEtisoet (persObj->m_d0ett1oEtisoet);
62  transObj->setD0dalpha (persObj->m_d0dalpha);
63  transObj->setD0e1e2 (persObj->m_d0e1e2);
64  transObj->setD0mtr1tr2 (persObj->m_d0mtr1tr2);
65  transObj->setD0mtr1tr2tr3 (persObj->m_d0mtr1tr2tr3);
66  transObj->setD0sumtaupt (persObj->m_d0sumtaupt);
67  transObj->setD0sumnontaupt (persObj->m_d0sumnontaupt);
68  transObj->setD0sumpt (persObj->m_d0sumpt);
69 
70  transObj->clearD0towers();
71  for (size_t i = 0; i < persObj->m_towere.size(); i++)
72  transObj->addD0tower (persObj->m_towere[i],
73  persObj->m_towereta[i],
74  persObj->m_towerphi[i]);
75 
76  for( int i = 0; i < 6; ++i ) {
77  transObj->setEMRadii (i, persObj->m_emradii[i]);
78  transObj->setHADRadii (i, persObj->m_hadradii[i]);
79  }
80  for( int i = 0; i < 10; ++i ) {
81  transObj->setImpactParameter(i,
82  persObj->m_ImpactParameter[i]);
83  transObj->setRawImpactParameter(i,
84  persObj->m_RawImpactParameter[i]);
85  transObj->setSignedImpactParameter(i,
86  persObj->m_SignedImpactParameter[i]);
91  }
92  for( int i = 0; i < 25; ++i ) {
93  transObj->setD0uncaletlayers (i, persObj->m_d0uncaletlayers[i]);
94  }
95  cellVectCnv.persToTrans(
96  &persObj->m_d0_emcluster, &transObj->d0_emcluster(), log );
97  trackVectCnv.persToTrans(
98  &persObj->m_d0_05_Tracks, &transObj->d0_05_tracks(), log );
99  trackVectCnv.persToTrans(
100  &persObj->m_d0_tau_Tracks, &transObj->d0_tau_tracks(), log );
101  trackVectCnv.persToTrans(
102  &persObj->m_d0_nontau_Tracks, &transObj->d0_nontau_tracks(), log );
103 }
104 
106  (const tauAnalysisHelperObject */*transObj*/,
107  tauAnalysisHelperObject_p1 */*persObj*/,
108  MsgStream &log )
109 {
110  log << MSG::WARNING << "tauAnalysisHelperObjectCnv_p1::transToPers"
111  "called this should not happen, as this method is deprecated"
112  << endmsg;
113  return;
114 }
tauAnalysisHelperObject_p1::m_d0e1e2
double m_d0e1e2
Definition: tauAnalysisHelperObject_p1.h:60
tauAnalysisHelperObject::setD0phi05
void setD0phi05(double val)
Definition: tauAnalysisHelperObject.h:276
tauAnalysisHelperObject_p1::m_d0emcleta
double m_d0emcleta
Definition: tauAnalysisHelperObject_p1.h:33
tauAnalysisHelperObject::setD0mtr1tr2
void setD0mtr1tr2(double val)
Definition: tauAnalysisHelperObject.h:297
tauAnalysisHelperObject_p1::m_d0etem2
double m_d0etem2
Definition: tauAnalysisHelperObject_p1.h:31
tauAnalysisHelperObject::setD0sumpt
void setD0sumpt(double val)
Definition: tauAnalysisHelperObject.h:302
tauAnalysisHelperObject_p1::m_jettype
int m_jettype
Definition: tauAnalysisHelperObject_p1.h:15
tauAnalysisHelperObject::setD0mtr1tr2tr3
void setD0mtr1tr2tr3(double val)
Definition: tauAnalysisHelperObject.h:298
tauAnalysisHelperObject_p1::m_d0prf
double m_d0prf
Definition: tauAnalysisHelperObject_p1.h:26
tauAnalysisHelperObject_p1::m_d0dalpha
double m_d0dalpha
Definition: tauAnalysisHelperObject_p1.h:59
tauAnalysisHelperObject::setSignedImpactParameter
void setSignedImpactParameter(const int track, const double ip)
Definition: tauAnalysisHelperObject.h:117
tauAnalysisHelperObject_p1::m_d0deltaR2
double m_d0deltaR2
Definition: tauAnalysisHelperObject_p1.h:51
tauAnalysisHelperObject::setD0hadet
void setD0hadet(double val)
Definition: tauAnalysisHelperObject.h:270
tauAnalysisHelperObject::addD0tower
void addD0tower(const double e, const double eta, const double phi)
Definition: tauAnalysisHelperObject.h:309
tauAnalysisHelperObject::setD0emcleta
void setD0emcleta(double val)
Definition: tauAnalysisHelperObject.h:267
tauAnalysisHelperObject::setHADRadii
void setHADRadii(const int idx, const double rad)
Definition: tauAnalysisHelperObject.h:98
tauAnalysisHelperObject_p1::m_d0_tau_Tracks
ElementLinkIntVector_p1 m_d0_tau_Tracks
Definition: tauAnalysisHelperObject_p1.h:77
tauAnalysisHelperObject_p1::m_hadradii
double m_hadradii[6]
Definition: tauAnalysisHelperObject_p1.h:17
ElementLinkVectorCnv_p1
Definition: ElementLinkVectorCnv_p1.h:28
tauAnalysisHelperObject_p1::m_d0deltaR1had
double m_d0deltaR1had
Definition: tauAnalysisHelperObject_p1.h:47
tauAnalysisHelperObject::d0_nontau_tracks
tauTrackColl_type & d0_nontau_tracks()
Definition: tauAnalysisHelperObject.h:381
tauAnalysisHelperObject::setD0uncaletlayers
void setD0uncaletlayers(int l, double val)
Definition: tauAnalysisHelperObject.h:312
tauAnalysisHelperObject::setD0deltaR2
void setD0deltaR2(double val)
Definition: tauAnalysisHelperObject.h:286
tauAnalysisHelperObject::setD0etem
void setD0etem(double val)
Definition: tauAnalysisHelperObject.h:263
tauAnalysisHelperObject::setD0hadeta
void setD0hadeta(double val)
Definition: tauAnalysisHelperObject.h:271
tauAnalysisHelperObject_p1::m_d0ntr1030
double m_d0ntr1030
Definition: tauAnalysisHelperObject_p1.h:52
ElementLinkVectorCnv_p1.h
This file contains the class definition for the ElementLinkVectorCnv_p1 class. NOTE: it should be inc...
tauAnalysisHelperObject_p1::m_d0mtr1tr2
double m_d0mtr1tr2
Definition: tauAnalysisHelperObject_p1.h:62
tauAnalysisHelperObject_p1::m_d0hadeta
double m_d0hadeta
Definition: tauAnalysisHelperObject_p1.h:40
ElementLinkVectorCnv_p1::persToTrans
void persToTrans(const PersLinkVect_t &pers, LinkVect_t &trans, MsgStream &log) const
tauAnalysisHelperObject_p1::m_d0EM12isof
double m_d0EM12isof
Definition: tauAnalysisHelperObject_p1.h:54
tauAnalysisHelperObject_p1::m_d0em3iso
double m_d0em3iso
Definition: tauAnalysisHelperObject_p1.h:48
tauAnalysisHelperObject_p1::m_SignedImpactParameter
double m_SignedImpactParameter[10]
Definition: tauAnalysisHelperObject_p1.h:22
tauAnalysisHelperObject::setJettype
void setJettype(const int jettype)
Definition: tauAnalysisHelperObject.h:72
tauAnalysisHelperObject_p1::m_ImpactParameterSignificance
double m_ImpactParameterSignificance[10]
Definition: tauAnalysisHelperObject_p1.h:23
tauAnalysisHelperObject::setD0iso
void setD0iso(double val)
Definition: tauAnalysisHelperObject.h:260
tauAnalysisHelperObject::setD0mtrem3
void setD0mtrem3(double val)
Definition: tauAnalysisHelperObject.h:284
tauAnalysisHelperObject_p1::m_d0uncaletlayers
double m_d0uncaletlayers[25]
Definition: tauAnalysisHelperObject_p1.h:73
tauAnalysisHelperObject_p1::m_d0ettr
double m_d0ettr
Definition: tauAnalysisHelperObject_p1.h:29
tauAnalysisHelperObject_p1::m_d0et05
double m_d0et05
Definition: tauAnalysisHelperObject_p1.h:35
tauAnalysisHelperObject_p1::m_d0sumtaupt
double m_d0sumtaupt
Definition: tauAnalysisHelperObject_p1.h:65
tauAnalysisHelperObject::setD0sumnontaupt
void setD0sumnontaupt(double val)
Definition: tauAnalysisHelperObject.h:301
tauAnalysisHelperObject::setD0prf
void setD0prf(double val)
Definition: tauAnalysisHelperObject.h:259
tauAnalysisHelperObject::setD0hadphi
void setD0hadphi(double val)
Definition: tauAnalysisHelperObject.h:272
tauAnalysisHelperObject::setD0dalpha
void setD0dalpha(double val)
Definition: tauAnalysisHelperObject.h:294
tauAnalysisHelperObject_p1::m_d0type
double m_d0type
Definition: tauAnalysisHelperObject_p1.h:43
tauAnalysisHelperObject::setD0e1e2otaupT
void setD0e1e2otaupT(double val)
Definition: tauAnalysisHelperObject.h:290
tauAnalysisHelperObject_p1::m_d0mtr1tr2tr3
double m_d0mtr1tr2tr3
Definition: tauAnalysisHelperObject_p1.h:63
tauAnalysisHelperObject_p1::m_d0ett1oEtisoet
double m_d0ett1oEtisoet
Definition: tauAnalysisHelperObject_p1.h:58
lumiFormat.i
int i
Definition: lumiFormat.py:85
tauAnalysisHelperObject_p1::m_d0isoet
double m_d0isoet
Definition: tauAnalysisHelperObject_p1.h:28
tauAnalysisHelperObject_p1::m_d0etem
double m_d0etem
Definition: tauAnalysisHelperObject_p1.h:30
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
tauAnalysisHelperObject::setD0emclet
void setD0emclet(double val)
Definition: tauAnalysisHelperObject.h:266
tauAnalysisHelperObject_p1::m_d0mtrem3
double m_d0mtrem3
Definition: tauAnalysisHelperObject_p1.h:49
tauAnalysisHelperObject_p1::m_d0_05_Tracks
ElementLinkIntVector_p1 m_d0_05_Tracks
Definition: tauAnalysisHelperObject_p1.h:76
tauAnalysisHelperObjectCnv_p1.h
tauAnalysisHelperObject::setD0isoet
void setD0isoet(double val)
Definition: tauAnalysisHelperObject.h:261
tauAnalysisHelperObject
DEPRECATED DO NOT USE - MIGRATE TO TauCommonDetails.
Definition: tauAnalysisHelperObject.h:46
tauAnalysisHelperObject_p1::m_d0hadet
double m_d0hadet
Definition: tauAnalysisHelperObject_p1.h:39
tauAnalysisHelperObject::setRawImpactParameter
void setRawImpactParameter(const int track, const double ip)
Definition: tauAnalysisHelperObject.h:116
tauAnalysisHelperObject::setD0ettro123
void setD0ettro123(double val)
Definition: tauAnalysisHelperObject.h:291
tauAnalysisHelperObject_p1::m_RawImpactParameter
double m_RawImpactParameter[10]
Definition: tauAnalysisHelperObject_p1.h:21
tauAnalysisHelperObject_p1::m_towereta
std::vector< double > m_towereta
Definition: tauAnalysisHelperObject_p1.h:70
tauAnalysisHelperObject::setDecmode
void setDecmode(const int decmode)
Definition: tauAnalysisHelperObject.h:73
tauAnalysisHelperObject::setD0ettr
void setD0ettr(double val)
Definition: tauAnalysisHelperObject.h:262
tauAnalysisHelperObjectCnv_p1::transToPers
virtual void transToPers(const tauAnalysisHelperObject *transObj, tauAnalysisHelperObject_p1 *persObj, MsgStream &log)
Definition: tauAnalysisHelperObjectCnv_p1.cxx:106
tauAnalysisHelperObject_p1::m_d0emclphi
double m_d0emclphi
Definition: tauAnalysisHelperObject_p1.h:34
tauAnalysisHelperObject_p1::m_d0eta05
double m_d0eta05
Definition: tauAnalysisHelperObject_p1.h:36
tauAnalysisHelperObject_p1::m_SignedImpactParameterSignificance
double m_SignedImpactParameterSignificance[10]
Definition: tauAnalysisHelperObject_p1.h:24
tauAnalysisHelperObject::setD0eta05
void setD0eta05(double val)
Definition: tauAnalysisHelperObject.h:275
tauAnalysisHelperObject_p1
Definition: tauAnalysisHelperObject_p1.h:12
tauAnalysisHelperObject_p1::m_emradii
double m_emradii[6]
Definition: tauAnalysisHelperObject_p1.h:16
ElementLinkVector
ElementLinkVector implementation for standalone ROOT.
Definition: AthLinks/ElementLinkVector.h:27
tauAnalysisHelperObject::setD0em3iso
void setD0em3iso(double val)
Definition: tauAnalysisHelperObject.h:283
tauAnalysisHelperObject::setSignedImpactParameterSignificance
void setSignedImpactParameterSignificance(const int track, const double ip)
Definition: tauAnalysisHelperObject.h:119
tauAnalysisHelperObject.h
tauAnalysisHelperObject_p1::m_d0ettro123
double m_d0ettro123
Definition: tauAnalysisHelperObject_p1.h:56
tauAnalysisHelperObject_p1::m_ImpactParameter
double m_ImpactParameter[10]
Definition: tauAnalysisHelperObject_p1.h:20
tauAnalysisHelperObject::d0_emcluster
tauCellColl_type & d0_emcluster()
Definition: tauAnalysisHelperObject.h:320
tauAnalysisHelperObject::setD0deltaR1
void setD0deltaR1(double val)
Definition: tauAnalysisHelperObject.h:279
tauAnalysisHelperObject::setD0e1e2
void setD0e1e2(double val)
Definition: tauAnalysisHelperObject.h:295
tauAnalysisHelperObjectCnv_p1::persToTrans
virtual void persToTrans(const tauAnalysisHelperObject_p1 *persObj, tauAnalysisHelperObject *transObj, MsgStream &log)
Definition: tauAnalysisHelperObjectCnv_p1.cxx:27
Rec::TrackParticleContainer
Definition: Reconstruction/Particle/Particle/TrackParticleContainer.h:33
tauAnalysisHelperObject::setD0deltaRhad
void setD0deltaRhad(double val)
Definition: tauAnalysisHelperObject.h:282
tauAnalysisHelperObject_p1::m_towere
std::vector< double > m_towere
Definition: tauAnalysisHelperObject_p1.h:69
tauAnalysisHelperObject_p1::m_d0_emcluster
ElementLinkIntVector_p1 m_d0_emcluster
Definition: tauAnalysisHelperObject_p1.h:75
tauAnalysisHelperObject_p1::m_d0_nontau_Tracks
ElementLinkIntVector_p1 m_d0_nontau_Tracks
Definition: tauAnalysisHelperObject_p1.h:78
tauAnalysisHelperObject::setD0ett1oEtisoet
void setD0ett1oEtisoet(double val)
Definition: tauAnalysisHelperObject.h:293
tauAnalysisHelperObject_p1::m_d0sumnontaupt
double m_d0sumnontaupt
Definition: tauAnalysisHelperObject_p1.h:66
tauAnalysisHelperObject::setImpactParameter
void setImpactParameter(const int track, const double ip)
Definition: tauAnalysisHelperObject.h:115
tauAnalysisHelperObject::setD0et05
void setD0et05(double val)
Definition: tauAnalysisHelperObject.h:274
tauAnalysisHelperObject::setImpactParameterSignificance
void setImpactParameterSignificance(const int track, const double ip)
Definition: tauAnalysisHelperObject.h:118
tauAnalysisHelperObject_p1::m_d0sumpt
double m_d0sumpt
Definition: tauAnalysisHelperObject_p1.h:67
tauAnalysisHelperObject::clearD0towers
void clearD0towers()
Definition: tauAnalysisHelperObject.h:304
tauAnalysisHelperObject::setD0emclphi
void setD0emclphi(double val)
Definition: tauAnalysisHelperObject.h:268
tauAnalysisHelperObject::setD0eTosumpT
void setD0eTosumpT(double val)
Definition: tauAnalysisHelperObject.h:280
python.CaloCondTools.log
log
Definition: CaloCondTools.py:20
tauAnalysisHelperObject::setD0etem2
void setD0etem2(double val)
Definition: tauAnalysisHelperObject.h:264
tauAnalysisHelperObject_p1::m_d0ett1oEtiso
double m_d0ett1oEtiso
Definition: tauAnalysisHelperObject_p1.h:57
tauAnalysisHelperObject_p1::m_d0e1e2otaupT
double m_d0e1e2otaupT
Definition: tauAnalysisHelperObject_p1.h:55
tauAnalysisHelperObject::setEMRadii
void setEMRadii(const int idx, const double rad)
Definition: tauAnalysisHelperObject.h:97
tauAnalysisHelperObject_p1::m_d0phi05
double m_d0phi05
Definition: tauAnalysisHelperObject_p1.h:37
tauAnalysisHelperObject::d0_05_tracks
tauTrackColl_type & d0_05_tracks()
Definition: tauAnalysisHelperObject.h:341
tauAnalysisHelperObject::setD0type
void setD0type(double val)
Definition: tauAnalysisHelperObject.h:278
tauAnalysisHelperObject::setD0EM12isof
void setD0EM12isof(double val)
Definition: tauAnalysisHelperObject.h:289
tauAnalysisHelperObject_p1::m_towerphi
std::vector< double > m_towerphi
Definition: tauAnalysisHelperObject_p1.h:71
tauAnalysisHelperObject::setD0sumtaupt
void setD0sumtaupt(double val)
Definition: tauAnalysisHelperObject.h:300
tauAnalysisHelperObject::d0_tau_tracks
tauTrackColl_type & d0_tau_tracks()
Definition: tauAnalysisHelperObject.h:361
tauAnalysisHelperObject_p1::m_decmode
int m_decmode
Definition: tauAnalysisHelperObject_p1.h:14
tauAnalysisHelperObject_p1::m_d0deltaR1
double m_d0deltaR1
Definition: tauAnalysisHelperObject_p1.h:44
tauAnalysisHelperObject_p1::m_d0hadphi
double m_d0hadphi
Definition: tauAnalysisHelperObject_p1.h:41
tauAnalysisHelperObject::setD0ett1oEtiso
void setD0ett1oEtiso(double val)
Definition: tauAnalysisHelperObject.h:292
tauAnalysisHelperObject::setD0ntr1030
void setD0ntr1030(double val)
Definition: tauAnalysisHelperObject.h:287
tauAnalysisHelperObject_p1::m_d0emclet
double m_d0emclet
Definition: tauAnalysisHelperObject_p1.h:32
tauAnalysisHelperObject_p1::m_d0eTosumpT
double m_d0eTosumpT
Definition: tauAnalysisHelperObject_p1.h:45
tauAnalysisHelperObject_p1::m_d0iso
double m_d0iso
Definition: tauAnalysisHelperObject_p1.h:27