ATLAS Offline Software
|
a specialized accessor to read a selection decoration from/to an xAOD object More...
#include <ISelectionReadAccessor.h>
Public Member Functions | |
virtual | ~ISelectionReadAccessor () noexcept=default |
standard (virtual) destructor More... | |
virtual SelectionType | getBits (const SG::AuxElement &element, const CP::SystematicSet *sys=nullptr) const =0 |
get the selection decoration More... | |
virtual bool | getBool (const SG::AuxElement &element, const CP::SystematicSet *sys=nullptr) const =0 |
get the selection decoration More... | |
virtual std::string | label () const =0 |
get the label of the accessor More... | |
virtual bool | isBool () const =0 |
whether this accessor returns a simple boolean More... | |
virtual CP::SystematicSet | getInputAffecting (const ISystematicsSvc &svc, const std::string &objectName) const =0 |
get the systematics when reading from the decoration More... | |
virtual StatusCode | fillSystematics (const ISystematicsSvc &svc, const std::vector< CP::SystematicSet > &sysList, const std::string &objectName)=0 |
fill the systematic variations More... | |
Private Member Functions | |
ISelectionReadAccessor & | operator= (const ISelectionReadAccessor &)=delete |
a specialized accessor to read a selection decoration from/to an xAOD object
We have (at least) two conventions on how selection decorations can look like, the one from the CP algorithms/TAccept and the other from the derivation framework/overlap removal tool. This accessor is a base class with specific implementations for different conventions.
The actual interface has separate accessor functions for accessing as bitsets or as booleans. In part that is to avoid a lot of unnecessary back and forth conversions, but mostly it is to give us some more flexibility if we need to extend this in the future.
Definition at line 38 of file ISelectionReadAccessor.h.
|
virtualdefaultnoexcept |
standard (virtual) destructor
|
pure virtual |
fill the systematic variations
Implemented in CP::SelectionAccessorReadSys, CP::SelectionReadAccessorNull, CP::SelectionAccessorList, CP::SelectionReadAccessorInvert, CP::SelectionReadAccessorBits, CP::SelectionReadAccessorChar, CP::SelectionAccessorExprOr, and CP::SelectionAccessorExprNot.
|
pure virtual |
get the selection decoration
Implemented in CP::SelectionAccessorReadSys, CP::SelectionReadAccessorNull, CP::SelectionAccessorList, CP::SelectionReadAccessorInvert, CP::SelectionReadAccessorBits, CP::SelectionReadAccessorChar, and CP::SelectionAccessorExprBase.
|
pure virtual |
get the selection decoration
Implemented in CP::SelectionAccessorReadSys, CP::SelectionReadAccessorNull, CP::SelectionAccessorList, CP::SelectionReadAccessorInvert, CP::SelectionReadAccessorBits, CP::SelectionReadAccessorChar, CP::SelectionAccessorExprOr, and CP::SelectionAccessorExprNot.
|
pure virtual |
get the systematics when reading from the decoration
Implemented in CP::SelectionAccessorReadSys, CP::SelectionReadAccessorNull, CP::SelectionAccessorList, CP::SelectionReadAccessorInvert, CP::SelectionReadAccessorBits, CP::SelectionReadAccessorChar, CP::SelectionAccessorExprOr, and CP::SelectionAccessorExprNot.
|
pure virtual |
whether this accessor returns a simple boolean
Implemented in CP::SelectionAccessorReadSys, CP::SelectionReadAccessorNull, CP::SelectionAccessorList, CP::SelectionReadAccessorInvert, CP::SelectionReadAccessorBits, CP::SelectionReadAccessorChar, and CP::SelectionAccessorExprBase.
|
pure virtual |
get the label of the accessor
Implemented in CP::SelectionAccessorReadSys, CP::SelectionReadAccessorNull, CP::SelectionAccessorList, CP::SelectionReadAccessorInvert, CP::SelectionReadAccessorBits, CP::SelectionReadAccessorChar, CP::SelectionAccessorExprOr, and CP::SelectionAccessorExprNot.
|
privatedelete |