![]() |
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 | |
| virtual void | setBits (const SG::AuxElement &element, SelectionType selection, const CP::SystematicSet *sys=nullptr) const =0 |
| set the selection decoration | |
| virtual void | setBool (const SG::AuxElement &element, bool selection, const CP::SystematicSet *sys=nullptr) const =0 |
| set the selection decoration | |
| virtual std::string | label () const =0 |
| get the label of the accessor | |
| 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 | |
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::SelectionWriteAccessorBits, CP::SelectionWriteAccessorChar, CP::SelectionWriteAccessorInvert, CP::SelectionWriteAccessorNull, and CP::SelectionWriteAccessorSys.
|
pure virtual |
get the label of the accessor
Implemented in CP::SelectionWriteAccessorBits, CP::SelectionWriteAccessorChar, CP::SelectionWriteAccessorInvert, CP::SelectionWriteAccessorNull, and CP::SelectionWriteAccessorSys.
|
privatedelete |
|
pure virtual |
set the selection decoration
Implemented in CP::SelectionWriteAccessorBits, CP::SelectionWriteAccessorChar, CP::SelectionWriteAccessorInvert, CP::SelectionWriteAccessorNull, and CP::SelectionWriteAccessorSys.
|
pure virtual |
set the selection decoration
Implemented in CP::SelectionWriteAccessorBits, CP::SelectionWriteAccessorChar, CP::SelectionWriteAccessorInvert, CP::SelectionWriteAccessorNull, and CP::SelectionWriteAccessorSys.