#include <IsolationSelectionTool.h>
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::TAccept & | accept (const xAOD::Photon &x) const |
Declare the interface that the class provides. | |
virtual const Root::TAccept & | accept (const xAOD::Electron &x) const |
virtual const Root::TAccept & | accept (const xAOD::Muon &x) const |
virtual const Root::TAccept & | accept (const strObj &x) const |
virtual const Root::TAccept & | accept (const xAOD::IParticle &x) const |
virtual const Root::TAccept & | getPhotonTAccept () const |
virtual const Root::TAccept & | getElectronTAccept () const |
virtual const Root::TAccept & | getMuonTAccept () const |
virtual const Root::TAccept & | getObjTAccept () 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 () |
Implementation of IIsolationSelectionTool
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..
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.