ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
Jet
JetRecTools
JetRecTools
ClusterAtEMScaleTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef JETRECTOOLS_CLUSTERATEMSCALETOOL_H
6
#define JETRECTOOLS_CLUSTERATEMSCALETOOL_H
7
8
// \class ClusterAtEMScaleTool
9
// \author Jennifer Roloff
10
// \date October 2016
11
//
12
13
14
#include "
JetRecTools/JetConstituentModifierBase.h
"
15
#include "
xAODBase/IParticleContainer.h
"
16
#include "
xAODCaloEvent/CaloClusterContainer.h
"
17
#include "
xAODCaloEvent/CaloCluster.h
"
18
#include "
AthContainers/CurrentContext.h
"
19
20
#include <string>
21
22
class
ClusterAtEMScaleTool
:
public
JetConstituentModifierBase
{
23
ASG_TOOL_CLASS
(
ClusterAtEMScaleTool
,
IJetConstituentModifier
)
24
25
public
:
26
27
ClusterAtEMScaleTool
(
const
std::string& name);
28
~ClusterAtEMScaleTool
();
29
30
// Check that the configuration is reasonable
31
StatusCode
initialize
() override final;
32
33
private
:
34
// Implement the correction
35
StatusCode
process_impl
(
xAOD
::
IParticleContainer
* cont,
const
EventContext& ctx)
const
override final;
36
StatusCode
setClustersToEMScale
(
xAOD
::
CaloClusterContainer
& cont)
const
;
37
38
39
40
};
41
42
43
#endif
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
CurrentContext.h
CaloClusterContainer.h
CaloCluster.h
JetConstituentModifierBase.h
IParticleContainer
DataVector< IParticle > IParticleContainer
Definition
NavFourMom/NavFourMom/IParticleContainer.h:29
CaloClusterContainer
Storable container for CaloCluster.
Definition
Calorimeter/CaloEvent/CaloEvent/CaloClusterContainer.h:37
ClusterAtEMScaleTool::process_impl
StatusCode process_impl(xAOD::IParticleContainer *cont, const EventContext &ctx) const override final
Definition
ClusterAtEMScaleTool.cxx:35
ClusterAtEMScaleTool::~ClusterAtEMScaleTool
~ClusterAtEMScaleTool()
ClusterAtEMScaleTool::ClusterAtEMScaleTool
ClusterAtEMScaleTool(const std::string &name)
Definition
ClusterAtEMScaleTool.cxx:11
ClusterAtEMScaleTool::initialize
StatusCode initialize() override final
Dummy implementation of the initialisation function.
Definition
ClusterAtEMScaleTool.cxx:15
ClusterAtEMScaleTool::setClustersToEMScale
StatusCode setClustersToEMScale(xAOD::CaloClusterContainer &cont) const
Definition
ClusterAtEMScaleTool.cxx:24
IJetConstituentModifier
Definition
IJetConstituentModifier.h:17
JetConstituentModifierBase::JetConstituentModifierBase
JetConstituentModifierBase(const std::string &name)
Definition
JetConstituentModifierBase.cxx:16
const
xAOD
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
Definition
ICaloAffectedTool.h:24
private
#define private
Definition
testRead.cxx:27
IParticleContainer.h
Generated on
for ATLAS Offline Software by
1.17.0