ATLAS Offline Software
Loading...
Searching...
No Matches
AsgSelectionAlg.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
9#ifndef ASG_ANALYSIS_ALGORITHMS__ASG_SELECTION_ALG_H
10#define ASG_ANALYSIS_ALGORITHMS__ASG_SELECTION_ALG_H
11
20
21namespace CP
22{
43
44 class AsgSelectionAlg final : public EL::AnaAlgorithm
45 {
47 public:
49 StatusCode initialize () override;
50 StatusCode execute () override;
51
52
53
55 private:
56 ToolHandle<IAsgSelectionTool> m_selectionTool {this, "selectionTool", "", "the selection tool we apply"};
57
63 private:
65
67 private:
69
71 private:
73 this, "particles", "", "the asg collection to run on"};
74
76 private:
78 this, "preselection", "", "the preselection to apply"};
79
81 private:
83 this, "selectionDecoration", "", "the decoration for the asg selection"};
84
86 private:
87 ServiceHandle<ISelectionNameSvc> m_nameSvc {"SelectionNameSvc", "AsgSelectionAlg"};
88
90 private:
92 };
93}
94
95#endif
an algorithm for calling IAsgSelectionTool
SelectionType m_setOnFail
the bits to set for an object failing the preselection
SysReadHandle< xAOD::IParticleContainer > m_particlesHandle
the particle continer we run on
SysListHandle m_systematicsList
the systematics list we run
StatusCode execute() override
SysWriteSelectionHandle m_selectionHandle
the decoration for the asg selection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
ISystematicsTool * m_systematicsTool
the smearing tool cast to an ISystematicsTool
StatusCode initialize() override
ServiceHandle< ISelectionNameSvc > m_nameSvc
the ISelectionNameSvc
ToolHandle< IAsgSelectionTool > m_selectionTool
the smearing tool
Interface for all CP tools supporting systematic variations.
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
Select isolated Photons, Electrons and Muons.
uint32_t SelectionType
the type for selection decorations that are meant to hold a asg::AcceptData