![]() |
ATLAS Offline Software
|
a specialized accessor to write a selection decoration to an xAOD object More...
#include <ISelectionWriteAccessor.h>
Public Member Functions | |
virtual | ~ISelectionWriteAccessor () noexcept=default |
standard (virtual) destructor More... | |
virtual void | setBits (const SG::AuxElement &element, SelectionType selection, const CP::SystematicSet *sys=nullptr) const =0 |
set the selection decoration More... | |
virtual void | setBool (const SG::AuxElement &element, bool selection, const CP::SystematicSet *sys=nullptr) const =0 |
set the selection decoration More... | |
virtual std::string | label () const =0 |
get the label of the accessor More... | |
virtual StatusCode | fillSystematics (const ISystematicsSvc &svc, const CP::SystematicSet &fullAffecting, const std::vector< CP::SystematicSet > &sysList, const std::string &objectName)=0 |
fill the systematic variations More... | |
Private Member Functions | |
ISelectionWriteAccessor & | operator= (const ISelectionWriteAccessor &)=delete |
a specialized accessor to write a selection decoration 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 ISelectionWriteAccessor.h.
|
virtualdefaultnoexcept |
standard (virtual) destructor
|
pure virtual |
fill the systematic variations
Implemented in CP::SelectionWriteAccessorNull, CP::SelectionWriteAccessorSys, CP::SelectionWriteAccessorInvert, CP::SelectionWriteAccessorBits, and CP::SelectionWriteAccessorChar.
|
pure virtual |
get the label of the accessor
Implemented in CP::SelectionWriteAccessorNull, CP::SelectionWriteAccessorSys, CP::SelectionWriteAccessorInvert, CP::SelectionWriteAccessorBits, and CP::SelectionWriteAccessorChar.
|
privatedelete |
|
pure virtual |
set the selection decoration
Implemented in CP::SelectionWriteAccessorNull, CP::SelectionWriteAccessorSys, CP::SelectionWriteAccessorInvert, CP::SelectionWriteAccessorBits, and CP::SelectionWriteAccessorChar.
|
pure virtual |
set the selection decoration
Implemented in CP::SelectionWriteAccessorNull, CP::SelectionWriteAccessorSys, CP::SelectionWriteAccessorInvert, CP::SelectionWriteAccessorBits, and CP::SelectionWriteAccessorChar.