\(\tau\)

class TauSelector : public xAH::Algorithm

Public Functions

TauSelector()
~TauSelector()
virtual EL::StatusCode setupJob(EL::Job &job)
virtual EL::StatusCode fileExecute()
virtual EL::StatusCode histInitialize()
virtual EL::StatusCode changeInput(bool firstFile)
virtual EL::StatusCode initialize()
virtual EL::StatusCode execute()
virtual EL::StatusCode postExecute()
virtual EL::StatusCode finalize()
virtual EL::StatusCode histFinalize()
bool executeSelection(const xAOD::TauJetContainer *inTaus, float mcEvtWeight, bool countPass, ConstDataVector<xAOD::TauJetContainer> *selectedTaus)
virtual int passCuts(const xAOD::TauJet *tau)

Public Members

bool m_useCutFlow = true
std::string m_inContainerName = ""
std::string m_outContainerName
std::string m_outAuxContainerName
std::string m_inputAlgoSystNames = ""
std::string m_outputAlgoSystNames = "TauSelector_Syst"
bool m_decorateWithTracks = false
bool m_decorateSelectedObjects = true
std::string m_decorationName = "passSel"
bool m_createSelectedContainer = false
int m_nToProcess = -1
int m_pass_min = -1
int m_pass_max = -1
std::string m_ConfigPath = "xAODAnaHelpers/TauConf/00-01-19/Selection/recommended_selection_mc15.conf"
float m_minPtDAOD = 15e3
std::string m_JetIDWP = ""
std::string m_EleRNNWP = ""
bool m_EleID = true
std::string m_singleTauTrigChains = ""
std::string m_diTauTrigChains = ""

Private Members

int m_numEvent
int m_numObject
int m_numEventPass
int m_weightNumEventPass
int m_numObjectPass
TH1D *m_cutflowHist = nullptr
TH1D *m_cutflowHistW = nullptr
int m_cutflow_bin
bool m_isUsedBefore = false
TH1D *m_tau_cutflowHist_1 = nullptr
TH1D *m_tau_cutflowHist_2 = nullptr
int m_tau_cutflow_all
int m_tau_cutflow_selected
std::vector<std::string> m_singleTauTrigChainsList
std::vector<std::string> m_diTauTrigChainsList

/* contains all the HLT trigger chains tokens extracted from m_singleTauTrigChains */

asg::AnaToolHandle<TauAnalysisTools::ITauSelectionTool> m_tauSelTool_handle = {"TauAnalysisTools::TauSelectionTool/TauSelectionTool", this}

/* contains all the HLT trigger chains tokens extracted from m_diTauTrigChains */

asg::AnaToolHandle<Trig::TrigDecisionTool> m_trigDecTool_handle = {"Trig::TrigDecisionTool/TrigDecisionTool"}
asg::AnaToolHandle<Trig::IMatchingTool> m_trigTauMatchTool_handle
asg::AnaToolHandle<Trig::IMatchScoringTool> m_scoreTool = {"Trig::DRScoringTool/DRScoringTool"}
bool m_doTrigMatch = true

This internal variable gets set to false if no triggers are defined or if TrigDecisionTool is missing.