#include <OptimizedObjects.h>
Public Member Functions | |
void | testInvariant () const |
test the invariant of this object | |
OptimizedObjects (OptimizedStore *val_master, const CP::SystematicSet &val_systematics) | |
standard constructor | |
StatusCode | prepare () const |
do everything we need to do to prepare for a new event, i.e. make all the shallow copies | |
bool | passSelection () const |
check whether we currently pass the selection | |
virtual void * | getVoid (ObjectType type) const override |
get the object or object container for the given object type or NULL if it hasn't been filled (yet). | |
virtual StatusCode | addCopy (ObjectType type, const std::string &name) override |
add a shallow copy of the input container with the given name | |
virtual StatusCode | addNew (ObjectType type) override |
add a new container of the given type | |
virtual float | eventWeight () const override |
the event weight | |
const CP::SystematicSet & | systematics () const |
the systematics for these objects | |
void | fillEventData (const CP::SystematicSet &sys, EventData &eventData) const |
fill the given EventData structure for the given systematic | |
Friends | |
class | OptimizedStore |
An EventObjects container for specific systematic and object types at a specific point in the processing chain.
Used in the optimized tool scheduler.
ana::OptimizedObjects::OptimizedObjects | ( | OptimizedStore * | val_master, | |
const CP::SystematicSet & | val_systematics | |||
) |
standard constructor
StatusCode ana::OptimizedObjects::addCopy | ( | ObjectType | type, | |
const std::string & | name | |||
) | [override, virtual] |
add a shallow copy of the input container with the given name
Implements ana::IEventObjects.
StatusCode ana::OptimizedObjects::addNew | ( | ObjectType | type | ) | [override, virtual] |
add a new container of the given type
Implements ana::IEventObjects.
float ana::OptimizedObjects::eventWeight | ( | ) | const [override, virtual] |
the event weight
this is a dummy for now and the mechanism might change at some point
Implements ana::IEventObjects.
void ana::OptimizedObjects::fillEventData | ( | const CP::SystematicSet & | sys, | |
EventData & | eventData | |||
) | const |
void * ana::OptimizedObjects::getVoid | ( | ObjectType | type | ) | const [override, virtual] |
get the object or object container for the given object type or NULL if it hasn't been filled (yet).
Implements ana::IEventObjects.
bool ana::OptimizedObjects::passSelection | ( | ) | const |
StatusCode ana::OptimizedObjects::prepare | ( | ) | const |
do everything we need to do to prepare for a new event, i.e. make all the shallow copies
const CP::SystematicSet & ana::OptimizedObjects::systematics | ( | ) | const |
the systematics for these objects
void ana::OptimizedObjects::testInvariant | ( | ) | const |
test the invariant of this object