The tool class implementing basic object retrieval. More...
#include <AnaToolRetrieve.h>
Public Member Functions | |
AnaToolRetrieve (const std::string &name) | |
standard constructor | |
AnaToolRetrieve (const std::string &name, const std::string &containerName) | |
initializing constructor | |
virtual StatusCode | setObjectType (ObjectType type, const std::string &workingPoint) override |
set the object type to work on | |
virtual AnalysisStep | step () const override |
the processing step we are working on | |
virtual unsigned | inputTypes () const override |
a bit-map indicating which object types we use | |
virtual unsigned | outputTypes () const override |
a bit-map indicating which output types we will create | |
virtual void | fillEventDataSource (EventData &event) const override |
fill the source component of the EventData | |
virtual StatusCode | execute (IEventObjects &objects) override |
apply this analysis tool to the objects | |
virtual StatusCode | getInitialConfiguration (InternalConfiguration &conf) override |
fill the initial configuration before initialize | |
Public Attributes | |
std::string | m_containerName |
The tool class implementing basic object retrieval.
ana::AnaToolRetrieve::AnaToolRetrieve | ( | const std::string & | name | ) |
standard constructor
ana::AnaToolRetrieve::AnaToolRetrieve | ( | const std::string & | name, | |
const std::string & | containerName | |||
) |
initializing constructor
StatusCode ana::AnaToolRetrieve::execute | ( | IEventObjects & | objects | ) | [override, virtual] |
apply this analysis tool to the objects
objects | the objects to apply this too |
Implements ana::IAnaTool.
void ana::AnaToolRetrieve::fillEventDataSource | ( | EventData & | event | ) | const [override, virtual] |
fill the source component of the EventData
This is meant to be implemented by the retrieval tools that perform the shallow copy to document what they do. All other tools can safely ignore this.
Reimplemented from ana::AnaTool.
StatusCode ana::AnaToolRetrieve::getInitialConfiguration | ( | InternalConfiguration & | conf | ) | [override, virtual] |
fill the initial configuration before initialize
this is mostly used so that retrieval tools can broadcast the input collections they are using
Reimplemented from ana::AnaTool.
unsigned ana::AnaToolRetrieve::inputTypes | ( | ) | const [override, virtual] |
unsigned ana::AnaToolRetrieve::outputTypes | ( | ) | const [override, virtual] |
StatusCode ana::AnaToolRetrieve::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::AnaToolRetrieve::step | ( | ) | const [override, virtual] |