Public Member Functions | |
TauSelectionTool (const std::string &name) | |
Constructor for standalone usage. | |
virtual StatusCode | initialize () |
Function initialising the tool. | |
virtual StatusCode virtual initializeEvent() __attribute__((deprecated("This function is deprecated. Please remove it from your code.\nFor further information please refer to the README const Root::TAccept& | accept (const xAOD::IParticle *p) const |
Function initialising the tool. | |
virtual const Root::TAccept & | accept (const xAOD::TauJet &tau) const |
Get the decision for a specific TauJet object. | |
void | setOutFile (TFile *fOutFile) |
Set output file for control histograms. | |
void | writeControlHistograms () |
Write control histograms to output file. | |
Protected Attributes | |
TFile * | m_fOutFile |
std::shared_ptr< TH1F > | m_hCutFlow |
bool | m_bCreateControlPlots |
Root::TAccept | m_aAccept |
Object used to store the last decision. | |
Friends | |
class | SelectionCut |
class | SelectionCutPt |
class | SelectionCutAbsEta |
class | SelectionCutAbsCharge |
class | SelectionCutNTracks |
class | SelectionCutBDTJetScore |
class | SelectionCutJetIDWP |
class | SelectionCutBDTEleScore |
class | SelectionCutEleBDTWP |
class | SelectionCutEleOLR |
class | SelectionCutMuonVeto |
class | SelectionCutMuonOLR |
const Root::TAccept & TauSelectionTool::accept | ( | const xAOD::IParticle * | p | ) | const [virtual] |
Function initialising the tool.
Get the decision using a generic IParticle pointer
Implements IAsgSelectionTool.
void TauSelectionTool::writeControlHistograms | ( | ) | [virtual] |
Write control histograms to output file.
create output directory
write cutflow histogram
delete cut pointer, which in case m_bCreateControlPlots==true also writes histograms
Implements TauAnalysisTools::ITauSelectionTool.
friend class SelectionCut [friend] |
need to define cut classes to be friends to access protected variables, needed for access of cut thresholds