QuickAna tool which wraps and applies the pileup reweighting. More...
#include <PileupTool.h>
Public Member Functions | |
PileupTool (const std::string &name) | |
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 |
StatusCode | initialize () override |
virtual StatusCode | execute (IEventObjects &objects) override |
Public Attributes | |
std::vector< std::string > | muDataFiles |
the files with the vertex distribution in data | |
std::vector< std::string > | muMcFiles |
the files with the vertex distribution for the current MC |
QuickAna tool which wraps and applies the pileup reweighting.
Official pileup reweighting twiki page: https://twiki.cern.ch/twiki/bin/view/AtlasProtected/ExtendedPileupReweighting
ana::PileupTool::PileupTool | ( | const std::string & | name | ) |
effects: standard constructor guarantee: strong failures: out of memory II
StatusCode ana::PileupTool::execute | ( | IEventObjects & | objects | ) | [override, virtual] |
effects: apply this analysis tool to the objects guarantee: basic failures: tool dependent
Implements ana::IAnaTool.
StatusCode ana::PileupTool::initialize | ( | void | ) | [override, virtual] |
effects: initialize this tool guarantee: basic failures: configuration errors
Reimplemented from asg::AsgTool.
unsigned ana::PileupTool::inputTypes | ( | ) | const [override, virtual] |
unsigned ana::PileupTool::outputTypes | ( | ) | const [override, virtual] |
StatusCode ana::PileupTool::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::PileupTool::step | ( | ) | const [override, virtual] |
returns: the processing step we are working on guarantee: no-fail
Implements ana::IAnaTool.