TauAnalysisTools::TauSelectionTool Class Reference

Inheritance diagram for TauAnalysisTools::TauSelectionTool:
IAsgSelectionTool TauAnalysisTools::ITauSelectionTool asg::AsgMetadataTool asg::IAsgTool asg::IAsgTool asg::AsgTool asg::IAsgTool

List of all members.

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::TAcceptaccept (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

Member Function Documentation

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.


Friends And Related Function Documentation

friend class SelectionCut [friend]

need to define cut classes to be friends to access protected variables, needed for access of cut thresholds


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1