ATLAS Offline Software
Loading...
Searching...
No Matches
AsgUnionSelectionAlg.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#ifndef ASG_ANALYSIS_ALGORITHMS__UNION_SELECTION_ALG_H
8#define ASG_ANALYSIS_ALGORITHMS__UNION_SELECTION_ALG_H
9
17
18
19namespace CP
20{
23
25 {
27 public:
29 virtual StatusCode initialize () override;
30 virtual StatusCode execute () override;
31
32
33
35 private:
37
39 private:
41 this, "particles", "", "the asg collection to run on"};
42
44 private:
46 this, "preselection", "", "the preselection to apply"};
47
49 private:
50 Gaudi::Property<std::string> m_selectionDecoration {this, "selectionDecoration", "", "the decoration for the union selection"};
51
53 private:
54 std::unique_ptr<ISelectionWriteAccessor> m_selectionAccessor;
55 };
56
57} // namespace CP
58
59#endif
an algorithm for selection an union of objects that pass at least one systematics
virtual StatusCode execute() override
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Gaudi::Property< std::string > m_selectionDecoration
the decoration of the selection
std::unique_ptr< ISelectionWriteAccessor > m_selectionAccessor
the accessor for m_selectionDecoration
SysListHandle m_systematicsList
the systematics list we run and have containers
virtual StatusCode initialize() override
SysReadHandle< xAOD::IParticleContainer > m_particlesHandle
the particle continer we run on
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
Select isolated Photons, Electrons and Muons.