|
ATLAS Offline Software
|
Go to the documentation of this file.
20 m_inputEventShape(
"LCTopoEventShape"), m_outputEventShape(
""), m_eventDensityName(
"") {
41 return StatusCode::SUCCESS;
52 if ( handle_inOut.isValid() ) {
54 return StatusCode::SUCCESS;
58 std::unique_ptr<xAOD::EventShape> evs_ptr(evs);
61 std::unique_ptr<xAOD::EventShapeAuxInfo> evsaux_ptr( evsaux);
67 if ( ! h_out.record(std::move(evs_ptr), std::move(evsaux_ptr)) ) {
73 return StatusCode::SUCCESS;
82 inputES = handle_in.
cptr();
85 return StatusCode::FAILURE;
94 DensityAcc(*evs) = InputDensityAcc(*inputES);
95 DensitySigmaAcc(*evs) = InputDensitySigmaAcc(*inputES);
96 DensityAreaAcc(*evs) = InputDensityAreaAcc(*inputES);
98 return StatusCode::SUCCESS;
105 setProperty(
"InputEventShape",
"LCTopoEventShape").ignore();
106 setProperty(
"OutputEventShape",
"Kt4LCTopoEventShape").ignore();
107 setProperty(
"EventDensityName",
"DensityForJetsR4").ignore();
111 setProperty(
"InputEventShape",
"LCTopoEventShape").ignore();
112 setProperty(
"OutputEventShape",
"Kt6LCTopoEventShape").ignore();
113 setProperty(
"EventDensityName",
"DensityForJetsR6").ignore();
Auxiliary information about the event shapes.
const_pointer_type cptr()
Dereference the pointer.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
SG::ReadHandle< T > makeHandle(const SG::View *view, const SG::ReadHandleKey< T > &rhKey, const EventContext &context)
navigate from the TrigComposite to nearest view and fetch object from it
SG::ReadHandleKey< xAOD::EventShape > m_outputEventShapeIn
std::string m_eventDensityName
SG::ReadCondHandle< T > makeHandle(const SG::ReadCondHandleKey< T > &key, const EventContext &ctx=Gaudi::Hive::currentContext())
void renameEventDensities()
This function is only a convenience function for use in Standalone Analysis it avoids the need of con...
void setStore(const SG::IConstAuxStore *store)
Set the store associated with this object.
StatusCode initialize()
Initialization.
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode fillEventShape() const
Action.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
Data class for event shapes.
EventShapeCopier(const std::string &name)
Constructor with parameters:
Helper class to provide type-safe access to aux data.
SG::ReadHandleKey< xAOD::EventShape > m_inputEventShape
~EventShapeCopier()
Destructor:
#define ATH_MSG_WARNING(x)
EventShapeAuxInfo_v1 EventShapeAuxInfo
Definition of the latest event shape auxiliary info version.
Helper class to provide constant type-safe access to aux data.
EventShape_v1 EventShape
Definition of the current event format version.
SG::WriteHandleKey< xAOD::EventShape > m_outputEventShape