ATLAS Offline Software
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 
19 namespace 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
PropertyWrapper.h
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition: SysListHandle.h:33
CP::AsgUnionSelectionAlg::m_selectionDecoration
Gaudi::Property< std::string > m_selectionDecoration
the decoration of the selection
Definition: AsgUnionSelectionAlg.h:50
CP::AsgUnionSelectionAlg::initialize
virtual StatusCode initialize() override
Definition: AsgUnionSelectionAlg.cxx:23
SysListHandle.h
CP::AsgUnionSelectionAlg::m_selectionAccessor
std::unique_ptr< ISelectionWriteAccessor > m_selectionAccessor
the accessor for m_selectionDecoration
Definition: AsgUnionSelectionAlg.h:54
CP::AsgUnionSelectionAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition: AsgUnionSelectionAlg.h:45
CP::SysReadHandle
a data handle for reading systematics varied input data
Definition: SysReadHandle.h:32
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
EL::AnaAlgorithm::AnaAlgorithm
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition: AnaAlgorithm.cxx:40
SysReadHandle.h
AnaAlgorithm.h
EL::AnaAlgorithm
the (new) base class for EventLoop algorithms
Definition: AnaAlgorithm.h:73
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
IParticleContainer.h
CP::AsgUnionSelectionAlg::execute
virtual StatusCode execute() override
Definition: AsgUnionSelectionAlg.cxx:43
SysReadSelectionHandle.h
CP::AsgUnionSelectionAlg::m_particlesHandle
SysReadHandle< xAOD::IParticleContainer > m_particlesHandle
the particle continer we run on
Definition: AsgUnionSelectionAlg.h:40
CP::AsgUnionSelectionAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run and have containers
Definition: AsgUnionSelectionAlg.h:36
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition: SysReadSelectionHandle.h:32
ISelectionWriteAccessor.h
CP::AsgUnionSelectionAlg
an algorithm for selection an union of objects that pass at least one systematics
Definition: AsgUnionSelectionAlg.h:25