ATLAS Offline Software
Tau1P3PDetailsCnv_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 
26 
29 
32 
34 static const HepLorentzVectorCnv_p1 hepLorentzVectorCnv;
35 
38  Analysis::TauDetails,
39  Analysis::Tau1P3PDetails,
42 {
43 }
44 
46 {
47 }
48 
50  const Tau1P3PDetails_p1 *pers,
52  MsgStream &msg )
53 {
54  trans->setNumStripCells (pers->m_numStripCells);
55  trans->setStripWidth2 (pers->m_stripWidth2);
56  trans->setEMRadius (pers->m_emRadius);
57  trans->setIsolationFraction (pers->m_ET12Frac);
58  trans->setETIsolHAD (pers->m_etIsolHAD);
59  trans->setETIsolEM (pers->m_etIsolEM);
60  trans->setETChrgHAD (pers->m_etChrgHAD);
63  trans->setSignD0Trk3P (pers->m_signD0Trk3P);
64  trans->setMassTrk3P (pers->m_massTrk3P);
65  trans->setRWidth2Trk3P (pers->m_rWidth2Trk3P);
66  trans->setETHadAtEMScale (pers->m_etHadAtEMScale);
67  trans->setETEMAtEMScale (pers->m_etEMAtEMScale);
68  trans->setETEMCL (pers->m_etEMCL);
69  trans->setETChrgEM (pers->m_etChrgEM);
70  trans->setETNeuEM (pers->m_etNeuEM);
71  trans->setETResNeuEM (pers->m_etResNeuEM);
72 
73  trans->resizeETChrgEM01Trk (pers->m_etChrgEM01Trk.size());
74  for (size_t i = 0; i < pers->m_etChrgEM01Trk.size(); i++)
75  trans->setETChrgEM01Trk (i, pers->m_etChrgEM01Trk[i]);
76 
77  trans->resizeETResChrgEMTrk (pers->m_etResChrgEMTrk.size());
78  for (size_t i = 0; i < pers->m_etResChrgEMTrk.size(); i++)
79  trans->setETResChrgEMTrk (i, pers->m_etResChrgEMTrk[i]);
80 
82  trans->setZ0SinThetaSig (pers->m_z0SinThetaSig);
84  trans->setEtIsolFrac (pers->m_etIsolFrac);
87  trans->setHadronicLeak (pers->m_hadronicLeak);
88  trans->setSecondaryMax (pers->m_secondaryMax);
89 
90  CLHEP::HepLorentzVector sumEM;
91  hepLorentzVectorCnv.persToTrans(
92  &pers->m_sumEM, &sumEM, msg );
93  trans->setSumEM (sumEM);
95  (&m_recVertexCnv, pers->m_secVertex, msg ));
96  clusterVectCnv.persToTrans(&pers->m_pi0, &trans->pi0LinkVector(), msg );
97  clusterCnv.persToTrans(
98  &pers->m_cellEM012Cluster,
99  &trans->cellEM012ClusterLink(), msg );
100  trans->setETeflow (pers->m_etEflow);
101 }
102 
104  (const Analysis::Tau1P3PDetails */*trans*/,
105  Tau1P3PDetails_p1 */*pers*/,
106  MsgStream &msg )
107 {
108  msg << MSG::WARNING << "Tau1P3PDetailsCnv_p1::transToPers called "
109  "this should not happen, as this method is deprecated" << endmsg;
110  return;
111 }
Analysis::Tau1P3PDetails::setSecondaryMax
void setSecondaryMax(double SecondaryMax)
Definition: Tau1P3PDetails.h:748
ElementLinkCnv_p1.h
This file contains the class definition for the ElementLinkCnv_p1 class.
Tau1P3PDetails_p1::m_secondaryMax
float m_secondaryMax
Definition: Tau1P3PDetails_p1.h:61
Analysis::Tau1P3PDetails::setETResChrgEMTrk
void setETResChrgEMTrk(unsigned tr, double etResChrgEMTrk)
Definition: Tau1P3PDetails.h:626
Analysis::Tau1P3PDetails::resizeETResChrgEMTrk
void resizeETResChrgEMTrk(size_t sz)
Definition: Tau1P3PDetails.h:632
Tau1P3PDetailsCnv_p1::m_recVertexCnv
RecVertexCnv_p1 * m_recVertexCnv
Converter for rec vertex.
Definition: Tau1P3PDetailsCnv_p1.h:71
Tau1P3PDetails_p1::m_etNeuEM
float m_etNeuEM
Definition: Tau1P3PDetails_p1.h:53
Tau1P3PDetails_p1::m_sumEtCellsLArOverLeadTrackPt
float m_sumEtCellsLArOverLeadTrackPt
Definition: Tau1P3PDetails_p1.h:59
ElementLinkVectorCnv_p1
Definition: ElementLinkVectorCnv_p1.h:28
Tau1P3PDetails_p1::m_cellEM012Cluster
ElementLinkInt_p1 m_cellEM012Cluster
Definition: Tau1P3PDetails_p1.h:67
Tau1P3PDetails_p1::m_stripWidth2
float m_stripWidth2
Definition: Tau1P3PDetails_p1.h:38
Analysis::Tau1P3PDetails::setNumStripCells
void setNumStripCells(int numStripCells)
Definition: Tau1P3PDetails.h:409
ElementLinkVectorCnv_p1.h
This file contains the class definition for the ElementLinkVectorCnv_p1 class. NOTE: it should be inc...
Tau1P3PDetails_p1::m_ET12Frac
float m_ET12Frac
Definition: Tau1P3PDetails_p1.h:40
VectorUtils.h
ElementLinkVectorCnv_p1::persToTrans
void persToTrans(const PersLinkVect_t &pers, LinkVect_t &trans, MsgStream &log) const
Tau1P3PDetails_p1::m_etResChrgEMTrk
std ::vector< float > m_etResChrgEMTrk
Definition: Tau1P3PDetails_p1.h:63
Analysis::Tau1P3PDetails::setEtChrgHADoverPttot
void setEtChrgHADoverPttot(double etChrgHADoverPttot)
Definition: Tau1P3PDetails.h:509
Analysis::Tau1P3PDetails::setNAssocTracksIsol
void setNAssocTracksIsol(int nAssocTracksIsol)
Definition: Tau1P3PDetails.h:459
HepLorentzVectorCnv_p1.h
Analysis::Tau1P3PDetails::setZ0SinThetaSig
void setZ0SinThetaSig(double z0SinThetaSig)
Definition: Tau1P3PDetails.h:499
Tau1P3PDetails_p1::m_etChrgHAD
float m_etChrgHAD
Definition: Tau1P3PDetails_p1.h:43
Tau1P3PDetailsCnv_p1.h
Analysis::Tau1P3PDetails::setETIsolHAD
void setETIsolHAD(double etIsolHad)
Definition: Tau1P3PDetails.h:439
Analysis::Tau1P3PDetails::setETEMAtEMScale
void setETEMAtEMScale(double etEMAtEMScale)
Definition: Tau1P3PDetails.h:549
Tau1P3PDetails_p1.h
Tau1P3PDetails_p1::m_etChrgEM01Trk
std ::vector< float > m_etChrgEM01Trk
Definition: Tau1P3PDetails_p1.h:62
Analysis::Tau1P3PDetails::setETResNeuEM
void setETResNeuEM(double etResNeuEM)
Definition: Tau1P3PDetails.h:589
Analysis::Tau1P3PDetails::setETChrgEM01Trk
void setETChrgEM01Trk(unsigned tr, double etChrgEM01Trk)
Definition: Tau1P3PDetails.h:603
Tau1P3PDetails.h
Tau1P3PDetails_p1::m_massTrk3P
float m_massTrk3P
Definition: Tau1P3PDetails_p1.h:47
Tau1P3PDetails_p1::m_etChrgEM
float m_etChrgEM
Definition: Tau1P3PDetails_p1.h:52
Tau1P3PDetails_p1::m_nAssocTracksIsol
int m_nAssocTracksIsol
Definition: Tau1P3PDetails_p1.h:45
TPPolyCnvBase
Definition: TPConverter.h:674
Analysis::Tau1P3PDetails::setRWidth2Trk3P
void setRWidth2Trk3P(double rWidth2Trk3P)
Definition: Tau1P3PDetails.h:479
Analysis::Tau1P3PDetails::setETIsolEM
void setETIsolEM(double etIsolEM)
Definition: Tau1P3PDetails.h:429
Analysis::Tau1P3PDetails::setETHadAtEMScale
void setETHadAtEMScale(double etHadAtEMScale)
Definition: Tau1P3PDetails.h:539
Tau1P3PDetails_p1::m_sumEM
HepLorentzVector_p1 m_sumEM
Definition: Tau1P3PDetails_p1.h:64
Analysis::Tau1P3PDetails::setEtIsolFrac
void setEtIsolFrac(double etIsolFrac)
Definition: Tau1P3PDetails.h:519
Tau1P3PDetails_p1::m_rWidth2Trk3P
float m_rWidth2Trk3P
Definition: Tau1P3PDetails_p1.h:48
Tau1P3PDetails_p1::m_etChrgHADoverPttot
float m_etChrgHADoverPttot
Definition: Tau1P3PDetails_p1.h:57
Tau1P3PDetails_p1::m_z0SinThetaSig
float m_z0SinThetaSig
Definition: Tau1P3PDetails_p1.h:56
RecVertexCnv_p1.h
lumiFormat.i
int i
Definition: lumiFormat.py:85
Tau1P3PDetails_p1::m_etEMAtEMScale
float m_etEMAtEMScale
Definition: Tau1P3PDetails_p1.h:50
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
Analysis::Tau1P3PDetails::setETEMCL
void setETEMCL(double etEMCL)
Definition: Tau1P3PDetails.h:559
Tau1P3PDetails_p1::m_etEMCL
float m_etEMCL
Definition: Tau1P3PDetails_p1.h:51
Tau1P3PDetails_p1::m_pi0
ElementLinkIntVector_p1 m_pi0
Definition: Tau1P3PDetails_p1.h:66
Analysis::Tau1P3PDetails::setHadronicLeak
void setHadronicLeak(double HadronicLeak)
Definition: Tau1P3PDetails.h:738
Analysis::Tau1P3PDetails::setIsolationFraction
void setIsolationFraction(double isolationFraction)
Definition: Tau1P3PDetails.h:379
Tau1P3PDetails_p1::m_etIsolHAD
float m_etIsolHAD
Definition: Tau1P3PDetails_p1.h:41
Tau1P3PDetails_p1::m_etHadAtEMScale
float m_etHadAtEMScale
Definition: Tau1P3PDetails_p1.h:49
Analysis::Tau1P3PDetails::pi0LinkVector
ElementLinkVector< CaloClusterContainer > & pi0LinkVector()
Get Pi0 Link.
Definition: Tau1P3PDetails.h:666
Analysis::Tau1P3PDetails::setETChrgHAD
void setETChrgHAD(double etChrgHAD)
Definition: Tau1P3PDetails.h:419
Tau1P3PDetails_p1
DEPRECATED - Do not use except for backwards compatibility Persistent Tau1P3PDetails class.
Definition: Tau1P3PDetails_p1.h:30
Analysis::Tau1P3PDetails::setSignD0Trk3P
void setSignD0Trk3P(double signD0Trk3P)
Definition: Tau1P3PDetails.h:489
Tau1P3PDetails_p1::m_numStripCells
int m_numStripCells
Definition: Tau1P3PDetails_p1.h:37
Analysis::Tau1P3PDetails::setSumEM
void setSumEM(const CLHEP::HepLorentzVector &sumEM)
Definition: Tau1P3PDetails.h:389
Tau1P3PDetailsCnv_p1::~Tau1P3PDetailsCnv_p1
virtual ~Tau1P3PDetailsCnv_p1()
Destructor.
Definition: Tau1P3PDetailsCnv_p1.cxx:45
Tau1P3PDetails_p1::m_signD0Trk3P
float m_signD0Trk3P
Definition: Tau1P3PDetails_p1.h:46
Analysis::Tau1P3PDetails::setEMRadius
void setEMRadius(double EMRadius)
Definition: Tau1P3PDetails.h:369
ElementLinkCnv_p1
Definition: ElementLinkCnv_p1.h:27
Analysis::Tau1P3PDetails::cellEM012ClusterLink
const ElementLink< CaloClusterContainer > cellEM012ClusterLink() const
ElementLinks to CaloClusters
Definition: Tau1P3PDetails.h:699
Tau1P3PDetails_p1::m_etIsolEM
float m_etIsolEM
Definition: Tau1P3PDetails_p1.h:42
Tau1P3PDetailsCnv_p1::Tau1P3PDetailsCnv_p1
Tau1P3PDetailsCnv_p1()
Default constructor.
Definition: Tau1P3PDetailsCnv_p1.cxx:36
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
Tau1P3PDetails_p1::m_secVertex
TPObjRef m_secVertex
Definition: Tau1P3PDetails_p1.h:65
ElementLinkCnv_p1::persToTrans
void persToTrans(const PersLink_t &pers, Link_t &trans, MsgStream &log) const
Tau1P3PDetails_p1::m_etIsolFrac
float m_etIsolFrac
Definition: Tau1P3PDetails_p1.h:58
HepLorentzVectorCnv_p1::persToTrans
virtual void persToTrans(const HepLorentzVector_p1 *persObj, CLHEP::HepLorentzVector *transObj, MsgStream &log) const override
Method creating the transient representation of HepLorentzVector from its persistent representation H...
Definition: HepLorentzVectorCnv_p1.cxx:26
Analysis::Tau1P3PDetails::setETNeuEM
void setETNeuEM(double etNeuEM)
Definition: Tau1P3PDetails.h:579
Analysis::Tau1P3PDetails::setNAssocTracksCore
void setNAssocTracksCore(int nAssocTracksCore)
Definition: Tau1P3PDetails.h:449
Tau1P3PDetails_p1::m_etEflow
float m_etEflow
Definition: Tau1P3PDetails_p1.h:68
Analysis::Tau1P3PDetails::setETeflow
void setETeflow(double etEflow)
Definition: Tau1P3PDetails.h:529
Tau1P3PDetails_p1::m_hadronicLeak
float m_hadronicLeak
Definition: Tau1P3PDetails_p1.h:60
Analysis::Tau1P3PDetails
DEPRECATED DO NOT USE - MIGRATE TO TauCommonDetails Basic details class containing information produc...
Definition: Tau1P3PDetails.h:41
Analysis::Tau1P3PDetails::setStripWidth2
void setStripWidth2(double stripWidth2)
Definition: Tau1P3PDetails.h:399
Tau1P3PDetails_p1::m_trFlightPathSig
float m_trFlightPathSig
Definition: Tau1P3PDetails_p1.h:55
Tau1P3PDetails_p1::m_emRadius
float m_emRadius
Definition: Tau1P3PDetails_p1.h:39
Tau1P3PDetails_p1::m_nAssocTracksCore
int m_nAssocTracksCore
Definition: Tau1P3PDetails_p1.h:44
Analysis::Tau1P3PDetails::setSumEtCellsLArOverLeadTrackPt
void setSumEtCellsLArOverLeadTrackPt(double SumEtCellsLArOverLeadTrackPt)
Definition: Tau1P3PDetails.h:728
Analysis::Tau1P3PDetails::setMassTrk3P
void setMassTrk3P(double massTrk3P)
Definition: Tau1P3PDetails.h:469
Analysis::Tau1P3PDetails::resizeETChrgEM01Trk
void resizeETChrgEM01Trk(size_t sz)
Definition: Tau1P3PDetails.h:609
Analysis::Tau1P3PDetails::setETChrgEM
void setETChrgEM(double etChrgEM)
Definition: Tau1P3PDetails.h:569
Tau1P3PDetailsCnv_p1::transToPers
virtual void transToPers(const Analysis::Tau1P3PDetails *trans, Tau1P3PDetails_p1 *pers, MsgStream &msg)
DEPRECATED DO NOT USE!
Definition: Tau1P3PDetailsCnv_p1.cxx:104
Analysis::Tau1P3PDetails::setSecVertex
void setSecVertex(const Trk ::RecVertex *secVertex)
Secondary vertex reconstructed with Vtx::FastFit tool for taus with at least 2 associated tracks.
Definition: Tau1P3PDetails.h:647
HepLorentzVectorCnv_p1
Definition: HepLorentzVectorCnv_p1.h:34
python.AutoConfigFlags.msg
msg
Definition: AutoConfigFlags.py:7
Tau1P3PDetails_p1::m_etResNeuEM
float m_etResNeuEM
Definition: Tau1P3PDetails_p1.h:54
Analysis::Tau1P3PDetails::setTrFlightPathSig
void setTrFlightPathSig(double trFlightPathSig)
Definition: Tau1P3PDetails.h:722
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
Tau1P3PDetailsCnv_p1::persToTrans
virtual void persToTrans(const Tau1P3PDetails_p1 *pers, Analysis::Tau1P3PDetails *trans, MsgStream &msg)
Fills transient Tau1P3PDetails instance from a transient tau1P3PDetails instance.
Definition: Tau1P3PDetailsCnv_p1.cxx:49