ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
RecoTools
IsolationTool
IsolationTool
IIsolationHelper.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ISOLATIONTOOL_IISOLATIONHELPERTOOL_H
6
#define ISOLATIONTOOL_IISOLATIONHELPERTOOL_H
7
8
#include "
AsgTools/AsgTool.h
"
9
#include "
RecoToolInterfaces/IsolationCommon.h
"
10
#include "
xAODPrimitives/IsolationType.h
"
11
#include <
xAODPrimitives/IsolationCorrection.h
>
12
#include <
xAODPrimitives/IsolationCorrectionHelper.h
>
13
#include <
xAODBase/IParticle.h
>
14
#include <
xAODEventShape/EventShape.h
>
15
#include "
xAODCore/ShallowCopy.h
"
16
#include "
xAODMuon/MuonContainer.h
"
17
18
struct
strObj;
19
20
namespace
CP
21
{
22
class
IIsolationHelper
:
public
virtual
asg::IAsgTool
{
23
24
ASG_TOOL_INTERFACE
(
CP::IIsolationHelper
)
25
26
public
:
27
virtual
bool
isolation
(
float
& value,
const
xAOD::IParticle
& par,
xAOD::Iso::IsolationType
type
)
const
= 0;
28
virtual
bool
isolation
(
float
& value,
const
xAOD::IParticle
& par,
xAOD::Iso::IsolationType
type
,
const
xAOD::Iso::IsolationCaloCorrectionBitset
& corrMask)
const
= 0;
29
virtual
bool
correctionBitset
(
xAOD::Iso::IsolationCaloCorrectionBitset
& mask,
const
xAOD::IParticle
& par,
xAOD::Iso::IsolationType
type
)
const
= 0;
30
virtual
bool
isolation
(
float
& value,
const
xAOD::IParticle
& par,
xAOD::Iso::IsolationType
type
,
const
std::vector<xAOD::Iso::IsolationCaloCorrection>& corrs)
const
= 0;
31
virtual
bool
correction
(
float
& value,
const
xAOD::IParticle
& par,
xAOD::Iso::IsolationType
type
,
const
xAOD::Iso::IsolationCaloCorrectionBitset
& corrMask)
const
= 0;
32
virtual
bool
getPileupCorrection
(
float
& value,
const
xAOD::IParticle
& par,
xAOD::Iso::IsolationType
type
,
xAOD::Iso::IsolationCaloCorrectionBitset
corrMask)
const
= 0;
33
virtual
bool
getPileupCorrection
(
float
& value,
const
xAOD::IParticle
& par,
xAOD::Iso::IsolationType
type
,
float
coreArea
)
const
= 0;
34
virtual
bool
updateIsolation
(
xAOD::MuonContainer
*& copy,
xAOD::ShallowAuxContainer
*& copyaux, std::vector<xAOD::Iso::IsolationType>&
types
,
xAOD::Iso::IsolationCaloCorrectionBitset
corrMask, std::string muonkey,
bool
recordSG)
const
= 0;
35
};
36
37
}
38
#endif
ASG_TOOL_INTERFACE
#define ASG_TOOL_INTERFACE(CLASSNAME)
Definition
AsgToolMacros.h:40
AsgTool.h
EventShape.h
IParticle.h
MuonContainer.h
IsolationCorrection.h
IsolationCommon.h
IsolationCorrectionHelper.h
IsolationType.h
ShallowCopy.h
CP::IIsolationHelper
Definition
IIsolationHelper.h:22
CP::IIsolationHelper::updateIsolation
virtual bool updateIsolation(xAOD::MuonContainer *©, xAOD::ShallowAuxContainer *©aux, std::vector< xAOD::Iso::IsolationType > &types, xAOD::Iso::IsolationCaloCorrectionBitset corrMask, std::string muonkey, bool recordSG) const =0
CP::IIsolationHelper::isolation
virtual bool isolation(float &value, const xAOD::IParticle &par, xAOD::Iso::IsolationType type, const std::vector< xAOD::Iso::IsolationCaloCorrection > &corrs) const =0
CP::IIsolationHelper::getPileupCorrection
virtual bool getPileupCorrection(float &value, const xAOD::IParticle &par, xAOD::Iso::IsolationType type, float coreArea) const =0
CP::IIsolationHelper::getPileupCorrection
virtual bool getPileupCorrection(float &value, const xAOD::IParticle &par, xAOD::Iso::IsolationType type, xAOD::Iso::IsolationCaloCorrectionBitset corrMask) const =0
CP::IIsolationHelper::isolation
virtual bool isolation(float &value, const xAOD::IParticle &par, xAOD::Iso::IsolationType type, const xAOD::Iso::IsolationCaloCorrectionBitset &corrMask) const =0
CP::IIsolationHelper::correctionBitset
virtual bool correctionBitset(xAOD::Iso::IsolationCaloCorrectionBitset &mask, const xAOD::IParticle &par, xAOD::Iso::IsolationType type) const =0
CP::IIsolationHelper::isolation
virtual bool isolation(float &value, const xAOD::IParticle &par, xAOD::Iso::IsolationType type) const =0
CP::IIsolationHelper::correction
virtual bool correction(float &value, const xAOD::IParticle &par, xAOD::Iso::IsolationType type, const xAOD::Iso::IsolationCaloCorrectionBitset &corrMask) const =0
asg::IAsgTool
Base class for the dual-use tool interface classes.
Definition
IAsgTool.h:41
xAOD::IParticle
Class providing the definition of the 4-vector interface.
Definition
Event/xAOD/xAODBase/xAODBase/IParticle.h:41
xAOD::ShallowAuxContainer
Class creating a shallow copy of an existing auxiliary container.
Definition
ShallowAuxContainer.h:50
CP
Select isolated Photons, Electrons and Muons.
Definition
Control/xAODRootAccess/xAODRootAccess/TEvent.h:27
xAOD::Iso::IsolationCaloCorrectionBitset
std::bitset< 32 > IsolationCaloCorrectionBitset
typedef of the bit word used to encode the corrections used to calculate the isolation
Definition
Event/xAOD/xAODPrimitives/xAODPrimitives/IsolationCorrection.h:114
xAOD::Iso::IsolationType
IsolationType
Overall enumeration for isolation types in xAOD files.
Definition
IsolationType.h:26
xAOD::Iso::coreArea
@ coreArea
area used to calculate this correction
Definition
Event/xAOD/xAODPrimitives/xAODPrimitives/IsolationCorrection.h:96
xAOD::types
static const EventInfo_v1::Accessor< std::vector< std::string > > types("streamTagTypes")
xAOD::MuonContainer
MuonContainer_v1 MuonContainer
Definition of the current "Muon container version".
Definition
Event/xAOD/xAODMuon/xAODMuon/MuonContainer.h:14
type
Generated on
for ATLAS Offline Software by
1.17.0