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

a specialized accessor to read a selection decoration from/to an xAOD object More...

#include <ISelectionReadAccessor.h>

Inheritance diagram for CP::ISelectionReadAccessor:
Collaboration diagram for CP::ISelectionReadAccessor:

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

ISelectionReadAccessoroperator= (const ISelectionReadAccessor &)=delete
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~ISelectionReadAccessor()

virtual CP::ISelectionReadAccessor::~ISelectionReadAccessor ( )
virtualdefaultnoexcept

standard (virtual) destructor

Member Function Documentation

◆ fillSystematics()

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

◆ getBits()

virtual SelectionType CP::ISelectionReadAccessor::getBits ( const SG::AuxElement element,
const CP::SystematicSet sys = nullptr 
) const
pure virtual

◆ getBool()

virtual bool CP::ISelectionReadAccessor::getBool ( const SG::AuxElement element,
const CP::SystematicSet sys = nullptr 
) const
pure virtual

◆ getInputAffecting()

virtual CP::SystematicSet CP::ISelectionReadAccessor::getInputAffecting ( const ISystematicsSvc svc,
const std::string &  objectName 
) const
pure virtual

◆ isBool()

virtual bool CP::ISelectionReadAccessor::isBool ( ) const
pure virtual

◆ label()

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

◆ operator=()

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

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