ATLAS Offline Software
TauCommonDetailsCnv_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 
27 //Pre allocate converters
28 static const HepLorentzVectorCnv_p1 hepLorentzVectorCnv;
30 tracksCnv;
32 conversionTracksCnv;
35 clusterVectCnv;
36 
38  : T_AthenaPoolTPPolyCnvBase<Analysis::TauDetails,
39  Analysis::TauCommonDetails,
41  m_recVertexCnv(0)
42 {
43 
44 }
45 
47 {
48 
49 }
50 
52  const TauCommonDetails_p1 *pers,
54  MsgStream &msg )
55 {
59  trans->setLeadTrkPt (pers->m_leadTrkPt);
60  trans->setLeadLooseTrkPt (pers->m_leadLooseTrkPt);
61  trans->setIpSigLeadTrk (pers->m_ipSigLeadTrk);
63  tracksCnv.persToTrans(
64  &pers->m_looseTrk,
65  &trans->looseTrk(),
66  msg );
67  conversionTracksCnv.persToTrans(
68  &pers->m_looseConvTrk,
69  &trans->looseConvTrk(),
70  msg );
71  trans->setChrgLooseTrk (pers->m_chrgLooseTrk);
72  clusterCnv.persToTrans(
73  &pers->m_cellEM012Cluster,
74  &trans->cellEM012ClusterLink(),
75  msg );
76  CLHEP::HepLorentzVector sumPi0Vec;
77  hepLorentzVectorCnv.persToTrans(
78  &pers->m_sumPi0Vec,
79  &sumPi0Vec,
80  msg);
81  trans->setSumPi0Vec (sumPi0Vec);
82  trans->setMassTrkSys (pers->m_massTrkSys);
83  trans->setTrkWidth2 (pers->m_trkWidth2);
87  pers->m_secVtx,
88  msg));
89  trans->setEtEflow (pers->m_etEflow);
90  trans->setMEflow (pers->m_mEflow);
91  clusterVectCnv.persToTrans(
92  &pers->m_pi0,
93  &trans->pi0LinkVec(),
94  msg );
95  trans->setEle_E237E277 (pers->m_Ele_E237E277);
98  trans->setNumCells (pers->m_numCells);
101  trans->setTopoInvMass (pers->m_topoInvMass);
102  trans->setEffTopoInvMass (pers->m_effTopoInvMass);
103  trans->setTopoMeanDeltaR (pers->m_topoMeanDeltaR);
113  trans->setSeedCalo_nStrip (pers->m_seedCalo_nStrip);
116  trans->setSeedCalo_eta (pers->m_seedCalo_eta);
117  trans->setSeedCalo_phi (pers->m_seedCalo_phi);
127  trans->setSeedTrk_etEMCL (pers->m_seedTrk_etEMCL);
129  trans->setSeedTrk_etNeuEM (pers->m_seedTrk_etNeuEM);
132 
134  pers->m_seedTrk_etChrgEM01Trk.end());
136  pers->m_seedTrk_etResChrgEMTrk.end());
137 
142  trans->setSeedTrk_nStrip (pers->m_seedTrk_nStrip);
148 }
149 
151  const Analysis::TauCommonDetails *trans,
152  TauCommonDetails_p1 *pers,
153  MsgStream &msg )
154 {
156  pers->m_etOverPtLeadTrk=trans->etOverPtLeadTrk();
158  pers->m_leadTrkPt=trans->leadTrkPt();
159  pers->m_leadLooseTrkPt=trans->leadLooseTrkPt();
160  pers->m_ipSigLeadTrk=trans->ipSigLeadTrk();
161  pers->m_ipSigLeadLooseTrk=trans->ipSigLeadLooseTrk();
162  tracksCnv.transToPers(
163  &trans->looseTrk(),
164  &pers->m_looseTrk,
165  msg );
166  conversionTracksCnv.transToPers(
167  &trans->looseConvTrk(),
168  &pers->m_looseConvTrk,
169  msg );
170  pers->m_chrgLooseTrk=trans->chrgLooseTrk();
171  clusterCnv.transToPers(
172  &trans->cellEM012ClusterLink(),
173  &pers->m_cellEM012Cluster,
174  msg );
175  hepLorentzVectorCnv.transToPers(
176  &trans->sumPi0Vec(),
177  &pers->m_sumPi0Vec,
178  msg );
179  pers->m_massTrkSys=trans->massTrkSys();
180  pers->m_trkWidth2=trans->trkWidth2();
181  pers->m_trFlightPathSig=trans->trFlightPathSig();
182  pers->m_secVtx = toPersistent(
183  &m_recVertexCnv,
184  trans->secVtx(),
185  msg);
186  pers->m_etEflow=trans->etEflow();
187  pers->m_mEflow=trans->mEflow();
188  clusterVectCnv.transToPers(
189  &trans->pi0LinkVec(),
190  &pers->m_pi0,
191  msg );
192  pers->m_Ele_E237E277=trans->ele_E237E277();
195  pers->m_numCells=trans->numCells();
196  pers->m_numTopoClusters=trans->numTopoClusters();
198  pers->m_topoInvMass=trans->topoInvMass();
199  pers->m_effTopoInvMass=trans->effTopoInvMass();
200  pers->m_topoMeanDeltaR=trans->topoMeanDeltaR();
201  pers->m_effTopoMeanDeltaR=trans->effTopoMeanDeltaR();
203  pers->m_seedCalo_EMRadius=trans->seedCalo_EMRadius();
207  pers->m_seedCalo_isolFrac=trans->seedCalo_isolFrac();
208  pers->m_seedCalo_centFrac=trans->seedCalo_centFrac();
210  pers->m_seedCalo_nStrip=trans->seedCalo_nStrip();
213  pers->m_seedCalo_eta=trans->seedCalo_eta();
214  pers->m_seedCalo_phi=trans->seedCalo_phi();
217  pers->m_seedTrk_EMRadius=trans->seedTrk_EMRadius();
218  pers->m_seedTrk_isolFrac=trans->seedTrk_isolFrac();
224  pers->m_seedTrk_etEMCL=trans->seedTrk_etEMCL();
225  pers->m_seedTrk_etChrgEM=trans->seedTrk_etChrgEM();
226  pers->m_seedTrk_etNeuEM=trans->seedTrk_etNeuEM();
228  pers->m_seedTrk_hadLeakEt=trans->seedTrk_hadLeakEt();
229 
230  AssignVector(
232  trans->seedTrk_etChrgEM01TrkVector());
233  AssignVector(
235  trans->seedTrk_etResChrgEMTrkVector() );
236 
241  pers->m_seedTrk_nStrip=trans->seedTrk_nStrip();
242  pers->m_seedTrk_etChrgHad=trans->seedTrk_etChrgHad();
244  pers->m_seedTrk_nIsolTrk=trans->seedTrk_nIsolTrk();
245  pers->m_seedTrk_etIsolEM=trans->seedTrk_etIsolEM();
246  pers->m_seedTrk_etIsolHad=trans->seedTrk_etIsolHad();
247 }
Analysis::TauCommonDetails::seedCalo_etHadCalib
double seedCalo_etHadCalib() const
Get calibrated hadronic transverse energy.
Analysis::TauCommonDetails::seedTrk_etChrgHad
double seedTrk_etChrgHad() const
Get charged E_T in hadronic calorimeter.
Analysis::TauCommonDetails::cellEM012ClusterLink
const ElementLink< CaloClusterContainer > & cellEM012ClusterLink() const
Get ElementLink to EM calorimeter cell cluster (const)
ElementLinkCnv_p1.h
This file contains the class definition for the ElementLinkCnv_p1 class.
Analysis::TauCommonDetails::setSeedTrk_nIsolTrk
void setSeedTrk_nIsolTrk(int n)
Set number of tracks.
Analysis::TauCommonDetails::effTopoMeanDeltaR
double effTopoMeanDeltaR() const
get mean distance to leading topocluster for effective topoclusters of jet associated to tau candidat...
HepLorentzVector_p1.h
TauCommonDetails_p1::m_seedCalo_eta
float m_seedCalo_eta
eta of TauJet calculated from calorimeter
Definition: TauCommonDetails_p1.h:147
TauCommonDetails_p1::m_mEflow
float m_mEflow
mass from energy flow
Definition: TauCommonDetails_p1.h:99
Analysis::TauCommonDetails::setSeedTrk_nStrip
void setSeedTrk_nStrip(int nStrip)
Set the number of strip cells.
TauCommonDetails_p1::m_seedTrk_etIsolEM
float m_seedTrk_etIsolEM
Transverse energy in EM calo (at EM Scale) in 0.2 < dR < 0.4.
Definition: TauCommonDetails_p1.h:219
TauCommonDetailsCnv_p1::transToPers
virtual void transToPers(const Analysis::TauCommonDetails *trans, TauCommonDetails_p1 *pers, MsgStream &msg)
Fills a persistent object from a transient object
Definition: TauCommonDetailsCnv_p1.cxx:150
Analysis::TauCommonDetails::setEle_E237E277
void setEle_E237E277(double value)
set ratio of energy in window of 3X7 cells over 7X7 cells in second layer of ECAL
Analysis::TauCommonDetails::setSeedCalo_etHadCalib
void setSeedCalo_etHadCalib(double etHadCalib)
Set calibrated hadronic transverse energy.
Analysis::TauCommonDetails::seedTrk_etIsolHad
double seedTrk_etIsolHad() const
Get transverse energy in Had calo.
TauCommonDetails_p1::m_sumPi0Vec
HepLorentzVector_p1 m_sumPi0Vec
Pi0 energy sum vector.
Definition: TauCommonDetails_p1.h:81
TauCommonDetails_p1::m_seedTrk_etResNeuEM
float m_seedTrk_etResNeuEM
Correction term for eflow calculations.
Definition: TauCommonDetails_p1.h:186
TauCommonDetails_p1::m_seedTrk_etNeuEM
float m_seedTrk_etNeuEM
Transverse energy of EM cells (at EM scale), within "core" cone around tau1P3P axis after subtraction...
Definition: TauCommonDetails_p1.h:183
Analysis::TauCommonDetails::ipSigLeadLooseTrk
double ipSigLeadLooseTrk() const
Get impact parameter significance.
Analysis::TauCommonDetails::setIpSigLeadLooseTrk
void setIpSigLeadLooseTrk(double significance)
Set impact parameter significance.
Analysis::TauCommonDetails::looseTrk
const Rec::TrackParticle * looseTrk(unsigned int i) const
Get loose track.
TauCommonDetails_p1::m_seedTrk_etChrgHad
float m_seedTrk_etChrgHad
Charged transverse energy in narrow window around track(s) in hadronic calorimeter.
Definition: TauCommonDetails_p1.h:210
TauCommonDetails_p1::m_seedCalo_etEMCalib
float m_seedCalo_etEMCalib
Calibrated EM transverse energy.
Definition: TauCommonDetails_p1.h:141
TauCommonDetails_p1::m_seedTrk_etHadAtEMScale
float m_seedTrk_etHadAtEMScale
Hadronic E_T at EM scale.
Definition: TauCommonDetails_p1.h:171
Analysis::TauCommonDetails::setSeedTrk_etHadAtEMScale
void setSeedTrk_etHadAtEMScale(double et)
Set hadronic E_T at EM scale.
TauCommonDetails_p1::m_leadLooseTrkPt
float m_leadLooseTrkPt
p_T of leading loose track - for Trigger
Definition: TauCommonDetails_p1.h:60
Analysis::TauCommonDetails::setSeedCalo_stripWidth2
void setSeedCalo_stripWidth2(double stripWidth2)
Set strip width ^2.
TauCommonDetails_p1::m_seedCalo_nIsolLooseTrk
float m_seedCalo_nIsolLooseTrk
Number of isolated tracks.
Definition: TauCommonDetails_p1.h:114
TauCommonDetails_p1::m_looseConvTrk
ElementLinkIntVector_p1 m_looseConvTrk
Loose Conversion tracks.
Definition: TauCommonDetails_p1.h:72
Analysis::TauCommonDetails::ele_E237E277
double ele_E237E277() const
name accessors for electron LLH variables
Analysis::TauCommonDetails::topoInvMass
double topoInvMass() const
get invariant mass from topoclusters of jet associated to tau candidate
TauCommonDetails_p1::m_seedTrk_etEMCL
float m_seedTrk_etEMCL
Transverse energy of cells classified as "pure electromagnetic" seeded by egamma or topo cluster (ste...
Definition: TauCommonDetails_p1.h:177
Analysis::TauCommonDetails::leadLooseTrkPt
double leadLooseTrkPt() const
Get p_T of leading loose track.
Analysis::TauCommonDetails::ipZ0SinThetaSigLeadTrk
double ipZ0SinThetaSigLeadTrk() const
Get significance of z0SinTheta.
Analysis::TauCommonDetails::setLeadTrkPt
void setLeadTrkPt(double pt)
Set leading track p_T.
Analysis::TauCommonDetails::looseConvTrk
const Rec::TrackParticle * looseConvTrk(unsigned int i) const
Get loose track.
Analysis::TauCommonDetails::pi0LinkVec
const ElementLinkVector< CaloClusterContainer > & pi0LinkVec() const
Get pi0 cluster vector (const)
TauCommonDetails_p1::m_leadTrkPt
float m_leadTrkPt
p_T of leading loose track - for Trigger
Definition: TauCommonDetails_p1.h:57
ElementLinkVectorCnv_p1
Definition: ElementLinkVectorCnv_p1.h:28
TauCommonDetails_p1::m_seedTrk_stripWidth2
float m_seedTrk_stripWidth2
Strip width squared.
Definition: TauCommonDetails_p1.h:204
TauCommonDetails_p1::m_etOverPtLeadTrk
float m_etOverPtLeadTrk
Ratio of E_T of TauCandidate to p_T of leading track.
Definition: TauCommonDetails_p1.h:51
Analysis::TauCommonDetails::setSeedCalo_trkAvgDist
void setSeedCalo_trkAvgDist(double trkAvgDist)
Set average track distance to calorimeter seed.
Analysis::TauCommonDetails::effTopoInvMass
double effTopoInvMass() const
get invariant mass from effective topoclusters of jet associated to tau candidate
Analysis::TauCommonDetails::setSeedTrk_EMRadius
void setSeedTrk_EMRadius(double EMRadius)
Set EM radius.
Analysis::TauCommonDetails::seedCalo_nStrip
int seedCalo_nStrip() const
Get number of strips.
Analysis::TauCommonDetails::setSeedCalo_nIsolLooseTrk
void setSeedCalo_nIsolLooseTrk(double nIsolTRk)
Set number of isolated tracks.
Analysis::TauCommonDetails::setSeedCalo_centFrac
void setSeedCalo_centFrac(double centFrac)
Set centrality fraction.
Analysis::TauCommonDetails::seedCalo_etHadAtEMScale
double seedCalo_etHadAtEMScale() const
Get Hadronic energy at EM scale.
TauCommonDetails_p1::m_Ele_E237E277
float m_Ele_E237E277
Members for electron LLH calculation.
Definition: TauCommonDetails_p1.h:105
Analysis::TauCommonDetails::setSeedCalo_etEMAtEMScale
void setSeedCalo_etEMAtEMScale(double energy)
Set EM energy at EM scale.
Analysis::TauCommonDetails::setSeedTrk_hadLeakEt
void setSeedTrk_hadLeakEt(double et)
Set hadronic leakage in Et summed over cells.
Analysis::TauCommonDetails::setSeedCalo_hadRadius
void setSeedCalo_hadRadius(double hadRadius)
Set hadron calorimeter radius.
TauCommonDetails_p1::m_seedTrk_secMaxStripEt
float m_seedTrk_secMaxStripEt
Secondary maximum.
Definition: TauCommonDetails_p1.h:201
Analysis::TauCommonDetails::setTrFlightPathSig
void setTrFlightPathSig(double significance)
Set Transverse flight path significance.
TauCommonDetails_p1::m_seedTrk_sumEMCellEtOverLeadTrkPt
float m_seedTrk_sumEMCellEtOverLeadTrkPt
Ratio of sum Et of LAr Cells to the pT of leading track.
Definition: TauCommonDetails_p1.h:198
Analysis::TauCommonDetails::seedTrk_etChrgEM01TrkVector
const std::vector< double > & seedTrk_etChrgEM01TrkVector() const
ElementLinkVectorCnv_p1.h
This file contains the class definition for the ElementLinkVectorCnv_p1 class. NOTE: it should be inc...
TauCommonDetails_p1::m_seedCalo_isolFrac
float m_seedCalo_isolFrac
Ratio of the uncalibrated transverse energy of cells within 0.1<dR<0.2 and cells within 0<dR<0....
Definition: TauCommonDetails_p1.h:129
Analysis::TauCommonDetails::setSeedCalo_trkRmsDist
void setSeedCalo_trkRmsDist(double trkRmsDist)
Set RMS of track distance to calorimeter seed.
Analysis::TauCommonDetails::seedCalo_centFrac
double seedCalo_centFrac() const
Get centrality fraction.
TauCommonDetailsCnv_p1::~TauCommonDetailsCnv_p1
virtual ~TauCommonDetailsCnv_p1()
Destructor.
Definition: TauCommonDetailsCnv_p1.cxx:46
Analysis::TauCommonDetails::seedTrk_isolFrac
double seedTrk_isolFrac() const
Get the isolation fraction.
Analysis::TauCommonDetails::setSeedTrk_etIsolEM
void setSeedTrk_etIsolEM(double etIsolEM)
Set transverse energy in EM calo.
Analysis::TauCommonDetails::seedTrk_etResNeuEM
double seedTrk_etResNeuEM() const
Get eflow correction term.
Analysis::TauCommonDetails::seedTrk_secMaxStripEt
double seedTrk_secMaxStripEt() const
Get hadronic leakage in Et summed over cells.
Analysis::TauCommonDetails::setSeedTrk_isolFracWide
void setSeedTrk_isolFracWide(double fraction)
Set wide solation fraction.
VectorUtils.h
ElementLinkVectorCnv_p1::persToTrans
void persToTrans(const PersLinkVect_t &pers, LinkVect_t &trans, MsgStream &log) const
Analysis::TauCommonDetails::setSeedTrk_etEMCL
void setSeedTrk_etEMCL(double et)
Set E_T of pure EM cells.
Analysis::TauCommonDetails::seedTrk_etNeuEM
double seedTrk_etNeuEM() const
Get E_T of neutral EM cells.
TauCommonDetails_p1::m_seedTrk_etResChrgEMTrk
std::vector< float > m_seedTrk_etResChrgEMTrk
Correction term for eflow calculations (evaluated for each track separately)
Definition: TauCommonDetails_p1.h:195
Analysis::TauCommonDetails::numEffTopoClusters
double numEffTopoClusters() const
get number of effective topocluster constituents of jet associated to tau candidate !...
TauCommonDetails_p1::m_seedCalo_nStrip
int m_seedCalo_nStrip
Number of Strip cells within dR < 0.4, with energy above specified threshold.
Definition: TauCommonDetails_p1.h:138
HepLorentzVectorCnv_p1.h
TauCommonDetails_p1::m_effTopoInvMass
float m_effTopoInvMass
Definition: TauCommonDetails_p1.h:233
Analysis::TauCommonDetails::setSeedCalo_isolFrac
void setSeedCalo_isolFrac(double isolFrac)
Set isolation fraction.
Analysis::TauCommonDetails::setEtEflow
void setEtEflow(double et)
Set E_T from energy flow.
TauCommonDetails_p1::m_secVtx
TPObjRef m_secVtx
Secondary vertex.
Definition: TauCommonDetails_p1.h:93
TauCommonDetails_p1::m_ipSigLeadTrk
float m_ipSigLeadTrk
Impact parameter significance of leading track.
Definition: TauCommonDetails_p1.h:63
Analysis::TauCommonDetails::ipSigLeadTrk
double ipSigLeadTrk() const
Get impact parameter significance.
Analysis::TauCommonDetails::setIpZ0SinThetaSigLeadTrk
void setIpZ0SinThetaSigLeadTrk(double significance)
Set significance of z0SinTheta.
Analysis::TauCommonDetails::seedTrk_etEMCL
double seedTrk_etEMCL() const
Get E_T of pure EM cells.
Analysis::TauCommonDetails::seedCalo_trkRmsDist
double seedCalo_trkRmsDist() const
Get the RMS of track distance to calorimeter seed.
TauCommonDetails_p1::m_etEflow
float m_etEflow
E_T from energy flow.
Definition: TauCommonDetails_p1.h:96
TauCommonDetails_p1::m_seedCalo_hadRadius
float m_seedCalo_hadRadius
Uncalibrated hadron calorimeter weighted radius.
Definition: TauCommonDetails_p1.h:120
Analysis::TauCommonDetails::setSeedTrk_etResNeuEM
void setSeedTrk_etResNeuEM(double et)
Set eflow correction term.
Analysis::TauCommonDetails::seedTrk_etIsolEM
double seedTrk_etIsolEM() const
Get transverse energy in EM calo.
Analysis::TauCommonDetails::setSeedTrk_secMaxStripEt
void setSeedTrk_secMaxStripEt(double et)
Set hadronic leakage in Et summed over cells.
TauCommonDetails_p1::m_pi0
ElementLinkIntVector_p1 m_pi0
Pi0 clusters.
Definition: TauCommonDetails_p1.h:102
Analysis::TauCommonDetails::etOverPtLeadTrk
double etOverPtLeadTrk() const
Get leading E_T to p_T ratio.
Analysis::TauCommonDetails::setSeedTrk_etChrgHadOverSumTrkPt
void setSeedTrk_etChrgHadOverSumTrkPt(double fraction)
Set E_T over p_T.
Analysis::TauCommonDetails::seedCalo_eta
double seedCalo_eta() const
Get eta of TauJet calculated from calorimeter.
Analysis::TauCommonDetails::setSecVtx
void setSecVtx(const Trk::RecVertex *secVtx)
Set secondary vertex.
TauCommonDetails_p1::m_seedTrk_nStrip
int m_seedTrk_nStrip
Number of strip cells.
Definition: TauCommonDetails_p1.h:207
TauCommonDetails_p1::m_numTopoClusters
unsigned int m_numTopoClusters
Definition: TauCommonDetails_p1.h:227
Analysis::TauCommonDetails
Basic detail class containing information for track and calo seeded tau reconstruction algorithms.
Definition: TauCommonDetails.h:38
Analysis::TauCommonDetails::setEffTopoMeanDeltaR
void setEffTopoMeanDeltaR(double value)
set mean distance to leading topocluster for effective topoclusters of jet associated to tau candidat...
TPPolyCnvBase
Definition: TPConverter.h:674
TauCommonDetails_p1::m_Ele_PresamplerFraction
float m_Ele_PresamplerFraction
fraction of EM cluster energy in presampler
Definition: TauCommonDetails_p1.h:108
Analysis::TauCommonDetails::setSeedTrk_etResChrgEMTrk
void setSeedTrk_etResChrgEMTrk(unsigned int i, double et)
Set correction term for eflow calculations per track.
TauCommonDetails_p1::m_looseTrk
ElementLinkIntVector_p1 m_looseTrk
Loose tracks.
Definition: TauCommonDetails_p1.h:69
Analysis::TauCommonDetails::seedTrk_nIsolTrk
int seedTrk_nIsolTrk() const
Get number of isolated tracks.
Analysis::TauCommonDetails::seedTrk_sumEMCellEtOverLeadTrkPt
double seedTrk_sumEMCellEtOverLeadTrkPt() const
Get ratio of LAr+EM E_T / leading track p_T.
Analysis::TauCommonDetails::chrgLooseTrk
double chrgLooseTrk() const
Get chrg of loose tracks.
Analysis::TauCommonDetails::seedTrk_nStrip
int seedTrk_nStrip() const
Get the number of strip cells.
Analysis::TauCommonDetails::seedCalo_EMRadius
double seedCalo_EMRadius() const
Get E_T radius.
TauCommonDetails_p1::m_seedTrk_nIsolTrk
int m_seedTrk_nIsolTrk
Associated, "not good" quality tracks in core region.
Definition: TauCommonDetails_p1.h:216
TauCommonDetails_p1::m_trkWidth2
float m_trkWidth2
Width of tracks momenta.
Definition: TauCommonDetails_p1.h:87
TauCommonDetails_p1::m_numCells
unsigned int m_numCells
Definition: TauCommonDetails_p1.h:225
Analysis::TauCommonDetails::seedTrk_hadLeakEt
double seedTrk_hadLeakEt() const
Get hadronic leakage in Et summed over cells.
Analysis::TauCommonDetails::mEflow
double mEflow() const
Get mass from energy flow.
TauCommonDetailsCnv_p1::m_recVertexCnv
RecVertexCnv_p1 * m_recVertexCnv
Reconstruction vertex converter.
Definition: TauCommonDetailsCnv_p1.h:66
Analysis::TauCommonDetails::setSeedTrk_etEMAtEMScale
void setSeedTrk_etEMAtEMScale(double et)
Set hadronic E_T at EM scale.
TauCommonDetails_p1
Persistent class for Analysis::TauCommonDetails.
Definition: TauCommonDetails_p1.h:33
TauCommonDetails_p1::m_seedTrk_etEMAtEMScale
float m_seedTrk_etEMAtEMScale
EM E_T at EM scale.
Definition: TauCommonDetails_p1.h:174
RecVertexCnv_p1.h
Analysis::TauCommonDetails::seedCalo_hadRadius
double seedCalo_hadRadius() const
Get hadron calorimeter radius.
ElementLinkCnv_p1::transToPers
void transToPers(const Link_t &trans, PersLink_t &pers, const SG::ThinningCache *cache, MsgStream &log) const
TauCommonDetailsCnv_p2::m_recVertexCnv
RecVertexCnv_p1 * m_recVertexCnv
Reconstruction vertex converter.
Definition: TauCommonDetailsCnv_p2.h:58
Analysis::TauCommonDetails::setNumTopoClusters
void setNumTopoClusters(unsigned int value)
set number of topocluster constituents of jet associated to tau candidate
Analysis::TauCommonDetails::sumPi0Vec
const CLHEP::HepLorentzVector & sumPi0Vec() const
Get the Pi0 energy sum vector.
TauCommonDetails_p1::m_ipZ0SinThetaSigLeadTrk
float m_ipZ0SinThetaSigLeadTrk
Significance of z0 sin(Theta)
Definition: TauCommonDetails_p1.h:48
Analysis::TauCommonDetails::setNumEffTopoClusters
void setNumEffTopoClusters(double value)
set number of effective topocluster constituents of jet associated to tau candidate !...
Analysis::TauCommonDetails::setChrgLooseTrk
void setChrgLooseTrk(double charge)
Set chrg of loose tracks.
Analysis::TauCommonDetails::setIpSigLeadTrk
void setIpSigLeadTrk(double significance)
Set impact parameter significance.
TauCommonDetails_p1::m_seedCalo_etEMAtEMScale
float m_seedCalo_etEMAtEMScale
Uncalibrated Sum of Cell Transverse energy in the Presampler + EM1 + EM2 within dR < 0....
Definition: TauCommonDetails_p1.h:123
Analysis::TauCommonDetails::setSeedTrk_nOtherCoreTrk
void setSeedTrk_nOtherCoreTrk(int n)
Set number of other tracks.
Analysis::TauCommonDetails::seedCalo_stripWidth2
double seedCalo_stripWidth2() const
Get strip width ^2.
Analysis::TauCommonDetails::secVtx
const Trk::RecVertex * secVtx() const
Get secondary vertex.
Analysis::TauCommonDetails::setSeedCalo_EMRadius
void setSeedCalo_EMRadius(double EMRadius)
Set E_T radius.
Analysis::TauCommonDetails::setSeedCalo_etEMCalib
void setSeedCalo_etEMCalib(double etEMCalib)
Set calibrated EM transverse energy.
TauCommonDetailsCnv_p1.h
TauCommonDetails_p1::m_topoMeanDeltaR
float m_topoMeanDeltaR
Definition: TauCommonDetails_p1.h:235
TauCommonDetailsCnv_p1::persToTrans
virtual void persToTrans(const TauCommonDetails_p1 *pers, Analysis::TauCommonDetails *trans, MsgStream &msg)
Fills a transient object from a persistent object.
Definition: TauCommonDetailsCnv_p1.cxx:51
Analysis::TauCommonDetails::seedTrk_nOtherCoreTrk
int seedTrk_nOtherCoreTrk() const
Get number of other tracks.
TauCommonDetails_p1::m_seedTrk_etIsolHad
float m_seedTrk_etIsolHad
Transverse energy in HAD calo (at EM Scale) in 0.2 < dR < 0.4.
Definition: TauCommonDetails_p1.h:222
Analysis::TauCommonDetails::numCells
unsigned int numCells() const
get number of cells associated to tau candidate
Analysis::TauCommonDetails::setMassTrkSys
void setMassTrkSys(double mass)
Set track system invariant mass.
HepLorentzVectorCnv_p1::transToPers
virtual void transToPers(const CLHEP::HepLorentzVector *transObj, HepLorentzVector_p1 *persObj, MsgStream &log) const override
Method creating the persistent representation HepLorentzVector_p1 from its transient representation H...
Definition: HepLorentzVectorCnv_p1.cxx:35
AssignVector
void AssignVector(std ::vector< cl1 > &target, const std ::vector< cl2 > &source)
Definition: RecTPCnv/RecTPCnv/VectorUtils.h:18
TauCommonDetails_p1::m_topoInvMass
float m_topoInvMass
Definition: TauCommonDetails_p1.h:231
TauCommonDetails_p1::m_seedCalo_etHadAtEMScale
float m_seedCalo_etHadAtEMScale
Uncalibrated Sum of Cell Transverse energy in the Presampler + EM1 + EM2 within dR < 0....
Definition: TauCommonDetails_p1.h:126
TauCommonDetails_p1::m_massTrkSys
float m_massTrkSys
Definition: TauCommonDetails_p1.h:84
TauCommonDetails_p1::m_effTopoMeanDeltaR
float m_effTopoMeanDeltaR
Definition: TauCommonDetails_p1.h:237
TauCommonDetails_p1::m_seedCalo_phi
float m_seedCalo_phi
phi of TauJet calculated from calorimeter
Definition: TauCommonDetails_p1.h:150
Analysis::TauCommonDetails::setSeedCalo_phi
void setSeedCalo_phi(double phi)
Set phi of TauJet calculated from calorimeter.
Analysis::TauCommonDetails::setTrkWidth2
void setTrkWidth2(double trkWidth2)
Set track width ^2.
Analysis::TauCommonDetails::seedCalo_nIsolLooseTrk
double seedCalo_nIsolLooseTrk() const
Get number of isolated tracks.
Analysis::TauCommonDetails::seedCalo_etEMAtEMScale
double seedCalo_etEMAtEMScale() const
Get EM energy at EM scale.
TauCommonDetails_p1::m_seedTrk_etChrgHadOverSumTrkPt
float m_seedTrk_etChrgHadOverSumTrkPt
charged hadronic transverse energy over sum of transverse momenta of all tracks
Definition: TauCommonDetails_p1.h:165
Analysis::TauCommonDetails::trFlightPathSig
double trFlightPathSig() const
Get Transverse flight path significance.
Analysis::TauCommonDetails::seedTrk_etEMAtEMScale
double seedTrk_etEMAtEMScale() const
Get hadronic E_T at EM scale.
Analysis::TauCommonDetails::seedTrk_EMRadius
double seedTrk_EMRadius() const
Get EM radius.
ElementLinkCnv_p1
Definition: ElementLinkCnv_p1.h:27
Analysis::TauCommonDetails::seedTrk_etResChrgEMTrkVector
const std::vector< double > & seedTrk_etResChrgEMTrkVector() const
TauCommonDetails_p1::m_seedTrk_isolFrac
float m_seedTrk_isolFrac
Isolation fraction.
Definition: TauCommonDetails_p1.h:162
ITPConverterFor< TRANS_BASE >::toPersistent
TPObjRef toPersistent(CNV **cnv, const typename CNV::TransBase_t *transObj, MsgStream &log) const
Persistify an object and store the persistent represenation in the storage vector of the top-level pe...
Definition: TPConverter.h:119
Analysis::TauCommonDetails::setSeedTrk_isolFrac
void setSeedTrk_isolFrac(double isolFrac)
Set the isolation fraction.
Analysis::TauCommonDetails::setEffTopoInvMass
void setEffTopoInvMass(double value)
set invariant mass from effective topoclusters of jet associated to tau candidate
Analysis
The namespace of all packages in PhysicsAnalysis/JetTagging.
Definition: BTaggingCnvAlg.h:20
Analysis::TauCommonDetails::setSeedCalo_eta
void setSeedCalo_eta(double eta)
Set eta of TauJet calculated from calorimeter.
Analysis::TauCommonDetails::etEflow
double etEflow() const
Get E_T from energy flow.
Analysis::TauCommonDetails::setNumCells
void setNumCells(unsigned int value)
set number of cells associated to tau candidate
Analysis::TauCommonDetails::setLeadLooseTrkPt
void setLeadLooseTrkPt(double pT)
Set p_T of leading loose track.
Analysis::TauCommonDetails::setSeedTrk_stripWidth2
void setSeedTrk_stripWidth2(double stripWidth2)
Set the strip width ^2.
ElementLinkCnv_p1::persToTrans
void persToTrans(const PersLink_t &pers, Link_t &trans, MsgStream &log) const
TauCommonDetails_p1::m_seedTrk_isolFracWide
float m_seedTrk_isolFracWide
Ratio of Transverse Energy in 0.2 < dr < 0.4 to total transverse energy at EM scale.
Definition: TauCommonDetails_p1.h:168
Analysis::TauCommonDetails::setSeedTrk_etIsolHad
void setSeedTrk_etIsolHad(double etIsolHad)
Set transverse energy in EM calo.
Analysis::TauCommonDetails::seedTrk_stripWidth2
double seedTrk_stripWidth2() const
Get the strip width ^2.
Analysis::TauCommonDetails::setEle_ECALFirstFraction
void setEle_ECALFirstFraction(double value)
set fraction of EM cluster energy in first layer of ECAL
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::TauCommonDetails::setSeedTrk_etChrgEM01Trk
void setSeedTrk_etChrgEM01Trk(unsigned int i, double et)
Set transverse energy around track.
Analysis::TauCommonDetails::setTopoInvMass
void setTopoInvMass(double value)
set invariant mass from topoclusters of jet associated to tau candidate
TauCommonDetails_p1::m_seedCalo_stripWidth2
float m_seedCalo_stripWidth2
Uncalibrated transverse energy weighted width in the strip layer within dR < 0.4.
Definition: TauCommonDetails_p1.h:135
TauCommonDetails.h
Analysis::TauCommonDetails::seedCalo_phi
double seedCalo_phi() const
Get phi of TauJet calculated from calorimeter.
TauCommonDetails_p1::m_Ele_ECALFirstFraction
float m_Ele_ECALFirstFraction
fraction of EM cluster energy in first layer of ECAL
Definition: TauCommonDetails_p1.h:111
TauCommonDetails_p1::m_trFlightPathSig
float m_trFlightPathSig
Transverse flight path significance for taus with at least 2 associated tracks.
Definition: TauCommonDetails_p1.h:90
Analysis::TauCommonDetails::setEtOverPtLeadTrk
void setEtOverPtLeadTrk(double ratio)
Set leading E_T to p_T ratio.
TauCommonDetails_p1::m_seedCalo_trkAvgDist
float m_seedCalo_trkAvgDist
average track distance from calorimeter seed
Definition: TauCommonDetails_p1.h:153
Analysis::TauCommonDetails::setSumPi0Vec
void setSumPi0Vec(const CLHEP::HepLorentzVector &sumPi0Vec)
Set the Pi0 energy sum vector.
TauCommonDetails_p1::m_seedTrk_EMRadius
float m_seedTrk_EMRadius
EM radius.
Definition: TauCommonDetails_p1.h:159
Analysis::TauCommonDetails::leadTrkPt
double leadTrkPt() const
Get leading track p_T.
Analysis::TauCommonDetails::seedTrk_etChrgHadOverSumTrkPt
double seedTrk_etChrgHadOverSumTrkPt() const
Get E_T over p_T.
TauCommonDetails_p1::m_seedTrk_nOtherCoreTrk
int m_seedTrk_nOtherCoreTrk
Associated, "not good" quality tracks in core region.
Definition: TauCommonDetails_p1.h:213
Analysis::TauCommonDetails::seedTrk_etHadAtEMScale
double seedTrk_etHadAtEMScale() const
Get hadronic E_T at EM scale.
Analysis::TauCommonDetails::trkWidth2
double trkWidth2() const
Get track width ^2.
TauCommonDetails_p1::m_seedTrk_etChrgEM01Trk
std::vector< float > m_seedTrk_etChrgEM01Trk
Transverse energy in narrow window around the track(s), EM layers 0 1 only.
Definition: TauCommonDetails_p1.h:192
TauCommonDetails_p1::m_seedCalo_EMRadius
float m_seedCalo_EMRadius
Uncalibrated Et weighted radius in the Presampler + EM1 + EM2 within dR < 0.4.
Definition: TauCommonDetails_p1.h:117
TauCommonDetails_p1::m_seedTrk_etChrgEM
float m_seedTrk_etChrgEM
Transverse energy of EM cells (at EM scale) classified as "charged electromagnetic" collected in narr...
Definition: TauCommonDetails_p1.h:180
TauCommonDetailsCnv_p1::TauCommonDetailsCnv_p1
TauCommonDetailsCnv_p1()
Constructor.
Definition: TauCommonDetailsCnv_p1.cxx:37
TauCommonDetails_p1::m_cellEM012Cluster
ElementLinkInt_p1 m_cellEM012Cluster
EM calorimeter cell cluster.
Definition: TauCommonDetails_p1.h:78
ElementLinkVectorCnv_p1::transToPers
void transToPers(const LinkVect_t &trans, PersLinkVect_t &pers, const SG::ThinningCache *cache, MsgStream &log) const
TauCommonDetails_p1::m_seedCalo_centFrac
float m_seedCalo_centFrac
Centrality fraction (ET(dr<0.1)/ET(dr<0.4) for all calos.
Definition: TauCommonDetails_p1.h:132
Analysis::TauCommonDetails::seedTrk_isolFracWide
double seedTrk_isolFracWide() const
Get wide solation fraction.
Analysis::TauCommonDetails::setTopoMeanDeltaR
void setTopoMeanDeltaR(double value)
set mean distance to leading topocluster for topoclusters of jet associated to tau candidate
Analysis::TauCommonDetails::numTopoClusters
unsigned int numTopoClusters() const
get number of topocluster constituents of jet associated to tau candidate
Analysis::TauCommonDetails::ele_ECALFirstFraction
double ele_ECALFirstFraction() const
get fraction of EM cluster energy in first layer of ECAL
Analysis::TauCommonDetails::setSeedTrk_sumEMCellEtOverLeadTrkPt
void setSeedTrk_sumEMCellEtOverLeadTrkPt(double ratio)
Set LAr+EM E_T / leading track p_T.
Analysis::TauCommonDetails::setSeedTrk_etNeuEM
void setSeedTrk_etNeuEM(double et)
Set E_T of neutral EM cells.
TauCommonDetails_p1::m_seedTrk_hadLeakEt
float m_seedTrk_hadLeakEt
hadronic leakage in Et summed over cells
Definition: TauCommonDetails_p1.h:189
Analysis::TauCommonDetails::etOverPtLeadLooseTrk
double etOverPtLeadLooseTrk() const
Get E_t to p_T ratio for rau candidate leading loose track.
TauCommonDetails_p1::m_etOverPtLeadLooseTrk
float m_etOverPtLeadLooseTrk
Ratio of E_T of TauCandidate to p_T of leading loose track.
Definition: TauCommonDetails_p1.h:54
TauCommonDetails_p1::m_seedCalo_etHadCalib
float m_seedCalo_etHadCalib
Calibrated hadronic transverse energy.
Definition: TauCommonDetails_p1.h:144
Analysis::TauCommonDetails::setEtOverPtLeadLooseTrk
void setEtOverPtLeadLooseTrk(double ratio)
Set E_t to p_T ratio for rau candidate leading loose track.
TauCommonDetails_p1::m_chrgLooseTrk
float m_chrgLooseTrk
Charge of loose tracks.
Definition: TauCommonDetails_p1.h:75
Analysis::TauCommonDetails::setSeedTrk_etChrgEM
void setSeedTrk_etChrgEM(double et)
Set E_T of charged EM cells.
Analysis::TauCommonDetails::setSeedCalo_etHadAtEMScale
void setSeedCalo_etHadAtEMScale(double energy)
Set hadronic energy at EM scale.
Analysis::TauCommonDetails::setEle_PresamplerFraction
void setEle_PresamplerFraction(double value)
set fraction of EM cluster energy in presampler
Analysis::TauCommonDetails::ele_PresamplerFraction
double ele_PresamplerFraction() const
get fraction of EM cluster energy in presampler
Analysis::TauCommonDetails::setSeedTrk_etChrgHad
void setSeedTrk_etChrgHad(double et)
Set charged E_T in hadronic calorimeter.
TauCommonDetails_p1::m_seedCalo_trkRmsDist
float m_seedCalo_trkRmsDist
RMS of track distance from calorimeter seed.
Definition: TauCommonDetails_p1.h:156
HepLorentzVectorCnv_p1
Definition: HepLorentzVectorCnv_p1.h:34
Analysis::TauCommonDetails::setSeedCalo_nStrip
void setSeedCalo_nStrip(int nStrip)
Set number of strips.
Analysis::TauCommonDetails::seedCalo_trkAvgDist
double seedCalo_trkAvgDist() const
Get the average track distance to calorimeter seed.
python.AutoConfigFlags.msg
msg
Definition: AutoConfigFlags.py:7
TauCommonDetails_p1::m_numEffTopoClusters
float m_numEffTopoClusters
Definition: TauCommonDetails_p1.h:229
TauCommonDetails_p1::m_ipSigLeadLooseTrk
float m_ipSigLeadLooseTrk
Impact parameter significance of leading loose track.
Definition: TauCommonDetails_p1.h:66
Analysis::TauCommonDetails::setMEflow
void setMEflow(double m)
Set mass from energy flow.
Analysis::TauCommonDetails::seedTrk_etChrgEM
double seedTrk_etChrgEM() const
Get E_T of charged EM cells.
Analysis::TauCommonDetails::seedCalo_etEMCalib
double seedCalo_etEMCalib() const
Get calibrated EM transverse energy.
Analysis::TauCommonDetails::massTrkSys
double massTrkSys() const
Get track system invariant mass.
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
Analysis::TauCommonDetails::topoMeanDeltaR
double topoMeanDeltaR() const
get mean distance to leading topocluster for topoclusters of jet associated to tau candidate
Analysis::TauCommonDetails::seedCalo_isolFrac
double seedCalo_isolFrac() const
Get isolation fraction.