TODO: needs documentation. More...
#include <QuickAna.h>
Classes | |
struct | Pimpl |
Public Member Functions | |
void | testInvariant () const |
QuickAna (const std::string &name) | |
~QuickAna () | |
QuickAna (const QuickAna &that) | |
rationale: no slicing | |
QuickAna & | operator= (const QuickAna &that) |
virtual StatusCode | initialize () override |
virtual bool | isAffectedBySystematic (const CP::SystematicVariation &systematic) const override |
virtual CP::SystematicSet | affectingSystematics () const override |
virtual CP::SystematicSet | recommendedSystematics () const override |
virtual CP::SystematicCode | applySystematicVariation (const CP::SystematicSet &systConfig) override |
virtual StatusCode | process () override |
virtual float | weight () override |
virtual float | eventWeight () override |
virtual const IEventObjects & | objects () const override |
virtual const InternalConfiguration & | internalConfiguration () override |
virtual xAOD::EventInfo * | eventinfo () const override |
virtual xAOD::MuonContainer * | muons () const override |
virtual xAOD::ElectronContainer * | electrons () const override |
virtual xAOD::PhotonContainer * | photons () const override |
virtual xAOD::TauJetContainer * | taus () const override |
virtual xAOD::JetContainer * | jets () const override |
virtual xAOD::JetContainer * | fat_jets () const override |
virtual xAOD::MissingET * | met () const override |
virtual xAOD::MissingET * | met2 () const override |
virtual const std::vector < CP::SystematicSet > & | systematics () const override |
the list of systematics configured | |
virtual StatusCode | setSystematics (const std::vector< CP::SystematicSet > &val_systematics) override |
set the value of systematics | |
virtual EventData | getEventData () const override |
make an EventData object describing the objects created | |
Public Attributes | |
std::unique_ptr< IToolScheduler > | toolScheduler |
description: the tool scheduler we use |
TODO: needs documentation.
ana::QuickAna::QuickAna | ( | const std::string & | name | ) |
effects: standard constructor guarantee: strong failures: out of memory II
ana::QuickAna::~QuickAna | ( | ) |
effects: standard destructor guarantee: no-fail
CP::SystematicSet ana::QuickAna::affectingSystematics | ( | ) | const [override, virtual] |
returns: the list of all systematics this tool can be affected by guarantee: strong failures: out of memory II
Implements CP::ISystematicsTool.
CP::SystematicCode ana::QuickAna::applySystematicVariation | ( | const CP::SystematicSet & | systConfig | ) | [override, virtual] |
effects: configure this tool for the given list of systematic variations. any requested systematics that are not affecting this tool will be silently ignored (unless they cause other errors). guarantee: basic failures: systematic unknown failures: requesting multiple variations on the same systematic (e.g. up & down) failures: requesting an unsupported variation on an otherwise supported systematic (e.g. a 2 sigma variation and the tool only supports 1 sigma variations) failures: unsupported combination of supported systematic failures: other tool specific errors
Implements CP::ISystematicsTool.
xAOD::EventInfo * ana::QuickAna::eventinfo | ( | ) | const [override, virtual] |
description: the various object collections we are using, or NULL if they are disabled guarantee: no-fail
Implements ana::IQuickAna.
float ana::QuickAna::eventWeight | ( | ) | [override, virtual] |
description: the weight for the event (without object weights) guarantee: no-fail
Implements ana::IQuickAna.
EventData ana::QuickAna::getEventData | ( | ) | const [override, virtual] |
make an EventData object describing the objects created
Implements ana::IQuickAna.
StatusCode ana::QuickAna::initialize | ( | void | ) | [override, virtual] |
effects: initialize this tool guarantee: basic failures: configuration errors
Reimplemented from asg::AsgTool.
const InternalConfiguration & ana::QuickAna::internalConfiguration | ( | ) | [override, virtual] |
get the internal configuration structure
Implements ana::IQuickAna.
bool ana::QuickAna::isAffectedBySystematic | ( | const CP::SystematicVariation & | systematic | ) | const [override, virtual] |
returns: whether this tool is affected by the given systematis guarantee: strong failures: out of memory II
Implements CP::ISystematicsTool.
const IEventObjects & ana::QuickAna::objects | ( | ) | const [override, virtual] |
description the overall object structure guarantee: no-fail
Implements ana::IQuickAna.
StatusCode ana::QuickAna::process | ( | ) | [override, virtual] |
effects: process the given event guarantee: basic
Implements ana::IQuickAna.
CP::SystematicSet ana::QuickAna::recommendedSystematics | ( | ) | const [override, virtual] |
returns: the list of all systematics this tool recommends to use guarantee: strong failures: out of memory II
Implements CP::ISystematicsTool.
StatusCode ana::QuickAna::setSystematics | ( | const std::vector< CP::SystematicSet > & | val_systematics | ) | [override, virtual] |
set the value of systematics
Implements ana::IQuickAna.
const std::vector< CP::SystematicSet > & ana::QuickAna::systematics | ( | ) | const [override, virtual] |
void ana::QuickAna::testInvariant | ( | ) | const |
effects: test the invariant of this object guarantee: no-fail
float ana::QuickAna::weight | ( | ) | [override, virtual] |
effects: calculate the weight for this event returns: the calculated weight guarantee: basic failures: tool dependent
Implements ana::IQuickAna.