53 {
56
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
64 xaodTauJets->push_back( xtaujet );
65
67
68 ATH_MSG_DEBUG(
"converted xtau with pt="<< xtaujet->
pt() <<
" eta=" << xtaujet->
eta() <<
" phi=" << xtaujet->
phi() <<
" m=" << xtaujet->
m() );
69
71
72
74
76
78
80
82
83
85
87
89
90
92
94
96
98
100
102
103
105
107
108
112
116
117
118
122
125
128
135
137
138
139
140 const Analysis::TauCommonDetails* commonDetails(tau->
details<Analysis::TauCommonDetails>());
141 if(commonDetails != nullptr)
142 {
143 int tempint = 0;
144
149
150
151 ATH_MSG_DEBUG(
"tau with pi0ConeDR " << commonDetails->Pi0ConeDR() );
154
155 ATH_MSG_DEBUG(
"tau with trackFilterProngs " << commonDetails->TrackFilterProngs() );
158
159 ATH_MSG_DEBUG(
"tau with trackFilterQuality " << commonDetails->TrackFilterQuality() );
162
163 ATH_MSG_DEBUG(
"found details container for this tau with SeedCalo_EMRadius " << commonDetails->seedCalo_EMRadius() );
164
180
181 float tempfloat = 0;
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
204
213 } else {
215 }
216
217 }
218
219
220 return StatusCode::SUCCESS;
221 }
#define ATH_MSG_WARNING(x)
unsigned int numTrack() const
number of Tracks associated to Tau candidate, CAUTION not to be confused with numberOfTracks()!
unsigned int ROIWord() const
Retrieve ROI Word (trigger purposes)
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.
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.
DataModel_detail::const_iterator< DataVector > const_iterator
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 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 phi() const
The azimuthal angle ( ) of the particle.
double etaTauEtaCalib() const
double phiJetSeed() const
double ptTauEnergyScale() const
void setROIWord(unsigned int)
double etaTauEnergyScale() 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
double ptTauEtaCalib() const
double ptIntermediateAxis() const
int trackFilterQuality() const
bool detail(TauJetParameters::Detail detail, int &value) const
Get and set values of common details variables via enum.
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
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.
@ EMRadius
Get E_T radius.
@ secMaxStripEt
migrate only seedTrk_ variables which are used in reco and ID and without prefix
@ stripWidth2
Get strip width ^2.
@ topoInvMass
get invariant mass from topoclusters of jet associated to tau candidate
@ etHadAtEMScale
Get Hadronic energy at EM scale.
@ isolFrac
Get isolation fraction.
@ lead2ClusterEOverAllClusterE
Get sum of 2 leading cluster energy over all cluster energy.
@ topoMeanDeltaR
get mean distance to leading topocluster for topoclusters of jet associated to tau candidate
@ trkRmsDist
Get the RMS of track distance to calorimeter seed.
@ nStrip
Get number of strips.
@ cellBasedEnergyRing4
Ring 4: 0.10 < R < 0.125.
@ effTopoMeanDeltaR
get mean distance to leading topocluster for effective topoclusters of jet associated to tau candidat...
@ sumEMCellEtOverLeadTrkPt
@ caloIso
Get sum of transvers energy of clusters around jet seed within 0.2 < dR < 0.4.
@ trkAvgDist
Get calibrated EM transverse energy (DEPRECATED since r19)
@ cellBasedEnergyRing6
Ring 6: 0.15 < R < 0.2.
@ cellBasedEnergyRing5
Ring 5: 0.125 < R < 0.15.
@ effTopoInvMass
get invariant mass from effective topoclusters of jet associated to tau candidate
@ cellBasedEnergyRing7
Ring 7: 0.2 < R < 0.4.
@ etEMAtEMScale
Get EM energy at EM scale.
@ TRT_NHT_OVER_NLT
TRT hits high threshold over low threshold.
@ centFrac
Get centrality fraction.
@ caloIsoCorrected
Get sum of transvers energy of clusters around jet seed within 0.2 < dR < 0.4 (pile up corrected)
@ cellBasedEnergyRing2
Ring 2: 0.05 < R < 0.075.
@ numTopoClusters
get number of topocluster constituents of jet associated to tau candidate
@ numEffTopoClusters
get number of effective topocluster constituents of jet associated to tau candidate !...
@ cellBasedEnergyRing3
Ring 3: 0.075 < R < 0.10.
@ cellBasedEnergyRing1
EM+TES final scale.
@ dRmax
Get maximal dR of tracks associated to calo-seeded tau.
@ lead3ClusterEOverAllClusterE
Get sum of 3 leading cluster energy over all cluster energy.
@ BDTJetScore
Boosted Decision Tree socre for Jet rejection (not transformed)
@ BDTEleScore
Boosted Decision Tree score for electron rejection.
@ BDTJetScoreSigTrans
BDT score which is signal transformed/flattened.
TauJet_v3 TauJet
Definition of the current "tau version".