ATLAS Offline Software
Loading...
Searching...
No Matches
CopyNominalSelectionAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7
8
9#ifndef ASG_ANALYSIS_ALGORITHMS__COPY_NOMINAL_SELECTION_ALG_H
10#define ASG_ANALYSIS_ALGORITHMS__COPY_NOMINAL_SELECTION_ALG_H
11
19
20namespace CP
21{
37
39 {
41 public:
43
44
45 public:
46 StatusCode initialize () override;
47
48 public:
49 StatusCode execute (const EventContext& ctx) override;
50
51
52
54 private:
56
58 private:
60 this, "particles", "", "the asg collection to run on"};
61
63 private:
65 this, "preselection", "", "the preselection to apply"};
66
68 private:
70 this, "selectionDecoration", "", "the decoration for the asg selection"};
71
73 private:
74 std::unique_ptr<ISelectionReadAccessor> m_readAccessor;
75 };
76}
77
78#endif
an algorithm that copies the nominal selections over to all other object systematics
SysReadSelectionHandle m_preselection
the preselection we apply to our input
SysWriteSelectionHandle m_selectionHandle
the decoration for the asg selection
SysReadHandle< xAOD::IParticleContainer > m_particlesHandle
the particle continer we run on
std::unique_ptr< ISelectionReadAccessor > m_readAccessor
the accessor we use
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
a data handle for reading systematically varied selection properties from objects
a data handle for writing 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.