ATLAS Offline Software
Loading...
Searching...
No Matches
TauJetCnvTool.cxx
Go to the documentation of this file.
1
2
3/*
4 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
5*/
6
7// TauJetCnvTool.cxx
8// Implementation file for class TauJetCnvTool
9// Author: Michel Janus janus@cern.ch
11
12
13// xAODJetCnv includes
14#include "TauJetCnvTool.h"
15
16// STL includes
17
18// FrameWork includes
19#include "Gaudi/Property.h"
21
22
24// Public methods:
26
27namespace xAODMaker {
28 // Constructors
31 const std::string& name,
32 const IInterface* parent ) :
33 ::AthAlgTool( type, name, parent )
34 {
35 declareInterface< ITauJetCnvTool > (this);
36 }
37
38 // Destructor
42
43 // Athena Toolorithm's Hooks
46 {
47 ATH_MSG_INFO ("Initializing " << name() << "...");
48
49 return StatusCode::SUCCESS;
50 }
51
52 StatusCode TauJetCnvTool::convert(const Analysis::TauJetContainer* inputTaus, xAOD::TauJetContainer* xaodTauJets) const
53 {
56
57 for( ; it!= itE; ++it)
58 {
59 const Analysis::TauJet * tau = *it;
60
61 ATH_MSG_DEBUG( "trying to convert tau with pt="<< tau->pt() << " eta=" << tau->eta() << " phi=" << tau->phi() << " m=" << tau->m() );
62
63 xAOD::TauJet* xtaujet = new xAOD::TauJet();
64 xaodTauJets->push_back( xtaujet );
65
66 xtaujet->setP4( tau->pt(), tau->eta(), tau->phi(), tau->m() );
67
68 ATH_MSG_DEBUG( "converted xtau with pt="<< xtaujet->pt() << " eta=" << xtaujet->eta() << " phi=" << xtaujet->phi() << " m=" << xtaujet->m() );
69
70 ATH_MSG_DEBUG( "trying to convert tau jetseed 4-vector with pt="<< tau->getHLV(TauJetParameters::JetSeed).perp() << " eta=" << tau->getHLV(TauJetParameters::JetSeed).eta() << " phi=" << tau->getHLV(TauJetParameters::JetSeed).phi() << " m=" << tau->getHLV(TauJetParameters::JetSeed).m() );
71
72
74
75 ATH_MSG_DEBUG( "converted xtau jetseed 4-vector with pt="<< xtaujet->ptJetSeed() << " eta=" << xtaujet->etaJetSeed() << " phi=" << xtaujet->phiJetSeed() << " m=" << xtaujet->mJetSeed() );
76
77 ATH_MSG_DEBUG( "trying to convert tau detectoraxis 4-vector with pt="<< tau->getHLV(TauJetParameters::DetectorAxis).perp() << " eta=" << tau->getHLV(TauJetParameters::DetectorAxis).eta() << " phi=" << tau->getHLV(TauJetParameters::DetectorAxis).phi() << " m=" << tau->getHLV(TauJetParameters::DetectorAxis).m() );
78
80
81 ATH_MSG_DEBUG( "converted xtau detectoraxis 4-vector with pt="<< xtaujet->ptDetectorAxis() << " eta=" << xtaujet->etaDetectorAxis() << " phi=" << xtaujet->phiDetectorAxis() << " m=" << xtaujet->mDetectorAxis() );
82
83
84 ATH_MSG_DEBUG( "trying to convert tau intermediateaxis 4-vector with pt="<< tau->getHLV(TauJetParameters::IntermediateAxis).perp() << " eta=" << tau->getHLV(TauJetParameters::IntermediateAxis).eta() << " phi=" << tau->getHLV(TauJetParameters::IntermediateAxis).phi() << " m=" << tau->getHLV(TauJetParameters::IntermediateAxis).m() );
85
87
88 ATH_MSG_DEBUG( "converted xtau intermediateaxis 4-vector with pt="<< xtaujet->ptIntermediateAxis() << " eta=" << xtaujet->etaIntermediateAxis() << " phi=" << xtaujet->phiIntermediateAxis() << " m=" << xtaujet->mIntermediateAxis() );
89
90
91 ATH_MSG_DEBUG( "trying to convert tau tauenergyscale 4-vector with pt="<< tau->getHLV(TauJetParameters::TauEnergyScale).perp() << " eta=" << tau->getHLV(TauJetParameters::TauEnergyScale).eta() << " phi=" << tau->getHLV(TauJetParameters::TauEnergyScale).phi() << " m=" << tau->getHLV(TauJetParameters::TauEnergyScale).m() );
92
94
95 ATH_MSG_DEBUG( "converted xtau tauenergyscale 4-vector with pt="<< xtaujet->ptTauEnergyScale() << " eta=" << xtaujet->etaTauEnergyScale() << " phi=" << xtaujet->phiTauEnergyScale() << " m=" << xtaujet->mTauEnergyScale() );
96
97 ATH_MSG_DEBUG( "trying to convert tau intermediateaxis 4-vector with pt="<< tau->getHLV(TauJetParameters::TauEtaCalib).perp() << " eta=" << tau->getHLV(TauJetParameters::TauEtaCalib).eta() << " phi=" << tau->getHLV(TauJetParameters::TauEtaCalib).phi() << " m=" << tau->getHLV(TauJetParameters::TauEtaCalib).m() );
98
100
101 ATH_MSG_DEBUG( "converted xtau intermediateaxis 4-vector with pt="<< xtaujet->ptTauEtaCalib() << " eta=" << xtaujet->etaTauEtaCalib() << " phi=" << xtaujet->phiTauEtaCalib() << " m=" << xtaujet->mTauEtaCalib() );
102
103 //trying to set element links
104 ATH_MSG_DEBUG( "trying to set element links for tau with numTrack=" << tau->numTrack() );
105
106 ATH_MSG_DEBUG( "converted xaod tau with numTrack=" << xtaujet->nTracks() );
107
108
109 ATH_MSG_DEBUG( "trying to convert tau with ROIWord=" << tau->ROIWord() );
110 xtaujet->setROIWord( tau->ROIWord());
111 ATH_MSG_DEBUG( "converted xaod tau with ROIWord=" << xtaujet->ROIWord() );
112
113 ATH_MSG_DEBUG( "trying to convert tau with charge=" << tau->charge() );
114 xtaujet->setCharge( tau->charge() );
115 ATH_MSG_DEBUG( "converted xaod tau with charge=" << xtaujet->charge() );
116
117 //set PID variables
118
119 ATH_MSG_DEBUG( "trying to convert tau with BDTElescore=" << tau->tauID()->discriminant(TauJetParameters::BDTEleScore) );
121 ATH_MSG_DEBUG( "converted xaod tau with BDTEleScore=" << xtaujet->discriminant(xAOD::TauJetParameters::BDTEleScore ) );
122
125
126 ATH_MSG_DEBUG( "trying to convert tau with MuonVeto=" << tau->tauID()->isTau(TauJetParameters::MuonVeto) );
128
135
136 ATH_MSG_DEBUG( "set individual details variables" );
137
138 //set individual details variables
139
141 if(commonDetails != nullptr)
142 {
143 int tempint = 0;
144
145 ATH_MSG_DEBUG( "tau with nCharged " << tau->numTrack() );
146 xtaujet->setDetail(xAOD::TauJetParameters::nCharged , static_cast<int>( tau->numTrack() ) );
147 if( xtaujet->detail( xAOD::TauJetParameters::nCharged, tempint ) )
148 ATH_MSG_DEBUG( "converted xaod tau with nPi0 " << tempint );
149
150
151 ATH_MSG_DEBUG( "tau with pi0ConeDR " << commonDetails->Pi0ConeDR() );
152 xtaujet->setPi0ConeDR( commonDetails->Pi0ConeDR() );
153 ATH_MSG_DEBUG( "converted xaod tau with pi0ConeDR " << xtaujet->pi0ConeDR() );
154
155 ATH_MSG_DEBUG( "tau with trackFilterProngs " << commonDetails->TrackFilterProngs() );
156 xtaujet->setTrackFilterProngs( commonDetails->TrackFilterProngs() );
157 ATH_MSG_DEBUG( "converted xaod tau with trackFilterProngs " << xtaujet->trackFilterProngs() );
158
159 ATH_MSG_DEBUG( "tau with trackFilterQuality " << commonDetails->TrackFilterQuality() );
160 xtaujet->setTrackFilterQuality( commonDetails->TrackFilterQuality() );
161 ATH_MSG_DEBUG( "converted xaod tau with trackFilterQuality " << xtaujet->trackFilterQuality() );
162
163 ATH_MSG_DEBUG( "found details container for this tau with SeedCalo_EMRadius " << commonDetails->seedCalo_EMRadius() );
164
165 xtaujet->setDetail(xAOD::TauJetParameters::ipZ0SinThetaSigLeadTrk , static_cast<float>( commonDetails->ipZ0SinThetaSigLeadTrk() ) );
166 xtaujet->setDetail(xAOD::TauJetParameters::etOverPtLeadTrk , static_cast<float>( commonDetails->etOverPtLeadTrk() ) );
167 xtaujet->setDetail(xAOD::TauJetParameters::leadTrkPt , static_cast<float>( commonDetails->leadTrkPt() ) );
168 xtaujet->setDetail(xAOD::TauJetParameters::ipSigLeadTrk , static_cast<float>( commonDetails->ipSigLeadTrk() ) );
169 xtaujet->setDetail(xAOD::TauJetParameters::massTrkSys , static_cast<float>( commonDetails->massTrkSys() ) );
170 xtaujet->setDetail(xAOD::TauJetParameters::trkWidth2 , static_cast<float>( commonDetails->trkWidth2() ) );
171 xtaujet->setDetail(xAOD::TauJetParameters::trFlightPathSig , static_cast<float>( commonDetails->trFlightPathSig() ) );
172 xtaujet->setDetail(xAOD::TauJetParameters::numCells , static_cast<int>( commonDetails->numCells() ) );
173 xtaujet->setDetail(xAOD::TauJetParameters::numTopoClusters , static_cast<int>( commonDetails->numTopoClusters() ) );
174 xtaujet->setDetail(xAOD::TauJetParameters::numEffTopoClusters , static_cast<float>( commonDetails->numEffTopoClusters() ) );
175 xtaujet->setDetail(xAOD::TauJetParameters::topoInvMass , static_cast<float>( commonDetails->topoInvMass() ) );
176 xtaujet->setDetail(xAOD::TauJetParameters::effTopoInvMass , static_cast<float>( commonDetails->effTopoInvMass() ) );
177 xtaujet->setDetail(xAOD::TauJetParameters::topoMeanDeltaR , static_cast<float>( commonDetails->topoMeanDeltaR() ) );
178 xtaujet->setDetail(xAOD::TauJetParameters::effTopoMeanDeltaR , static_cast<float>( commonDetails->effTopoMeanDeltaR() ) );
179 xtaujet->setDetail(xAOD::TauJetParameters::EMRadius , static_cast<float>( commonDetails->seedCalo_EMRadius() ) );
180
181 float tempfloat = 0;
182 if ( xtaujet->detail(xAOD::TauJetParameters::EMRadius, tempfloat) )
183 ATH_MSG_DEBUG( "converted details for this xaod tau with SeedCalo_EMRadius " << tempfloat );
184 else
185 ATH_MSG_DEBUG( "error getting SeedCalo_EMRadius from xaod tau " );
186
187 xtaujet->setDetail(xAOD::TauJetParameters::hadRadius , static_cast<float>( commonDetails->seedCalo_hadRadius() ) );
188 xtaujet->setDetail(xAOD::TauJetParameters::etEMAtEMScale , static_cast<float>( commonDetails->seedCalo_etEMAtEMScale() ) );
189 xtaujet->setDetail(xAOD::TauJetParameters::etHadAtEMScale , static_cast<float>( commonDetails->seedCalo_etHadAtEMScale() ) );
190 xtaujet->setDetail(xAOD::TauJetParameters::isolFrac , static_cast<float>( commonDetails->seedCalo_isolFrac() ) );
191 xtaujet->setDetail(xAOD::TauJetParameters::centFrac , static_cast<float>( commonDetails->seedCalo_centFrac() ) );
192 xtaujet->setDetail(xAOD::TauJetParameters::stripWidth2 , static_cast<float>( commonDetails->seedCalo_stripWidth2() ) );
193 xtaujet->setDetail(xAOD::TauJetParameters::nStrip , static_cast<int>( commonDetails->seedCalo_nStrip() ) );
194 xtaujet->setDetail(xAOD::TauJetParameters::trkAvgDist , static_cast<float>( commonDetails->seedCalo_trkAvgDist() ) );
195 xtaujet->setDetail(xAOD::TauJetParameters::trkRmsDist , static_cast<float>( commonDetails->seedCalo_trkRmsDist() ) );
198 xtaujet->setDetail(xAOD::TauJetParameters::caloIso , static_cast<float>( commonDetails->seedCalo_caloIso() ) );
199 xtaujet->setDetail(xAOD::TauJetParameters::caloIsoCorrected , static_cast<float>( commonDetails->seedCalo_caloIsoCorrected() ) );
200 xtaujet->setDetail(xAOD::TauJetParameters::dRmax , static_cast<float>( commonDetails->seedCalo_dRmax() ) );
201 xtaujet->setDetail(xAOD::TauJetParameters::secMaxStripEt , static_cast<float>( commonDetails->seedTrk_secMaxStripEt() ) );
202 xtaujet->setDetail(xAOD::TauJetParameters::sumEMCellEtOverLeadTrkPt , static_cast<float>( commonDetails->seedTrk_sumEMCellEtOverLeadTrkPt() ) );
203 xtaujet->setDetail(xAOD::TauJetParameters::hadLeakEt , static_cast<float>( commonDetails->seedTrk_hadLeakEt() ) );
204
205 xtaujet->setDetail(xAOD::TauJetParameters::cellBasedEnergyRing1 , static_cast<float>( commonDetails->cellBasedEnergyRing1() ) );
206 xtaujet->setDetail(xAOD::TauJetParameters::cellBasedEnergyRing2 , static_cast<float>( commonDetails->cellBasedEnergyRing2() ) );
207 xtaujet->setDetail(xAOD::TauJetParameters::cellBasedEnergyRing3 , static_cast<float>( commonDetails->cellBasedEnergyRing3() ) );
208 xtaujet->setDetail(xAOD::TauJetParameters::cellBasedEnergyRing4 , static_cast<float>( commonDetails->cellBasedEnergyRing4() ) );
209 xtaujet->setDetail(xAOD::TauJetParameters::cellBasedEnergyRing5 , static_cast<float>( commonDetails->cellBasedEnergyRing5() ) );
210 xtaujet->setDetail(xAOD::TauJetParameters::cellBasedEnergyRing6 , static_cast<float>( commonDetails->cellBasedEnergyRing6() ) );
211 xtaujet->setDetail(xAOD::TauJetParameters::cellBasedEnergyRing7 , static_cast<float>( commonDetails->cellBasedEnergyRing7() ) );
212 xtaujet->setDetail(xAOD::TauJetParameters::TRT_NHT_OVER_NLT , static_cast<float>( commonDetails->TRT_NHT_OVER_NLT() ) );
213 } else {
214 ATH_MSG_WARNING( "there was no TauDetails container found" );
215 }
216
217 }
218
219
220 return StatusCode::SUCCESS;
221 }
222
223 void TauJetCnvTool::setLinks(const Analysis::TauJet& aodtau, xAOD::TauJet& xaodtau) const {
224
225 // Need to reset links from old TrackParticle to xAOD::TrackParticles
226
227 for (unsigned int i = 0; i != aodtau.numTrack(); ++i)
228 {
229 ATH_MSG_DEBUG( "track number : " << i << " has pt: " << (aodtau.track(i) ? aodtau.track(i)->pt() : -1111.) );
230 }
231
232 //get common details member, because wide and other tracks are stored there
233 const Analysis::TauCommonDetails* commonDetails(aodtau.details<Analysis::TauCommonDetails>());
234
235
236 for (unsigned int i = 0; i != commonDetails->seedCalo_nWideTrk(); ++i)
237 {
238 ATH_MSG_DEBUG( "wide track number : " << i << " has pt: " << commonDetails->seedCalo_wideTrk(i)->pt() );
239 }
240
241 ATH_MSG_DEBUG( "trying to set jet link " );
242
243 ATH_MSG_DEBUG( "tau jet seed has pt : " << aodtau.jet()->pt() );
244
245 xaodtau.setJetLink(getNewJetLink(aodtau.jetLink(), m_jets) );
246
247 ATH_MSG_DEBUG( "tau jet seed has pt : " << (*xaodtau.jetLink())->pt() );
248
249
250 }
251
254 newLink.resetWithKeyAndIndex( name, oldLink.index() );
255 return newLink;
256 }
257
260 newLink.resetWithKeyAndIndex( name, oldLink.index() );
261 return newLink;
262 }
263
264}
265
266
267// LocalWords: tempfloat
#define ATH_MSG_INFO(x)
#define ATH_MSG_WARNING(x)
#define ATH_MSG_DEBUG(x)
Helpers for checking error return status codes and reporting errors.
Basic detail class containing information for track and calo seeded tau reconstruction algorithms.
double topoMeanDeltaR() const
get mean distance to leading topocluster for topoclusters of jet associated to tau candidate
unsigned int numTopoClusters() const
get number of topocluster constituents of jet associated to tau candidate
double seedCalo_lead2ClusterEOverAllClusterE() const
Get sum of 2 leading cluster energy over all cluster energy.
double topoInvMass() const
get invariant mass from topoclusters of jet associated to tau candidate
const Rec::TrackParticle * seedCalo_wideTrk(unsigned int i) const
Get seedCalo wide track.
double seedCalo_caloIso() const
Get sum of transvers energy of clusters around jet seed within 0.2 < dR < 0.4.
double etOverPtLeadTrk() const
Get leading E_T to p_T ratio.
double seedCalo_stripWidth2() const
Get strip width ^2.
double seedCalo_etEMAtEMScale() const
Get EM energy at EM scale.
double seedTrk_secMaxStripEt() const
Get hadronic leakage in Et summed over cells.
double trkWidth2() const
Get track width ^2.
double cellBasedEnergyRing3() const
Ring 3: 0.075 < R < 0.10.
double TRT_NHT_OVER_NLT() const
TRT hits high threshold over low threshold.
double effTopoMeanDeltaR() const
get mean distance to leading topocluster for effective topoclusters of jet associated to tau candidat...
double seedCalo_trkAvgDist() const
Get the average track distance to calorimeter seed.
unsigned int numCells() const
get number of cells associated to tau candidate
double seedTrk_sumEMCellEtOverLeadTrkPt() const
Get ratio of LAr+EM E_T / leading track p_T.
double cellBasedEnergyRing5() const
Ring 5: 0.125 < R < 0.15.
double effTopoInvMass() const
get invariant mass from effective topoclusters of jet associated to tau candidate
double seedTrk_hadLeakEt() const
Get hadronic leakage in Et summed over cells.
double seedCalo_trkRmsDist() const
Get the RMS of track distance to calorimeter seed.
double trFlightPathSig() const
Get Transverse flight path significance.
unsigned int seedCalo_nWideTrk() const
Get number of seedCalo wide tracks.
double seedCalo_EMRadius() const
Get E_T radius.
double ipSigLeadTrk() const
Get impact parameter significance.
double cellBasedEnergyRing2() const
Ring 2: 0.05 < R < 0.075.
double massTrkSys() const
Get track system invariant mass.
double leadTrkPt() const
Get leading track p_T.
double cellBasedEnergyRing4() const
Ring 4: 0.10 < R < 0.125.
double cellBasedEnergyRing7() const
Ring 7: 0.2 < R < 0.4.
double seedCalo_lead3ClusterEOverAllClusterE() const
Get sum of 3 leading cluster energy over all cluster energy.
double seedCalo_hadRadius() const
Get hadron calorimeter radius.
double seedCalo_isolFrac() const
Get isolation fraction.
int seedCalo_nStrip() const
Get number of strips.
double seedCalo_etHadAtEMScale() const
Get Hadronic energy at EM scale.
double seedCalo_caloIsoCorrected() const
Get sum of transvers energy of clusters around jet seed within 0.2 < dR < 0.4 (pile up corrected)
double cellBasedEnergyRing1() const
Ring 1: 0.00 < R < 0.05.
double seedCalo_dRmax() const
Get maximal dR of tracks associated to calo-seeded tau.
double seedCalo_centFrac() const
Get centrality fraction.
double cellBasedEnergyRing6() const
Ring 6: 0.15 < R < 0.2.
double ipZ0SinThetaSigLeadTrk() const
Get significance of z0SinTheta.
double numEffTopoClusters() const
get number of effective topocluster constituents of jet associated to tau candidate !...
Object for taus common for ESD and AOD.
unsigned int numTrack() const
number of Tracks associated to Tau candidate, CAUTION not to be confused with numberOfTracks()!
const ElementLink< JetCollection > jetLink() const
ElementLink to seed Jet, might be invalid if not seeded from a Jet
unsigned int ROIWord() const
Retrieve ROI Word (trigger purposes)
const Jet * jet() const
seed Jet, might be NULL if not seeded from a Jet
CLHEP::HepLorentzVector getHLV(TauJetParameters ::TauCalibType type) const
const TauPID * tauID() const
Get TauPID object containing discriminant values.
const T * details(const std::string &name) const
Get first details object stored in SG collection with matching name.
const Rec::TrackParticle * track(unsigned int i) const
Tracks associated to Tau candidate.
double discriminant(TauJetParameters::TauID discID) const
Get value of discriminant.
bool isTau(TauJetParameters::IsTauFlag flag) const
Get Flag for tau acceptance based on predefined arbitrary criteria.
AthAlgTool(const std::string &type, const std::string &name, const IInterface *parent)
Constructor with parameters:
DataModel_detail::const_iterator< DataVector > const_iterator
Definition DataVector.h:838
value_type push_back(value_type pElem)
Add an element to the end of the collection.
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
virtual double pt() const =0
transverse momentum
virtual double m() const
mass
virtual double pt() const
transverse momentum
virtual double phi() const
phi in [-pi,pi[
virtual double eta() const
pseudo rapidity
virtual ChargeType charge() const
returns charge as a typedef ChargeType currently Charge Type is a double for jets this may be changed...
virtual double pt() const
transverse momentum
void setLinks(const Analysis::TauJet &aodtau, xAOD::TauJet &xaodtau) const
Gaudi::Property< std::string > m_jets
Location/Key for jets.
ElementLink< xAOD::JetContainer > getNewJetLink(const ElementLink< JetCollection > &oldLink, const std::string &name) const
virtual StatusCode convert(const Analysis::TauJetContainer *inputTaus, xAOD::TauJetContainer *xaodTauJets) const override
Function that fills an existing xAOD::TauJetContainer.
ElementLink< xAOD::TrackParticleContainer > getNewTrackLink(const ElementLink< Rec::TrackParticleContainer > &oldLink, const std::string &name) const
TauJetCnvTool()
Default constructor:
virtual ~TauJetCnvTool() override
Destructor:
virtual StatusCode initialize() override
virtual double phi() const
The azimuthal angle ( ) of the particle.
double etaTauEtaCalib() const
void setJetLink(const JetLink_t &jetLink)
double phiJetSeed() const
double ptTauEnergyScale() const
void setROIWord(unsigned int)
double mJetSeed() const
double etaTauEnergyScale() const
float charge() const
unsigned int ROIWord() const
the ROIWord, in case TauJet is used in EF trigger
double mTauEnergyScale() const
double ptDetectorAxis() const
virtual double pt() const
The transverse momentum ( ) of the particle.
double phiDetectorAxis() const
double etaDetectorAxis() const
void setCharge(float)
double ptTauEtaCalib() const
double ptIntermediateAxis() const
int trackFilterQuality() const
const JetLink_t & jetLink() const
void setPi0ConeDR(float)
bool detail(TauJetParameters::Detail detail, int &value) const
Get and set values of common details variables via enum.
float pi0ConeDR() const
double phiTauEtaCalib() const
void setDiscriminant(TauJetParameters::TauID discID, double disc)
Set value of discriminant.
void setDetail(TauJetParameters::Detail detail, int value)
void setTrackFilterQuality(int)
void setP4(double pt, double eta, double phi, double m)
Set methods for IParticle values.
double mDetectorAxis() const
double ptJetSeed() const
void setTrackFilterProngs(int)
void setIsTau(TauJetParameters::IsTauFlag flag, bool value)
Set Flag for tau acceptance based on predefined arbitrary criteria.
int trackFilterProngs() const
double discriminant(TauJetParameters::TauID discID) const
Get value of discriminant.
virtual double m() const
The invariant mass of the particle.
double mIntermediateAxis() const
double etaJetSeed() const
double phiTauEnergyScale() const
double etaIntermediateAxis() const
double mTauEtaCalib() const
virtual double eta() const
The pseudorapidity ( ) of the particle.
double phiIntermediateAxis() const
size_t nTracks(TauJetParameters::TauTrackFlag flag=TauJetParameters::TauTrackFlag::classifiedCharged) const
@ BDTEleScore
Boosted Decision Tree score for electron rejection.
@ BDTJetScoreSigTrans
BDT score which is signal transformed/flattened.
@ BDTJetScore
discriminant for PDRS (used by tau1p3p)
@ hadRadius
Get hadron calorimeter radius.
Definition TauDefs.h:192
@ EMRadius
Get E_T radius.
Definition TauDefs.h:190
@ secMaxStripEt
migrate only seedTrk_ variables which are used in reco and ID and without prefix
Definition TauDefs.h:230
@ stripWidth2
Get strip width ^2.
Definition TauDefs.h:202
@ topoInvMass
get invariant mass from topoclusters of jet associated to tau candidate
Definition TauDefs.h:177
@ etHadAtEMScale
Get Hadronic energy at EM scale.
Definition TauDefs.h:196
@ isolFrac
Get isolation fraction.
Definition TauDefs.h:198
@ lead2ClusterEOverAllClusterE
Get sum of 2 leading cluster energy over all cluster energy.
Definition TauDefs.h:218
@ topoMeanDeltaR
get mean distance to leading topocluster for topoclusters of jet associated to tau candidate
Definition TauDefs.h:181
@ trkRmsDist
Get the RMS of track distance to calorimeter seed.
Definition TauDefs.h:216
@ nStrip
Get number of strips.
Definition TauDefs.h:204
@ cellBasedEnergyRing4
Ring 4: 0.10 < R < 0.125.
Definition TauDefs.h:252
@ effTopoMeanDeltaR
get mean distance to leading topocluster for effective topoclusters of jet associated to tau candidat...
Definition TauDefs.h:183
@ caloIso
Get sum of transvers energy of clusters around jet seed within 0.2 < dR < 0.4.
Definition TauDefs.h:222
@ trkAvgDist
Get calibrated EM transverse energy (DEPRECATED since r19)
Definition TauDefs.h:214
@ cellBasedEnergyRing6
Ring 6: 0.15 < R < 0.2.
Definition TauDefs.h:256
@ cellBasedEnergyRing5
Ring 5: 0.125 < R < 0.15.
Definition TauDefs.h:254
@ effTopoInvMass
get invariant mass from effective topoclusters of jet associated to tau candidate
Definition TauDefs.h:179
@ cellBasedEnergyRing7
Ring 7: 0.2 < R < 0.4.
Definition TauDefs.h:258
@ etEMAtEMScale
Get EM energy at EM scale.
Definition TauDefs.h:194
@ TRT_NHT_OVER_NLT
TRT hits high threshold over low threshold.
Definition TauDefs.h:260
@ centFrac
Get centrality fraction.
Definition TauDefs.h:200
@ caloIsoCorrected
Get sum of transvers energy of clusters around jet seed within 0.2 < dR < 0.4 (pile up corrected)
Definition TauDefs.h:224
@ cellBasedEnergyRing2
Ring 2: 0.05 < R < 0.075.
Definition TauDefs.h:248
@ numTopoClusters
get number of topocluster constituents of jet associated to tau candidate
Definition TauDefs.h:173
@ numEffTopoClusters
get number of effective topocluster constituents of jet associated to tau candidate !...
Definition TauDefs.h:175
@ cellBasedEnergyRing3
Ring 3: 0.075 < R < 0.10.
Definition TauDefs.h:250
@ cellBasedEnergyRing1
EM+TES final scale.
Definition TauDefs.h:246
@ dRmax
Get maximal dR of tracks associated to calo-seeded tau.
Definition TauDefs.h:226
@ lead3ClusterEOverAllClusterE
Get sum of 3 leading cluster energy over all cluster energy.
Definition TauDefs.h:220
@ BDTJetScore
Boosted Decision Tree socre for Jet rejection (not transformed)
Definition TauDefs.h:78
@ BDTEleScore
Boosted Decision Tree score for electron rejection.
Definition TauDefs.h:80
@ BDTJetScoreSigTrans
BDT score which is signal transformed/flattened.
Definition TauDefs.h:84
TauJet_v3 TauJet
Definition of the current "tau version".
TauJetContainer_v3 TauJetContainer
Definition of the current "taujet container version".