ATLAS Offline Software
Loading...
Searching...
No Matches
AsgUnionPreselectionAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7#ifndef ASG_ANALYSIS_ALGORITHMS__UNION_PRE_SELECTION_ALG_H
8#define ASG_ANALYSIS_ALGORITHMS__UNION_PRE_SELECTION_ALG_H
9
17#include <optional>
18
19
20namespace CP
21{
39
41 {
43 public:
45 virtual StatusCode initialize () override;
46 virtual StatusCode execute (const EventContext& ctx) override;
47
48
49
51 private:
53
55 private:
57 this, "particles", "", "the asg collection to run on"};
58
60 private:
62 this, "preselection", "", "the preselection to apply"};
63
65 private:
66 Gaudi::Property<std::string> m_selectionDecoration {this, "selectionDecoration", "", "the decoration for the union selection"};
67
69 private:
70 std::optional<SG::Decorator<char>> m_decorator;
71 };
72
73} // namespace CP
74
75#endif
Base class for elements of a container that can have aux data.
an algorithm for turning a systematics depending selection decoration into a selection decoration wit...
std::optional< SG::Decorator< char > > m_decorator
the accessor for m_selectionDecoration
Gaudi::Property< std::string > m_selectionDecoration
the decoration of the selection
SysReadHandle< xAOD::IParticleContainer > m_particlesHandle
the particle continer we run on
SysListHandle m_systematicsList
the systematics list we run and have containers
SysReadSelectionHandle m_preselection
the preselection we apply to our input
virtual StatusCode initialize() override
a class managing the property to configure the list of systematics to process
a data handle for reading systematics varied input data
a data handle for reading systematically varied selection properties from objects
the (new) base class for EventLoop algorithms
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
virtual::StatusCode execute()
execute this algorithm
Select isolated Photons, Electrons and Muons.