ATLAS Offline Software
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 
20 
21 namespace CP
22 {
38 
40  {
42  public:
43  CopyNominalSelectionAlg (const std::string& name, ISvcLocator* pSvcLocator);
44 
45 
46  public:
47  StatusCode initialize () override;
48 
49  public:
50  StatusCode execute () override;
51 
52 
53 
55  private:
57 
59  private:
61  this, "particles", "", "the asg collection to run on"};
62 
64  private:
66  this, "preselection", "", "the preselection to apply"};
67 
69  private:
71  this, "selectionDecoration", "", "the decoration for the asg selection"};
72 
74  private:
75  std::unique_ptr<ISelectionReadAccessor> m_readAccessor;
76  };
77 }
78 
79 #endif
CP::CopyNominalSelectionAlg::execute
StatusCode execute() override
Definition: CopyNominalSelectionAlg.cxx:48
CP::SysListHandle
a class managing the property to configure the list of systematics to process
Definition: SysListHandle.h:33
CP::CopyNominalSelectionAlg::m_systematicsList
SysListHandle m_systematicsList
the systematics list we run
Definition: CopyNominalSelectionAlg.h:56
CP::CopyNominalSelectionAlg::CopyNominalSelectionAlg
CopyNominalSelectionAlg(const std::string &name, ISvcLocator *pSvcLocator)
the standard constructor
Definition: CopyNominalSelectionAlg.cxx:24
SysListHandle.h
SysWriteSelectionHandle.h
CP::SysReadHandle
a data handle for reading systematics varied input data
Definition: SysReadHandle.h:32
IAsgSelectionTool.h
CP::CopyNominalSelectionAlg::initialize
StatusCode initialize() override
Definition: CopyNominalSelectionAlg.cxx:32
CP
Select isolated Photons, Electrons and Muons.
Definition: Control/xAODRootAccess/xAODRootAccess/TEvent.h:48
CP::CopyNominalSelectionAlg::m_readAccessor
std::unique_ptr< ISelectionReadAccessor > m_readAccessor
the accessor we use
Definition: CopyNominalSelectionAlg.h:75
SysReadHandle.h
CP::CopyNominalSelectionAlg::m_selectionHandle
SysWriteSelectionHandle m_selectionHandle
the decoration for the asg selection
Definition: CopyNominalSelectionAlg.h:70
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
ISelectionNameSvc.h
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
SysReadSelectionHandle.h
CP::CopyNominalSelectionAlg
an algorithm that copies the nominal selections over to all other object systematics
Definition: CopyNominalSelectionAlg.h:40
CP::SysReadSelectionHandle
a data handle for reading systematically varied selection properties from objects
Definition: SysReadSelectionHandle.h:32
CP::CopyNominalSelectionAlg::m_particlesHandle
SysReadHandle< xAOD::IParticleContainer > m_particlesHandle
the particle continer we run on
Definition: CopyNominalSelectionAlg.h:60
CP::CopyNominalSelectionAlg::m_preselection
SysReadSelectionHandle m_preselection
the preselection we apply to our input
Definition: CopyNominalSelectionAlg.h:65
CP::SysWriteSelectionHandle
a data handle for writing systematically varied selection properties from objects
Definition: SysWriteSelectionHandle.h:32