|
ATLAS Offline Software
|
Go to the documentation of this file.
8 #ifndef SELECTION_HELPERS__I_SELECTION_WRITE_ACCESSOR_H
9 #define SELECTION_HELPERS__I_SELECTION_WRITE_ACCESSOR_H
19 class ISystematicsSvc;
70 const std::
string& objectName) = 0;
84 bool defaultToChar = false);
a specialized accessor to write a selection decoration to an xAOD object
the interface for the central systematics service
virtual void setBool(const SG::AuxElement &element, bool selection, const CP::SystematicSet *sys=nullptr) const =0
set the selection decoration
uint32_t SelectionType
the type for selection decorations that are meant to hold a asg::AcceptData
Class to wrap a set of SystematicVariations.
StatusCode makeSelectionWriteAccessor(const std::string &name, std::unique_ptr< ISelectionWriteAccessor > &accessor, bool defaultToChar)
Produces a simple ISelectionWriteAccessor accessing the given decoration.
ISelectionWriteAccessor & operator=(const ISelectionWriteAccessor &)=delete
bool const RAWDATA *ch2 const
Select isolated Photons, Electrons and Muons.
virtual void setBits(const SG::AuxElement &element, SelectionType selection, const CP::SystematicSet *sys=nullptr) const =0
set the selection decoration
virtual std::string label() const =0
get the label of the accessor
::StatusCode StatusCode
StatusCode definition for legacy code.
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
AthROOTErrorHandlerSvc * svc
const std::string selection
const AccessorWrapper< T > * accessor(xAOD::JetAttribute::AttributeID id)
Returns an attribute accessor corresponding to an AttributeID.
virtual ~ISelectionWriteAccessor() noexcept=default
standard (virtual) destructor
Base class for elements of a container that can have aux data.