ATLAS Offline Software
Public Member Functions | Private Member Functions | List of all members
CP::ISelectionWriteAccessor Class Referenceabstract

a specialized accessor to write a selection decoration to an xAOD object More...

#include <ISelectionWriteAccessor.h>

Inheritance diagram for CP::ISelectionWriteAccessor:
Collaboration diagram for CP::ISelectionWriteAccessor:

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

ISelectionWriteAccessoroperator= (const ISelectionWriteAccessor &)=delete
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~ISelectionWriteAccessor()

virtual CP::ISelectionWriteAccessor::~ISelectionWriteAccessor ( )
virtualdefaultnoexcept

standard (virtual) destructor

Member Function Documentation

◆ fillSystematics()

virtual StatusCode CP::ISelectionWriteAccessor::fillSystematics ( const ISystematicsSvc svc,
const CP::SystematicSet fullAffecting,
const std::vector< CP::SystematicSet > &  sysList,
const std::string &  objectName 
)
pure virtual

◆ label()

virtual std::string CP::ISelectionWriteAccessor::label ( ) const
pure virtual

◆ operator=()

ISelectionWriteAccessor& CP::ISelectionWriteAccessor::operator= ( const ISelectionWriteAccessor )
privatedelete

◆ setBits()

virtual void CP::ISelectionWriteAccessor::setBits ( const SG::AuxElement element,
SelectionType  selection,
const CP::SystematicSet sys = nullptr 
) const
pure virtual

◆ setBool()

virtual void CP::ISelectionWriteAccessor::setBool ( const SG::AuxElement element,
bool  selection,
const CP::SystematicSet sys = nullptr 
) const
pure virtual

The documentation for this class was generated from the following file: