ana::AnaToolSelectCombine Class Reference

The tool class that merges the selection flags from the different workings points into a single one. More...

#include <AnaToolSelectCombine.h>

Inheritance diagram for ana::AnaToolSelectCombine:
ana::IAnaTool ana::AnaTool CP::ISystematicsTool ana::IAnaTool asg::AsgTool asg::IAsgTool CP::ISystematicsTool asg::IAsgTool asg::IAsgTool

List of all members.

Classes

struct  Data
 the data for the different selection steps

Public Member Functions

 AnaToolSelectCombine (const std::string &name)
 standard constructor
 AnaToolSelectCombine (const std::string &name, const std::vector< std::string > &workingPoints)
 initializing constructor
virtual StatusCode setObjectType (ObjectType type, const std::string &workingPoint) override
virtual AnalysisStep step () const override
virtual unsigned inputTypes () const override
virtual unsigned outputTypes () const override
virtual StatusCode useConfiguration (const InternalConfiguration &configuration) override
virtual StatusCode execute (IEventObjects &objects) override

Public Attributes

std::vector< std::string > m_workingPoints
 the list of working points to combine

Detailed Description

The tool class that merges the selection flags from the different workings points into a single one.


Constructor & Destructor Documentation

ana::AnaToolSelectCombine::AnaToolSelectCombine ( const std::string &  name  ) 

standard constructor

Guarantee
strong
Failures
out of memory II
ana::AnaToolSelectCombine::AnaToolSelectCombine ( const std::string &  name,
const std::vector< std::string > &  workingPoints 
)

initializing constructor

Guarantee
strong
Failures
out of memory II

Member Function Documentation

StatusCode ana::AnaToolSelectCombine::execute ( IEventObjects objects  )  [override, virtual]

apply this analysis tool to the objects

Parameters:
objects the objects to apply this too
Guarantee
basic
Failures
tool dependent

Implements ana::IAnaTool.

unsigned ana::AnaToolSelectCombine::inputTypes (  )  const [override, virtual]

a bit-map indicating which object types we use

Guarantee
no-fail

Implements ana::IAnaTool.

unsigned ana::AnaToolSelectCombine::outputTypes (  )  const [override, virtual]

a bit-map indicating which output types we will create

Guarantee
no-fail

Implements ana::IAnaTool.

StatusCode ana::AnaToolSelectCombine::setObjectType ( ObjectType  type,
const std::string &  workingPoint 
) [override, virtual]

set the object type to work on this is called straight after the tool is created and before it is initialized. the primary reason for this function is to allow jet definitions to be used for either jets or fat jets.

Parameters:
type the object type we work on
workingPoint the name of the working point we are working on or the empty string if this is a sole working point or working points do not apply
Guarantee
strong
Failures
unsupported object type this interface may change when I introduce multiple simultaneous working points

Implements ana::IAnaTool.

AnalysisStep ana::AnaToolSelectCombine::step (  )  const [override, virtual]

the processing step we are working on

Guarantee
no-fail

Implements ana::IAnaTool.

StatusCode ana::AnaToolSelectCombine::useConfiguration ( const InternalConfiguration configuration  )  [override, virtual]

extract whatever we need from the given configuration object

Guarantee
basic
Failures
tool failures

Reimplemented from ana::AnaTool.


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