The tool class that takes care of copying the global selection flags to the individual working points. More...
#include <AnaToolSelectSpread.h>
Classes | |
struct | Data |
the data for the different selection steps | |
Public Member Functions | |
AnaToolSelectSpread (const std::string &name) | |
standard constructor | |
AnaToolSelectSpread (const std::string &name, const std::vector< std::string > &workingPoints, bool first) | |
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 spread |
The tool class that takes care of copying the global selection flags to the individual working points.
this is used twice (when using multiple working points), first to copy the selection flags from the working point independent tools to the different working points. then again after the overlap removal tool it copies over the objects that fail the overlap removal.
ana::AnaToolSelectSpread::AnaToolSelectSpread | ( | const std::string & | name | ) |
standard constructor
ana::AnaToolSelectSpread::AnaToolSelectSpread | ( | const std::string & | name, | |
const std::vector< std::string > & | workingPoints, | |||
bool | first | |||
) |
initializing constructor
StatusCode ana::AnaToolSelectSpread::execute | ( | IEventObjects & | objects | ) | [override, virtual] |
apply this analysis tool to the objects
objects | the objects to apply this too |
Implements ana::IAnaTool.
unsigned ana::AnaToolSelectSpread::inputTypes | ( | ) | const [override, virtual] |
unsigned ana::AnaToolSelectSpread::outputTypes | ( | ) | const [override, virtual] |
StatusCode ana::AnaToolSelectSpread::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.
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 |
Implements ana::IAnaTool.
AnalysisStep ana::AnaToolSelectSpread::step | ( | ) | const [override, virtual] |
StatusCode ana::AnaToolSelectSpread::useConfiguration | ( | const InternalConfiguration & | configuration | ) | [override, virtual] |
extract whatever we need from the given configuration object
Reimplemented from ana::AnaTool.