ATLAS Offline Software
Reconstruction
tauEventTPCnv
src
TauRecExtraDetailsCnv_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
17
18
//Trick to access private members in tau rec extra details
19
#include "
tauEvent/TauRecExtraDetails.h
"
20
#include "
tauEventTPCnv/TauRecExtraDetailsCnv_p1.h
"
21
#include "
tauEvent/TauJetParameters.h
"
22
#include "
tauEvent/tauAnalysisHelperObject.h
"
23
24
TauRecExtraDetailsCnv_p1::TauRecExtraDetailsCnv_p1
() :
25
T_AthenaPoolTPPolyCnvBase
<
26
Analysis
::TauDetails,
27
Analysis
::TauRecExtraDetails,
28
TauRecExtraDetails_p1
>(),
29
m_tauAnalysisHelperObjectCnv
(0)
30
{
31
}
32
33
TauRecExtraDetailsCnv_p1::~TauRecExtraDetailsCnv_p1
()
34
{
35
}
36
37
void
TauRecExtraDetailsCnv_p1::persToTrans
(
38
const
TauRecExtraDetails_p1
*pers,
39
Analysis::TauRecExtraDetails
*trans,
40
MsgStream &
msg
)
41
{
42
trans->
setNumEMCells
(pers->
m_numEMCells
);
43
trans->
setStripET
(pers->
m_stripET
);
44
trans->
setEMCentralityFraction
(pers->
m_emCentralityFraction
);
45
trans->
setETHadAtEMScale
(pers->
m_etHadAtEMScale
);
46
trans->
setETEMAtEMScale
(pers->
m_etEMAtEMScale
);
47
trans->
setEnergy
(pers->
m_sumCellE
);
48
trans->
setEMEnergy
(pers->
m_sumEMCellE
);
49
trans->
setSumPTTracks
(pers->
m_sumPTTracks
);
50
51
trans->
setAnalysisHelper
(
createTransFromPStore
52
(&
m_tauAnalysisHelperObjectCnv
, pers->
m_analysisHelper
,
msg
));
53
trans->
setSeedType
((
TauJetParameters::SeedTypes
)pers->
m_seedType
);
54
}
55
56
void
TauRecExtraDetailsCnv_p1::transToPers
57
(
const
Analysis::TauRecExtraDetails
*
/*trans*/
,
58
TauRecExtraDetails_p1
*
/*pers*/
,
59
MsgStream &
msg
)
60
{
61
msg
<< MSG::WARNING <<
"TauRecDetailsCnv_p1::transToPers called "
62
"this should not happen, as this method is deprecated"
<<
endmsg
;
63
return
;
64
}
TauRecExtraDetails.h
Analysis::TauRecExtraDetails::setEMEnergy
void setEMEnergy(double emEnergy)
Definition:
TauRecExtraDetails.h:217
TauRecExtraDetailsCnv_p1::transToPers
virtual void transToPers(const Analysis::TauRecExtraDetails *trans, TauRecExtraDetails_p1 *pers, MsgStream &msg)
DEPRECATED DO NOT USE!
Definition:
TauRecExtraDetailsCnv_p1.cxx:57
TauRecExtraDetails_p1::m_numEMCells
int m_numEMCells
Definition:
TauRecExtraDetails_p1.h:34
Analysis::TauRecExtraDetails
DEPRECATED DO NOT USE - MIGRATE TO TauCommonDetails Extended details class containing information pro...
Definition:
TauRecExtraDetails.h:35
TauRecExtraDetailsCnv_p1.h
Analysis::TauRecExtraDetails::setEMCentralityFraction
void setEMCentralityFraction(double emCentralityFraction)
Definition:
TauRecExtraDetails.h:177
TPPolyCnvBase
Definition:
TPConverter.h:674
TauRecExtraDetails_p1::m_sumEMCellE
float m_sumEMCellE
Definition:
TauRecExtraDetails_p1.h:40
TauRecExtraDetails_p1::m_etHadAtEMScale
float m_etHadAtEMScale
Definition:
TauRecExtraDetails_p1.h:37
TauRecExtraDetails_p1::m_analysisHelper
TPObjRef m_analysisHelper
Definition:
TauRecExtraDetails_p1.h:32
TauJetParameters::SeedTypes
SeedTypes
Enum for tau seed type.
Definition:
TauJetParameters.h:181
TauJetParameters.h
Analysis::TauRecExtraDetails::setAnalysisHelper
void setAnalysisHelper(tauAnalysisHelperObject *anahelper)
Definition:
TauRecExtraDetails.h:146
TauRecExtraDetails_p1::m_stripET
float m_stripET
Definition:
TauRecExtraDetails_p1.h:35
endmsg
#define endmsg
Definition:
AnalysisConfig_Ntuple.cxx:63
TauRecExtraDetails_p1::m_sumCellE
float m_sumCellE
Definition:
TauRecExtraDetails_p1.h:39
TauRecExtraDetailsCnv_p1::m_tauAnalysisHelperObjectCnv
tauAnalysisHelperObjectCnv_p1 * m_tauAnalysisHelperObjectCnv
Definition:
TauRecExtraDetailsCnv_p1.h:69
Analysis::TauRecExtraDetails::setSumPTTracks
void setSumPTTracks(double sumPTTracks)
Definition:
TauRecExtraDetails.h:227
Analysis::TauRecExtraDetails::setETEMAtEMScale
void setETEMAtEMScale(double etEMAtEMScale)
Definition:
TauRecExtraDetails.h:197
Analysis::TauRecExtraDetails::setETHadAtEMScale
void setETHadAtEMScale(double etHadAtEMScale)
Definition:
TauRecExtraDetails.h:187
TauRecExtraDetails_p1::m_etEMAtEMScale
float m_etEMAtEMScale
Definition:
TauRecExtraDetails_p1.h:38
Analysis::TauRecExtraDetails::setEnergy
void setEnergy(double energy)
Definition:
TauRecExtraDetails.h:207
TauRecExtraDetailsCnv_p1::~TauRecExtraDetailsCnv_p1
virtual ~TauRecExtraDetailsCnv_p1()
Destructor.
Definition:
TauRecExtraDetailsCnv_p1.cxx:33
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition:
BTaggingCnvAlg.h:20
tauAnalysisHelperObject.h
Analysis::TauRecExtraDetails::setSeedType
void setSeedType(TauJetParameters ::SeedTypes type)
Definition:
TauRecExtraDetails.h:237
TauRecExtraDetailsCnv_p1::TauRecExtraDetailsCnv_p1
TauRecExtraDetailsCnv_p1()
Constructor.
Definition:
TauRecExtraDetailsCnv_p1.cxx:24
TauRecExtraDetails_p1::m_seedType
int m_seedType
Definition:
TauRecExtraDetails_p1.h:33
TauRecExtraDetailsCnv_p1::persToTrans
void persToTrans(const TauRecExtraDetails_p1 *pers, Analysis::TauRecExtraDetails *trans, MsgStream &msg)
Fills persistent TauRecExtraDetails instance from a transient tauRecExtraDetails instance.
Definition:
TauRecExtraDetailsCnv_p1.cxx:37
Analysis::TauRecExtraDetails::setNumEMCells
void setNumEMCells(int numEMCells)
Definition:
TauRecExtraDetails.h:157
TauRecExtraDetails_p1::m_sumPTTracks
float m_sumPTTracks
Definition:
TauRecExtraDetails_p1.h:41
Analysis::TauRecExtraDetails::setStripET
void setStripET(double stripET)
Definition:
TauRecExtraDetails.h:167
TauRecExtraDetails_p1::m_emCentralityFraction
float m_emCentralityFraction
Definition:
TauRecExtraDetails_p1.h:36
python.AutoConfigFlags.msg
msg
Definition:
AutoConfigFlags.py:7
TauRecExtraDetails_p1
DEPRECATED - Do not use except for backwards compatibility Persistent TauRecExtraDetails class.
Definition:
TauRecExtraDetails_p1.h:26
ITPConverterFor< TRANS_BASE >::createTransFromPStore
CNV::Trans_t * createTransFromPStore(CNV **cnv, const TPObjRef &ref, MsgStream &log) const
Create transient representation of a persistent object, stored in the the top-level persistent object...
Definition:
TPConverter.h:172
Generated on Mon Dec 23 2024 21:19:09 for ATLAS Offline Software by
1.8.18