7#ifndef XAODPRIMITIVES_ISOLATIONCORRECTIONHELPER_H
8#define XAODPRIMITIVES_ISOLATIONCORRECTIONHELPER_H
31 for(
auto value :
values ){
32 bitset.set(
static_cast<int>(value));
54 for(
auto value :
values ){
55 bitset.set(
static_cast<int>(value));
helper to encode and decode the isolation corrections
static void decode(const IsolationCaloCorrectionBitset &bitset, std::vector< IsolationCaloCorrection > &results)
decode the bitset into the individual corrections
static void encode(const std::vector< IsolationCaloCorrection > &values, IsolationCaloCorrectionBitset &bitset)
encode the bitset given a vector of corrections
helper to encode and decode the isolation corrections
static void decode(const IsolationTrackCorrectionBitset &bitset, std::vector< IsolationTrackCorrection > &results)
decode the bitset into the individual corrections
static void encode(const std::vector< IsolationTrackCorrection > &values, IsolationTrackCorrectionBitset &bitset)
encode the bitset given a vector of corrections
Namespace holding the IsolationType enumeration.
std::bitset< 32 > IsolationCaloCorrectionBitset
typedef of the bit word used to encode the corrections used to calculate the isolation
std::bitset< 32 > IsolationTrackCorrectionBitset
@ numIsolationTrackCorrections
unknown
IsolationCaloCorrection
Enumeration for different ways of correcting isolation in xAOD files.
@ numIsolationCaloCorrections
unknown
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
static AUXSTORE_PRIMITIVE_SETTER_AND_GETTER(EmTauRoI_v1, uint32_t, roiWord, setRoIWord) uint32_t EmTauRoI_v1 const SG::AuxElement::Accessor< std::vector< float > > values("thrValues")
This is a convenience function for accessing the threshold pattern part of the RoI.