ATLAS Offline Software
|
Functions | |
double | TruthLeadPt (const xAOD::DiTauJet &xDiTau) |
return the truth vis pT of the leading pT matched particle. More... | |
double | TruthSubleadPt (const xAOD::DiTauJet &xDiTau) |
return the truth vis pT of the subleading pT matched particle. More... | |
double | TruthDeltaR (const xAOD::DiTauJet &xDiTau) |
return the dR of between the leading and subleading pT matched particle. More... | |
void | split (const std::string &sInput, const char cDelim, std::vector< std::string > &vOut) |
void | split (TEnv &rEnv, const std::string &sIn, const char cDelim, std::vector< std::string > &vOut) |
void | split (TEnv &rEnv, const std::string &sIn, const char cDelim, std::vector< size_t > &vOut) |
void | split (TEnv &rEnv, const std::string &sIn, const char cDelim, std::vector< int > &vOut) |
void | split (TEnv &rEnv, const std::string &sIn, const char cDelim, std::vector< unsigned > &vOut) |
void | split (TEnv &rEnv, const std::string &sIn, const char cDelim, std::vector< float > &vOut) |
void | split (TEnv &rEnv, const std::string &sIn, const char cDelim, std::vector< double > &vOut) |
double | tauPt (const xAOD::TauJet &xTau) |
return tau pt in GeV More... | |
double | tauP (const xAOD::TauJet &xTau) |
return tau P in GeV More... | |
double | tauEta (const xAOD::TauJet &xTau) |
return tau eta More... | |
double | tauAbsEta (const xAOD::TauJet &xTau) |
return absolute tau eta More... | |
double | finalTauPt (const xAOD::TauJet &xTau) |
return MVA based tau pt in GeV More... | |
double | finalTauEta (const xAOD::TauJet &xTau) |
return MVA based tau eta More... | |
double | finalTauAbsEta (const xAOD::TauJet &xTau) |
return MVA based absolute tau eta More... | |
double | finalTauP (const xAOD::TauJet &xTau) |
return MVA based tau P in GeV More... | |
double | tauLeadTrackEta (const xAOD::TauJet &xTau) |
return leading charge tau track eta More... | |
double | truthTauPt (const xAOD::TauJet &xTau) |
return truth match tau pt in GeV (if hadronic truth tau match) More... | |
double | truthTauAbsEta (const xAOD::TauJet &xTau) |
return truth match tau eta (if hadronic truth tau match) More... | |
double | truthDecayMode (const xAOD::TauJet &xTau) |
return truth decay mode (if hadronic truth tau match) More... | |
const xAOD::TruthParticle * | getTruth (const xAOD::TauJet &xTau) |
xAOD::TauJetParameters::DecayMode | getTruthDecayMode (const xAOD::TruthParticle &xTruthTau) |
Get the Truth Decay Mode from TruthTau particle. More... | |
xAOD::TauJetParameters::DecayMode | getTruthDecayMode (const xAOD::TauJet &xTau) |
Get the Truth Decay Mode from TruthTau particle. More... | |
int | getNTauDecayParticles (const xAOD::TruthParticle &xTruthTau, int iPdgId, bool bCompareAbsoluteValues) |
Count truth matched decay particles of a particular PDGID. More... | |
bool | testFileForEOFContainsCharacters (const std::string &sFileName) |
returns true if last line in file is empty or the line starts with the number sign More... | |
void | createPi0Vectors (const xAOD::TauJet *xTau, std::vector< TLorentzVector > &vPi0s) |
void | correctedPi0Vectors (const xAOD::TauJet *xTau, std::vector< TLorentzVector > &correctedPi0s, TLorentzVector &TauP4) |
void | truthHadrons (const xAOD::TruthParticle *xTruthTau, std::vector< const xAOD::TruthParticle * > &vChargedHadrons, std::vector< const xAOD::TruthParticle * > &vNeutralHadrons) |
return charged and neutral daughters of truth tau More... | |
void | truthHadrons (const xAOD::TauJet *xTau, std::vector< const xAOD::TruthParticle * > &vChargedHadrons, std::vector< const xAOD::TruthParticle * > &vNeutralHadrons) |
return charged and neutral daughters of hadronic truth matched taujet More... | |
TruthMatchedParticleType | getTruthParticleType (const xAOD::TauJet &xTau) |
return TauJet match type More... | |
TruthMatchedParticleType | getTruthParticleType (const xAOD::DiTauJet &xDiTau) |
return DiTauJet match type More... | |
std::vector< const xAOD::TauJet * > | combineTauJetsWithMuonRM (const xAOD::TauJetContainer *taus_std, const xAOD::TauJetContainer *taus_muonRM) |
combine the standard taujets container with the muon removal container More... | |
Enumerator | |
---|---|
NoDiTauCut | |
DiTauCutPt | |
DiTauCutAbsEta | |
DiTauCutNSubjets |
Definition at line 55 of file PhysicsAnalysis/TauID/TauAnalysisTools/TauAnalysisTools/Enums.h.
Enumerator | |
---|---|
STAT | |
SYST |
Definition at line 88 of file PhysicsAnalysis/TauID/TauAnalysisTools/TauAnalysisTools/Enums.h.
Enumerator | |
---|---|
SFRecoHadTau | |
SFJetIDHadTau | |
SFEleIDHadTau | |
SFEleIDElectron | |
SFTriggerHadTau | |
SFDecayModeHadTau |
Definition at line 63 of file PhysicsAnalysis/TauID/TauAnalysisTools/TauAnalysisTools/Enums.h.
Enumerator | |
---|---|
ELEIDNONEUNCONFIGURED | |
ELEIDNONE | |
ELEIDRNNLOOSE | |
ELEIDRNNMEDIUM | |
ELEIDRNNTIGHT |
Definition at line 29 of file PhysicsAnalysis/TauID/TauAnalysisTools/TauAnalysisTools/Enums.h.
Definition at line 11 of file PhysicsAnalysis/TauID/TauAnalysisTools/TauAnalysisTools/Enums.h.
Enumerator | |
---|---|
NoCut | |
CutPt | |
CutAbsEta | |
CutPhi | |
CutNTrack | |
CutAbsCharge | |
CutJetIDWP | |
CutEleRNNScore | |
CutEleIDWP | |
CutMuonOLR | |
CutJetRNNScoreSigTrans | |
CutGNTauScoreSigTrans |
Definition at line 38 of file PhysicsAnalysis/TauID/TauAnalysisTools/TauAnalysisTools/Enums.h.
Enumerator | |
---|---|
UnclassifiedTrack | |
TauTrack | |
ConversionTrack | |
UnderlyingEventTrack | |
SecondaryTrack | |
PileupTrack | |
FakeTrack |
Definition at line 27 of file TauTruthTrackMatchingTool.h.
Enumerator | |
---|---|
Unknown | |
TruthHadronicTau | |
TruthLeptonicTau | |
TruthMuon | |
TruthElectron | |
TruthJet | |
TruthHadronicDiTau |
Definition at line 94 of file PhysicsAnalysis/TauID/TauAnalysisTools/TauAnalysisTools/Enums.h.
std::vector< const xAOD::TauJet * > TauAnalysisTools::combineTauJetsWithMuonRM | ( | const xAOD::TauJetContainer * | taus_std, |
const xAOD::TauJetContainer * | taus_muonRM | ||
) |
combine the standard taujets container with the muon removal container
Special function to combine the muon-removed taus with the standard taus. This can impact your MET calculation and OLR. You will know if you need this, otherwise please consult TauCP group.
Definition at line 620 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.
void TauAnalysisTools::correctedPi0Vectors | ( | const xAOD::TauJet * | xTau, |
std::vector< TLorentzVector > & | correctedPi0s, | ||
TLorentzVector & | TauP4 | ||
) |
Definition at line 379 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.
void TauAnalysisTools::createPi0Vectors | ( | const xAOD::TauJet * | xTau, |
std::vector< TLorentzVector > & | vPi0s | ||
) |
Definition at line 316 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.
double TauAnalysisTools::finalTauAbsEta | ( | const xAOD::TauJet & | xTau | ) |
return MVA based absolute tau eta
Definition at line 127 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.
double TauAnalysisTools::finalTauEta | ( | const xAOD::TauJet & | xTau | ) |
return MVA based tau eta
Definition at line 120 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.
double TauAnalysisTools::finalTauP | ( | const xAOD::TauJet & | xTau | ) |
return MVA based tau P in GeV
Definition at line 134 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.
double TauAnalysisTools::finalTauPt | ( | const xAOD::TauJet & | xTau | ) |
return MVA based tau pt in GeV
Definition at line 113 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.
int TauAnalysisTools::getNTauDecayParticles | ( | const xAOD::TruthParticle & | xTruthTau, |
int | iPdgId, | ||
bool | bCompareAbsoluteValues | ||
) |
Count truth matched decay particles of a particular PDGID.
xTruthTau | TruthTau |
iPdgId | PDGID to count over |
bCompareAbsoluteValues | true to ignore pdgid charge |
Definition at line 256 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.
const xAOD::TruthParticle * TauAnalysisTools::getTruth | ( | const xAOD::TauJet & | xTau | ) |
Definition at line 194 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.
xAOD::TauJetParameters::DecayMode TauAnalysisTools::getTruthDecayMode | ( | const xAOD::TauJet & | xTau | ) |
Get the Truth Decay Mode from TruthTau particle.
check hadronic truth match and get getTruthDecayMode from truth particle
Definition at line 211 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.
xAOD::TauJetParameters::DecayMode TauAnalysisTools::getTruthDecayMode | ( | const xAOD::TruthParticle & | xTruthTau | ) |
Get the Truth Decay Mode from TruthTau particle.
Counts p0 and charged Kaons and pions
xTruthTau | TruthParticle |
Definition at line 223 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.
TruthMatchedParticleType TauAnalysisTools::getTruthParticleType | ( | const xAOD::DiTauJet & | xDiTau | ) |
return DiTauJet match type
Definition at line 606 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.
TruthMatchedParticleType TauAnalysisTools::getTruthParticleType | ( | const xAOD::TauJet & | xTau | ) |
return TauJet match type
Definition at line 572 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.
void TauAnalysisTools::split | ( | const std::string & | sInput, |
const char | cDelim, | ||
std::vector< std::string > & | vOut | ||
) |
Definition at line 23 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.
void TauAnalysisTools::split | ( | TEnv & | rEnv, |
const std::string & | sIn, | ||
const char | cDelim, | ||
std::vector< double > & | vOut | ||
) |
Definition at line 77 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.
void TauAnalysisTools::split | ( | TEnv & | rEnv, |
const std::string & | sIn, | ||
const char | cDelim, | ||
std::vector< float > & | vOut | ||
) |
Definition at line 68 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.
void TauAnalysisTools::split | ( | TEnv & | rEnv, |
const std::string & | sIn, | ||
const char | cDelim, | ||
std::vector< int > & | vOut | ||
) |
Definition at line 50 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.
void TauAnalysisTools::split | ( | TEnv & | rEnv, |
const std::string & | sIn, | ||
const char | cDelim, | ||
std::vector< size_t > & | vOut | ||
) |
Definition at line 41 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.
void TauAnalysisTools::split | ( | TEnv & | rEnv, |
const std::string & | sIn, | ||
const char | cDelim, | ||
std::vector< std::string > & | vOut | ||
) |
Definition at line 32 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.
void TauAnalysisTools::split | ( | TEnv & | rEnv, |
const std::string & | sIn, | ||
const char | cDelim, | ||
std::vector< unsigned > & | vOut | ||
) |
Definition at line 59 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.
double TauAnalysisTools::tauAbsEta | ( | const xAOD::TauJet & | xTau | ) |
return absolute tau eta
Definition at line 106 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.
double TauAnalysisTools::tauEta | ( | const xAOD::TauJet & | xTau | ) |
return tau eta
Definition at line 99 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.
double TauAnalysisTools::tauLeadTrackEta | ( | const xAOD::TauJet & | xTau | ) |
return leading charge tau track eta
Definition at line 141 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.
double TauAnalysisTools::tauP | ( | const xAOD::TauJet & | xTau | ) |
return tau P in GeV
Definition at line 92 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.
double TauAnalysisTools::tauPt | ( | const xAOD::TauJet & | xTau | ) |
return tau pt in GeV
Definition at line 85 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.
bool TauAnalysisTools::testFileForEOFContainsCharacters | ( | const std::string & | sFileName | ) |
returns true if last line in file is empty or the line starts with the number sign
Definition at line 279 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.
double TauAnalysisTools::truthDecayMode | ( | const xAOD::TauJet & | xTau | ) |
return truth decay mode (if hadronic truth tau match)
Definition at line 186 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.
double TauAnalysisTools::TruthDeltaR | ( | const xAOD::DiTauJet & | xDiTau | ) |
return the dR of between the leading and subleading pT matched particle.
Definition at line 342 of file CommonDiTauEfficiencyTool.cxx.
void TauAnalysisTools::truthHadrons | ( | const xAOD::TauJet * | xTau, |
std::vector< const xAOD::TruthParticle * > & | vChargedHadrons, | ||
std::vector< const xAOD::TruthParticle * > & | vNeutralHadrons | ||
) |
return charged and neutral daughters of hadronic truth matched taujet
Definition at line 546 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.
void TauAnalysisTools::truthHadrons | ( | const xAOD::TruthParticle * | xTruthTau, |
std::vector< const xAOD::TruthParticle * > & | vChargedHadrons, | ||
std::vector< const xAOD::TruthParticle * > & | vNeutralHadrons | ||
) |
return charged and neutral daughters of truth tau
Definition at line 494 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.
double TauAnalysisTools::TruthLeadPt | ( | const xAOD::DiTauJet & | xDiTau | ) |
return the truth vis pT of the leading pT matched particle.
Definition at line 326 of file CommonDiTauEfficiencyTool.cxx.
double TauAnalysisTools::TruthSubleadPt | ( | const xAOD::DiTauJet & | xDiTau | ) |
return the truth vis pT of the subleading pT matched particle.
Definition at line 334 of file CommonDiTauEfficiencyTool.cxx.
double TauAnalysisTools::truthTauAbsEta | ( | const xAOD::TauJet & | xTau | ) |
return truth match tau eta (if hadronic truth tau match)
Definition at line 172 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.
double TauAnalysisTools::truthTauPt | ( | const xAOD::TauJet & | xTau | ) |
return truth match tau pt in GeV (if hadronic truth tau match)
Definition at line 158 of file PhysicsAnalysis/TauID/TauAnalysisTools/Root/HelperFunctions.cxx.