ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
Jet
JetMomentTools
JetMomentTools
JetVoronoiMomentsTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// JetVoronoiMomentsTool.h
6
7
#ifndef JETMOMENTTOOLS_JETVORONOIMOMENTSTOOL_H
8
#define JETMOMENTTOOLS_JETVORONOIMOMENTSTOOL_H
9
18
19
#include <string>
20
#include "
AsgTools/AsgTool.h
"
21
#include "
StoreGate/WriteDecorHandleKey.h
"
22
#include "
JetInterface/IJetDecorator.h
"
23
24
namespace
JetVoronoiDiagramHelpers
{
25
struct
Diagram
;
26
}
27
28
class
JetVoronoiMomentsTool
:
public
asg::AsgTool
,
29
virtual
public
IJetDecorator
{
30
ASG_TOOL_CLASS
(
JetVoronoiMomentsTool
,
IJetDecorator
)
31
32
public
:
33
34
// Constructor from tool name
35
JetVoronoiMomentsTool
(
const
std::string& name);
36
37
// Inherited from AsgTool via IJetDecorator
38
virtual
StatusCode
initialize
()
override
;
39
40
// Inherited method to decorate a jet container
41
virtual
StatusCode
decorate
(
const
xAOD::JetContainer
& jets)
const override
;
42
43
private
:
44
45
// parameters
46
Gaudi::Property<float>
m_x_min
{
this
,
"AreaXmin"
, -10,
47
"Minimum x-value for Voronoi diagram"
};
48
Gaudi::Property<float>
m_x_max
{
this
,
"AreaXmax"
, 10,
49
"Maximum x-value for Voronoi diagram"
};
50
Gaudi::Property<float>
m_y_min
{
this
,
"AreaYmin"
, -4,
51
"Minimum y-value for Voronoi diagram"
};
52
Gaudi::Property<float>
m_y_max
{
this
,
"AreaYmax"
, 4,
53
"Maximum y-value for Voronoi diagram"
};
54
Gaudi::Property<std::string>
m_jetContainerName
{
this
,
"JetContainer"
,
""
,
55
"SG key for the input jet container"
};
56
57
SG::WriteDecorHandleKey<xAOD::JetContainer>
m_voronoiAreaKey
{
this
,
"VoronoiAreaKey"
,
"VoronoiArea"
,
58
"SG key for Voronoi area decoration (not including jet container name)"
};
59
};
60
61
#endif
62
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
AsgTool.h
IJetDecorator.h
WriteDecorHandleKey.h
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
IJetDecorator
Interface for adding a decoration to a jet container.
Definition
IJetDecorator.h:21
JetVoronoiMomentsTool::initialize
virtual StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition
JetVoronoiMomentsTool.cxx:28
JetVoronoiMomentsTool::JetVoronoiMomentsTool
JetVoronoiMomentsTool(const std::string &name)
Definition
JetVoronoiMomentsTool.cxx:22
JetVoronoiMomentsTool::m_x_min
Gaudi::Property< float > m_x_min
Definition
JetVoronoiMomentsTool.h:46
JetVoronoiMomentsTool::m_jetContainerName
Gaudi::Property< std::string > m_jetContainerName
Definition
JetVoronoiMomentsTool.h:54
JetVoronoiMomentsTool::m_y_min
Gaudi::Property< float > m_y_min
Definition
JetVoronoiMomentsTool.h:50
JetVoronoiMomentsTool::m_y_max
Gaudi::Property< float > m_y_max
Definition
JetVoronoiMomentsTool.h:52
JetVoronoiMomentsTool::decorate
virtual StatusCode decorate(const xAOD::JetContainer &jets) const override
Decorate a jet collection without otherwise modifying it.
Definition
JetVoronoiMomentsTool.cxx:42
JetVoronoiMomentsTool::m_voronoiAreaKey
SG::WriteDecorHandleKey< xAOD::JetContainer > m_voronoiAreaKey
Definition
JetVoronoiMomentsTool.h:57
JetVoronoiMomentsTool::m_x_max
Gaudi::Property< float > m_x_max
Definition
JetVoronoiMomentsTool.h:48
SG::WriteDecorHandleKey
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
Definition
StoreGate/StoreGate/WriteDecorHandleKey.h:90
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition
AsgTool.h:47
JetVoronoiDiagramHelpers
Jakub Cuth May 2015.
Definition
JetVoronoiDiagramHelpers.h:40
xAOD::JetContainer
JetContainer_v1 JetContainer
Definition of the current "jet container version".
Definition
JetContainer.h:17
JetVoronoiDiagramHelpers::Diagram
Tool for calculating and storing diagram.
Definition
JetVoronoiDiagramHelpers.h:124
Generated on
for ATLAS Offline Software by
1.17.0