|
ATLAS Offline Software
|
Go to the documentation of this file.
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));
std::bitset< 32 > IsolationCaloCorrectionBitset
typedef of the bit word used to encode the corrections used to calculate the isolation
helper to encode and decode the isolation corrections
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
@ numIsolationTrackCorrections
unknown
@ numIsolationCaloCorrections
unknown
static void decode(const IsolationTrackCorrectionBitset &bitset, std::vector< IsolationTrackCorrection > &results)
decode the bitset into the individual corrections
IsolationCaloCorrection
Enumeration for different ways of correcting isolation in xAOD files.
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
std::bitset< 32 > IsolationTrackCorrectionBitset
static void encode(const std::vector< IsolationTrackCorrection > &values, IsolationTrackCorrectionBitset &bitset)
encode the bitset given a vector of corrections
static void decode(const IsolationCaloCorrectionBitset &bitset, std::vector< IsolationCaloCorrection > &results)
decode the bitset into the individual corrections