ATLAS Offline Software
Loading...
Searching...
No Matches
EventDecoratorAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7
8#ifndef ASG_ANALYSIS_ALGORITHMS__EVENT_DECORATOR_ALG_H
9#define ASG_ANALYSIS_ALGORITHMS__EVENT_DECORATOR_ALG_H
10
16#include <map>
17#include <functional>
18
19namespace CP
20{
22
24 {
25 public:
26
29 StatusCode initialize () override;
30 StatusCode execute () override;
31
32
33
34 private:
35
38
40 CP::SysReadHandle<xAOD::EventInfo> m_eventInfoHandle {this, "eventInfo", "EventInfo", "the input EventInfo object"};
41
43 Gaudi::Property<std::map<std::string, uint32_t>> m_uint32Decorations {this, "uint32Decorations", {}, "the uint32_t decorations to add"};
44
46 std::vector<std::function<void(const xAOD::EventInfo&)>> m_decFunctions {};
47 };
48}
49
50#endif
an algorithm for decorating EventInfo
StatusCode initialize() override
CP::SysReadHandle< xAOD::EventInfo > m_eventInfoHandle
the name of the event info object
StatusCode execute() override
std::vector< std::function< void(const xAOD::EventInfo &)> > m_decFunctions
the functions to add decorations
Gaudi::Property< std::map< std::string, uint32_t > > m_uint32Decorations
the uint32_t decorations to add
SysListHandle m_systematicsList
the systematics list we run
a class managing the property to configure the list of systematics to process
a data handle for reading systematics varied input data
the (new) base class for EventLoop algorithms
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Select isolated Photons, Electrons and Muons.
EventInfo_v1 EventInfo
Definition of the latest event info version.