ATLAS Offline Software
EventShapeCopier.h
Go to the documentation of this file.
1 // EventDensityTool.h -*- C++ -*-
2 
3 /*
4  Copyright (C) 2002-2021 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"
33 
35  public asg::AsgTool,
36  virtual public ::IEventShapeTool {
38 
39 public:
40 
42  EventShapeCopier( const std::string& name);
43 
46 
49 
51  StatusCode fillEventShape() const;
53 
59  void renameEventDensities();
60 protected:
61  // DataHandles
65 
66  std::string m_eventDensityName;
67 
68 };
69 
70 #endif
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition: AsgTool.h:47
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:39
EventShapeCopier::m_outputEventShapeIn
SG::ReadHandleKey< xAOD::EventShape > m_outputEventShapeIn
Definition: EventShapeCopier.h:62
EventShapeCopier::m_eventDensityName
std::string m_eventDensityName
Definition: EventShapeCopier.h:66
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition: StoreGate/StoreGate/WriteHandleKey.h:40
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
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
EventShapeCopier
Definition: EventShapeCopier.h:36
IEventShapeTool.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
EventShapeCopier::fillEventShape
StatusCode fillEventShape() const
Action.
Definition: EventShapeCopier.cxx:46
xAOD::EventShape_v1
Data class for event shapes.
Definition: EventShape_v1.h:28
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
EventShapeCopier::EventShapeCopier
EventShapeCopier(const std::string &name)
Constructor with parameters:
Definition: EventShapeCopier.cxx:18
EventShapeCopier::m_inputEventShape
SG::ReadHandleKey< xAOD::EventShape > m_inputEventShape
Definition: EventShapeCopier.h:63
EventShapeCopier::~EventShapeCopier
~EventShapeCopier()
Destructor:
Definition: EventShapeCopier.cxx:29
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition: AsgToolMacros.h:68
AsgTool.h
EventShapeCopier::m_outputEventShape
SG::WriteHandleKey< xAOD::EventShape > m_outputEventShape
Definition: EventShapeCopier.h:64