|
ATLAS Offline Software
|
Go to the documentation of this file.
19 #include "Gaudi/Property.h"
31 const std::string&
name,
32 const IInterface*
parent ) :
34 , m_inDetTrackParticles(
"InDetTrackParticles")
35 , m_jets(
"AntiKt4LCTopoJets")
37 declareInterface< ITauJetCnvTool > (
this);
56 return StatusCode::SUCCESS;
68 ATH_MSG_DEBUG(
"trying to convert tau with pt="<< tau->
pt() <<
" eta=" << tau->
eta() <<
" phi=" << tau->
phi() <<
" m=" << tau->
m() );
75 ATH_MSG_DEBUG(
"converted xtau with pt="<< xtaujet->
pt() <<
" eta=" << xtaujet->
eta() <<
" phi=" << xtaujet->
phi() <<
" m=" << xtaujet->
m() );
157 if(commonDetails !=
nullptr)
223 ATH_MSG_DEBUG(
"converted details for this xaod tau with SeedCalo_EMRadius " << tempfloat );
225 ATH_MSG_DEBUG(
"error getting SeedCalo_EMRadius from xaod tau " );
273 return StatusCode::SUCCESS;
280 for (
unsigned int i = 0;
i != aodtau.
numTrack(); ++
i)
@ cellBasedEnergyRing4
Ring 4: 0.10 < R < 0.125.
double phiDetectorAxis() const
@ trkRmsDist
Get the RMS of track distance to calorimeter seed.
int trackFilterQuality() const
double etaTauEtaCalib() const
const Rec ::TrackParticle * track(unsigned int i) const
Tracks associated to Tau candidate.
double effTopoMeanDeltaR() const
get mean distance to leading topocluster for effective topoclusters of jet associated to tau candidat...
double seedCalo_lead2ClusterEOverAllClusterE() const
Get sum of 2 leading cluster energy over all cluster energy.
double mTauEnergyScale() const
double cellBasedEnergyRing1() const
Ring 1: 0.00 < R < 0.05.
double mDetectorAxis() const
Const iterator class for DataVector/DataList.
double etaTauEnergyScale() const
@ topoInvMass
get invariant mass from topoclusters of jet associated to tau candidate
@ cellBasedEnergyRing7
Ring 7: 0.2 < R < 0.4.
virtual double pt() const
transverse momentum
double discriminant(TauJetParameters::TauID discID) const
Get value of discriminant.
@ lead2ClusterEOverAllClusterE
Get sum of 2 leading cluster energy over all cluster energy.
double phiIntermediateAxis() const
virtual double eta() const
The pseudorapidity ( ) of the particle.
CLHEP::HepLorentzVector getHLV(TauJetParameters ::TauCalibType type) const
double seedCalo_dRmax() const
Get maximal dR of tracks associated to calo-seeded tau.
double topoInvMass() const
get invariant mass from topoclusters of jet associated to tau candidate
double etaDetectorAxis() const
double etaIntermediateAxis() const
void setJetLink(const JetLink_t &jetLink)
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
double ipZ0SinThetaSigLeadTrk() const
Get significance of z0SinTheta.
virtual double m() const
The invariant mass of the particle.
const Jet * jet() const
seed Jet, might be NULL if not seeded from a Jet
size_t nTracks(TauJetParameters::TauTrackFlag flag=TauJetParameters::TauTrackFlag::classifiedCharged) const
double effTopoInvMass() const
get invariant mass from effective topoclusters of jet associated to tau candidate
int seedCalo_nStrip() const
Get number of strips.
double seedCalo_etHadAtEMScale() const
Get Hadronic energy at EM scale.
double cellBasedEnergyRing7() const
Ring 7: 0.2 < R < 0.4.
double seedCalo_caloIso() const
Get sum of transvers energy of clusters around jet seed within 0.2 < dR < 0.4
const T * details(const std::string &name) const
Get first details object stored in SG collection with matching name.
@ secMaxStripEt
migrate only seedTrk_ variables which are used in reco and ID and without prefix
double seedCalo_centFrac() const
Get centrality fraction.
@ lead3ClusterEOverAllClusterE
Get sum of 3 leading cluster energy over all cluster energy.
double seedTrk_secMaxStripEt() const
Get hadronic leakage in Et summed over cells.
const ElementLink< JetCollection > jetLink() const
ElementLink to seed Jet, might be invalid if not seeded from a Jet
double seedCalo_lead3ClusterEOverAllClusterE() const
Get sum of 3 leading cluster energy over all cluster energy.
double numEffTopoClusters() const
get number of effective topocluster constituents of jet associated to tau candidate !...
@ cellBasedEnergyRing1
EM+TES final scale.
double ptDetectorAxis() const
virtual double pt() const =0
transverse momentum
double ipSigLeadTrk() const
Get impact parameter significance.
@ cellBasedEnergyRing6
Ring 6: 0.15 < R < 0.2.
void setIsTau(TauJetParameters::IsTauFlag flag, bool value)
Set Flag for tau acceptance based on predefined arbitrary criteria.
@ hadRadius
Get hadron calorimeter radius.
void setP4(double pt, double eta, double phi, double m)
Set methods for IParticle values.
double seedCalo_trkRmsDist() const
Get the RMS of track distance to calorimeter seed.
const TauPID * tauID() const
Get TauPID object containing discriminant values.
double mTauEtaCalib() const
@ stripWidth2
Get strip width ^2.
@ centFrac
Get centrality fraction.
double phiJetSeed() const
@ dRmax
Get maximal dR of tracks associated to calo-seeded tau.
double etOverPtLeadTrk() const
Get leading E_T to p_T ratio.
virtual double m() const
mass
double discriminant(TauJetParameters::TauID discID) const
Get value of discriminant.
unsigned int ROIWord() const
the ROIWord, in case TauJet is used in EF trigger
virtual double pt() const
The transverse momentum ( ) of the particle.
Basic detail class containing information for track and calo seeded tau reconstruction algorithms.
virtual double phi() const
The azimuthal angle ( ) of the particle.
double seedTrk_sumEMCellEtOverLeadTrkPt() const
Get ratio of LAr+EM E_T / leading track p_T.
void resetWithKeyAndIndex(const ID_type &dataID, index_type elemID, IProxyDict *sg=0)
Set the link to an element given by string key and index.
@ etHadAtEMScale
Get Hadronic energy at EM scale.
double seedCalo_EMRadius() const
Get E_T radius.
@ topoMeanDeltaR
get mean distance to leading topocluster for topoclusters of jet associated to tau candidate
@ effTopoMeanDeltaR
get mean distance to leading topocluster for effective topoclusters of jet associated to tau candidat...
double ptTauEnergyScale() const
virtual ChargeType charge() const
returns charge as a typedef ChargeType currently Charge Type is a double for jets this may be changed...
unsigned int numTrack() const
number of Tracks associated to Tau candidate, CAUTION not to be confused with numberOfTracks()!
double seedTrk_hadLeakEt() const
Get hadronic leakage in Et summed over cells.
double cellBasedEnergyRing5() const
Ring 5: 0.125 < R < 0.15.
double cellBasedEnergyRing6() const
Ring 6: 0.15 < R < 0.2.
double seedCalo_hadRadius() const
Get hadron calorimeter radius.
double cellBasedEnergyRing3() const
Ring 3: 0.075 < R < 0.10.
@ caloIso
Get sum of transvers energy of clusters around jet seed within 0.2 < dR < 0.4
double cellBasedEnergyRing4() const
Ring 4: 0.10 < R < 0.125.
@ BDTEleScore
Boosted Decision Tree score for electron rejection.
int TrackFilterQuality() const
@ cellBasedEnergyRing2
Ring 2: 0.05 < R < 0.075.
::StatusCode StatusCode
StatusCode definition for legacy code.
@ trkAvgDist
Get calibrated EM transverse energy (DEPRECATED since r19)
Class describing a tau jet.
bool isTau(TauJetParameters::IsTauFlag flag) const
Get Flag for tau acceptance based on predefined arbitrary criteria.
double etaJetSeed() const
void setTrackFilterProngs(int)
double seedCalo_stripWidth2() const
Get strip width ^2.
const JetLink_t & jetLink() const
Object for taus common for ESD and AOD.
virtual double phi() const
phi in [-pi,pi[
void setTrackFilterQuality(int)
unsigned int numCells() const
get number of cells associated to tau candidate
@ caloIsoCorrected
Get sum of transvers energy of clusters around jet seed within 0.2 < dR < 0.4 (pile up corrected)
double ptTauEtaCalib() const
virtual double eta() const
pseudo rapidity
TauJet_v3 TauJet
Definition of the current "tau version".
double seedCalo_caloIsoCorrected() const
Get sum of transvers energy of clusters around jet seed within 0.2 < dR < 0.4 (pile up corrected)
@ numTopoClusters
get number of topocluster constituents of jet associated to tau candidate
double cellBasedEnergyRing2() const
Ring 2: 0.05 < R < 0.075.
double phiTauEnergyScale() const
@ cellBasedEnergyRing5
Ring 5: 0.125 < R < 0.15.
unsigned int ROIWord() const
Retrieve ROI Word (trigger purposes)
double seedCalo_etEMAtEMScale() const
Get EM energy at EM scale.
double trFlightPathSig() const
Get Transverse flight path significance.
bool detail(TauJetParameters::Detail detail, int &value) const
Set veto flag.
Helpers for checking error return status codes and reporting errors.
@ BDTJetScore
Boosted Decision Tree socre for Jet rejection (not transformed)
value_type push_back(value_type pElem)
Add an element to the end of the collection.
@ nStrip
Get number of strips.
@ TRT_NHT_OVER_NLT
TRT hits high threshold over low threshold.
@ cellBasedEnergyRing3
Ring 3: 0.075 < R < 0.10.
@ numEffTopoClusters
get number of effective topocluster constituents of jet associated to tau candidate !...
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
@ BDTJetScore
discriminant for PDRS (used by tau1p3p)
double phiTauEtaCalib() const
@ BDTEleScore
Boosted Decision Tree score for electron rejection.
double leadTrkPt() const
Get leading track p_T.
double mIntermediateAxis() const
@ BDTJetScoreSigTrans
BDT score which is signal transformed/flattened.
void setROIWord(unsigned int)
#define ATH_MSG_WARNING(x)
double trkWidth2() const
Get track width ^2.
@ sumEMCellEtOverLeadTrkPt
virtual double pt() const
transverse momentum
index_type index() const
Get the index of the element inside of its container.
@ effTopoInvMass
get invariant mass from effective topoclusters of jet associated to tau candidate
void setDetail(TauJetParameters::Detail detail, int value)
@ isolFrac
Get isolation fraction.
unsigned int numTopoClusters() const
get number of topocluster constituents of jet associated to tau candidate
double ptIntermediateAxis() const
@ BDTJetScoreSigTrans
BDT score which is signal transformed/flattened.
unsigned int seedCalo_nWideTrk() const
Get number of seedCalo wide tracks.
@ EMRadius
Get E_T radius.
void setDiscriminant(TauJetParameters::TauID discID, double disc)
Set value of discriminant.
const Rec::TrackParticle * seedCalo_wideTrk(unsigned int i) const
Get seedCalo wide track.
double seedCalo_trkAvgDist() const
Get the average track distance to calorimeter seed.
double TRT_NHT_OVER_NLT() const
TRT hits high threshold over low threshold.
@ etEMAtEMScale
Get EM energy at EM scale.
double massTrkSys() const
Get track system invariant mass.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
int TrackFilterProngs() const
double topoMeanDeltaR() const
get mean distance to leading topocluster for topoclusters of jet associated to tau candidate
double seedCalo_isolFrac() const
Get isolation fraction.
int trackFilterProngs() const