CP::IsolationSelectionTool Class Reference

#include <IsolationSelectionTool.h>

Inheritance diagram for CP::IsolationSelectionTool:
CP::IIsolationSelectionTool asg::AsgTool asg::IAsgTool asg::IAsgTool

List of all members.

Public Types

enum  IsoWPType { Efficiency, Cut }

Public Member Functions

 IsolationSelectionTool (const std::string &name)
 Create a proper constructor for Athena.
virtual ~IsolationSelectionTool ()
 Destructor.
virtual StatusCode initialize ()
 Function initialising the tool.
virtual StatusCode finalize ()
 Function finalizing the tool.
virtual const Root::TAcceptaccept (const xAOD::Photon &x) const
 Declare the interface that the class provides.
virtual const Root::TAcceptaccept (const xAOD::Electron &x) const
virtual const Root::TAcceptaccept (const xAOD::Muon &x) const
virtual const Root::TAcceptaccept (const strObj &x) const
virtual const Root::TAcceptaccept (const xAOD::IParticle &x) const
virtual const Root::TAcceptgetPhotonTAccept () const
virtual const Root::TAcceptgetElectronTAccept () const
virtual const Root::TAcceptgetMuonTAccept () const
virtual const Root::TAcceptgetObjTAccept () const
StatusCode addWP (std::string WP, xAOD::Type::ObjectType type)
StatusCode addWP (IsolationWP *wp, xAOD::Type::ObjectType type)
StatusCode addMuonWP (std::string wpname)
StatusCode addPhotonWP (std::string wpname)
StatusCode addElectronWP (std::string wpname)
StatusCode addUserDefinedWP (std::string WPname, xAOD::Type::ObjectType ObjType, std::vector< std::pair< xAOD::Iso::IsolationType, std::string > > &cuts, std::string key="", IsoWPType type=Efficiency)
StatusCode setIParticleCutsFrom (xAOD::Type::ObjectType ObjType)
void addCutToWP (IsolationWP *wp, std::string key, const xAOD::Iso::IsolationType t, const std::string expression)
std::vector< IsolationWP * > & getMuonWPs ()
std::vector< IsolationWP * > & getElectronWPs ()
std::vector< IsolationWP * > & getPhotonWPs ()
std::vector< IsolationWP * > & getObjWPs ()
void clearPhotonWPs ()
void clearElectronWPs ()
void clearMuonWPs ()

Detailed Description

Implementation of IIsolationSelectionTool

Author:
John Morris <john.morris@cern.ch>
Dongliang Zhang <dongliang.zhang@cern.ch>
Revision
704447
Date
2015-10-29 13:00:39 +0100 (Thu, 29 Oct 2015)

Constructor & Destructor Documentation

CP::IsolationSelectionTool::IsolationSelectionTool ( const std::string &  name  ) 

Create a proper constructor for Athena.

Constructor for standalone usage, but please do use the interface and ToolHandle

CP::IsolationSelectionTool::~IsolationSelectionTool (  )  [virtual]

Destructor.

need a fix? Some wp might be create by external code..


Member Function Documentation

StatusCode CP::IsolationSelectionTool::finalize (  )  [virtual]

Function finalizing the tool.

Return gracefully:

StatusCode CP::IsolationSelectionTool::initialize ( void   )  [virtual]

Function initialising the tool.

Greet the user:

setup working points

Return gracefully:

Reimplemented from asg::AsgTool.


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