ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Reconstruction
EventShapes
EventShapeTools
EventShapeTools
EventShapeCopier.h
Go to the documentation of this file.
1
// EventDensityTool.h -*- C++ -*-
2
3
/*
4
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
8
#ifndef EVENTSHAPETOOLS_EVENTSHAPECOPIER_H
9
#define EVENTSHAPETOOLS_EVENTSHAPECOPIER_H
10
28
29
#include "
AsgTools/AsgTool.h
"
30
#include "
EventShapeInterface/IEventShapeTool.h
"
31
#include "
AsgDataHandles/ReadHandleKey.h
"
32
#include "
AsgDataHandles/WriteHandleKey.h
"
33
34
class
EventShapeCopier
:
35
public
asg::AsgTool
,
36
virtual
public
::IEventShapeTool
{
37
ASG_TOOL_CLASS
(
EventShapeCopier
,
IEventShapeTool
)
38
39
public
:
40
42
EventShapeCopier
(
const
std::string& name);
43
45
~EventShapeCopier
();
46
48
StatusCode
initialize
();
49
51
StatusCode
fillEventShape
()
const
;
52
StatusCode
fillEventShape
(
xAOD::EventShape
* es)
const
;
53
59
void
renameEventDensities
();
60
protected
:
61
// Handles
62
SG::ReadHandleKey<xAOD::EventShape>
m_outputEventShapeIn
;
63
SG::ReadHandleKey<xAOD::EventShape>
m_inputEventShape
;
64
SG::WriteHandleKey<xAOD::EventShape>
m_outputEventShape
;
65
66
std::string
m_eventDensityName
;
67
68
};
69
70
#endif
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
AsgTool.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
IEventShapeTool.h
EventShapeCopier::~EventShapeCopier
~EventShapeCopier()
Destructor:
Definition
EventShapeCopier.cxx:29
EventShapeCopier::m_outputEventShapeIn
SG::ReadHandleKey< xAOD::EventShape > m_outputEventShapeIn
Definition
EventShapeCopier.h:62
EventShapeCopier::renameEventDensities
void renameEventDensities()
This function is only a convenience function for use in Standalone Analysis it avoids the need of con...
Definition
EventShapeCopier.cxx:119
EventShapeCopier::initialize
StatusCode initialize()
Initialization.
Definition
EventShapeCopier.cxx:33
EventShapeCopier::m_outputEventShape
SG::WriteHandleKey< xAOD::EventShape > m_outputEventShape
Definition
EventShapeCopier.h:64
EventShapeCopier::fillEventShape
StatusCode fillEventShape() const
Action.
Definition
EventShapeCopier.cxx:46
EventShapeCopier::m_inputEventShape
SG::ReadHandleKey< xAOD::EventShape > m_inputEventShape
Definition
EventShapeCopier.h:63
EventShapeCopier::EventShapeCopier
EventShapeCopier(const std::string &name)
Constructor with parameters:
Definition
EventShapeCopier.cxx:18
EventShapeCopier::m_eventDensityName
std::string m_eventDensityName
Definition
EventShapeCopier.h:66
IEventShapeTool
Definition
IEventShapeTool.h:23
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition
AsgTool.h:47
xAOD::EventShape
EventShape_v1 EventShape
Definition of the current event format version.
Definition
EventShape.h:16
Generated on
for ATLAS Offline Software by
1.17.0